chore(linking)!: update linking module (#24300)# Why - Remove deprecated `makeUrl` function. - Add web-specific version of parsing to reduce bundle size on web. - Fix bug on web where parsing
chore(linking)!: update linking module (#24300)# Why - Remove deprecated `makeUrl` function. - Add web-specific version of parsing to reduce bundle size on web. - Fix bug on web where parsing a URL with a `+` in the pathname is curtailed. <!-- Please describe the motivation for this PR, and link to relevant GitHub issues, forums posts, or feature requests. --> # How <!-- How did you build this feature or fix this bug and why? --> # Test Plan - Extensive tests should continue passing. <!-- Please describe how you tested this change and how a reviewer could reproduce your test, especially if this PR does not include automated tests! If possible, please also provide terminal output and/or screenshots demonstrating your test/reproduction. --> # Checklist <!-- Please check the appropriate items below if they apply to your diff. This is required for changes to Expo modules. --> - [ ] Documentation is up to date to reflect these changes (eg: https://docs.expo.dev and README.md). - [ ] Conforms with the [Documentation Writing Style Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md) - [ ] This diff will work correctly for `npx expo prebuild` & EAS Build (eg: updated a module plugin). --------- Co-authored-by: Expo Bot <[email protected]>
show more ...
chore(cli, docs): update typed routes (#22848)# Why I keep getting DMs about this feature being confusing so I'm doing a pass to try and bring it to parity with the rest of our offering. <!-
chore(cli, docs): update typed routes (#22848)# Why I keep getting DMs about this feature being confusing so I'm doing a pass to try and bring it to parity with the rest of our offering. <!-- Please describe the motivation for this PR, and link to relevant GitHub issues, forums posts, or feature requests. --> # How - Update the experimental docs to not be a general "TypeScript" guide but rather, be focused on the "Typed Routes" feature. - Use the new `experiments.typedRoutes` flag and not an environment variable. https://github.com/expo/universe/pull/12590 - Drop flag misinfo in the Expo CLI docs "This includes support for the network inspector." - Add a slightly more e2e test for the side-effects. - Document how to actually turn the feature on. --------- Co-authored-by: Aman Mittal <[email protected]> Co-authored-by: Expo Bot <[email protected]>
[cli][packages] unify the default dev server port to 8081 (#22880)# Why for historical reasons, when running `npx expo start` the dev-server listens to port 19000, and running `npx expo start --
[cli][packages] unify the default dev server port to 8081 (#22880)# Why for historical reasons, when running `npx expo start` the dev-server listens to port 19000, and running `npx expo start --dev-client` it listens to port 8081. since we are now on our effort to deprecate `--dev-client` option, it is better to unify the listening port. close ENG-8936 # How - update packages/**/*.ts for port 19000 -> 8081 - search more occurrences for 19000 to 8081 # Test Plan - ci passed - bare-expo - unversioned expo go + ncl
[2/3] upgrade react native 0.71 (#20832)# Why follow up #20799 for react-native 0.71 upgrade. this pr aims for jest upgrade and fix all broken tests. close ENG-7192 # How - upgrade packag
[2/3] upgrade react native 0.71 (#20832)# Why follow up #20799 for react-native 0.71 upgrade. this pr aims for jest upgrade and fix all broken tests. close ENG-7192 # How - upgrade packages - `jest: ^26.0.24 -> ^29.2.1` - `jest-watch-typeahead: 0.6.4 -> 2.2.1` - `@types/jest: ^26.0.24 -> ^29.2.1` - `babel-jest: ^26.6.3 -> ^29.2.1` - `@jest/create-cache-key-function: ^27.0.1 -> ^29.2.1` - `@babel/preset-env: ^7.12.9 -> ^7.14.0` - `eslint: ^8.20.0 -> ^8.29.0` - add `jest-environment-jsdom` because new jest does not include it by default - [core] fix `SyntheticPlatformEmitter` type error. originally it refers to `react-native/Libraries/EventEmitter/RCTDeviceEventEmitter` internal file which has incorrect type setup in 0.71. we could use the `react-native.DeviceEventEmitter` instead. - [expo-linking]: remove the deprecated `Linking.removeEventListener` (which is also removed from upstream) - [firebase-recaptcha] remove broken web test because firebase ESM which is not supported by jest. this pr simply remove the test case because the package is deprecated. - [jest-expo-enzyme] remove this package and move to [the archived repo](https://github.com/expo/jest-expo-enzyme). enzyme cannot upgrade to jest 29. - remove `@types/react-native` and the versioned cli package check. because 0.71 ships the types directly. - [ncl] workaround `@react-native-community/slider`, `@react-native-segmented-control/segmented-control`, and `@react-native-masked-view/masked-view` type errors in the `react-native-71-fix.d.ts`. - for other details, please check the commit histories one by one. # Test Plan - ci passed - for test-suite ios ci error, i've mentioned in #20799
[linking] isExpoHosted was returning false when running EAS updates in Expo Go (#19258)
fix(expo-linking): return a subscription-like object from `addEventListener` on web (#17925)
[eslint-config] remove `arrowParens` overwrite, reformat files (#14232)
[linking] Replace full manifest overwrite with mocks (#13987)
[expo-constants] Add new manifest2 field and make existing field optional (#12817)
[linking] Fix TS issues with scheme being an array of strings
Make createURL use double slash by default (#11702)* Make createURL use double slash by default * updated docs * Update CHANGELOG.md
Added bare-workflow support to Linking API (#11560)* Added bare-workflow support to Linking API * Update docs * Update CHANGELOG.md * added makeUrl back * PR feedback * added constan
Added bare-workflow support to Linking API (#11560)* Added bare-workflow support to Linking API * Update docs * Update CHANGELOG.md * added makeUrl back * PR feedback * added constants script * improve error handling * shorten link
[expo-linking] use Constants.executionEnvironment to determine bare/managed environment (#10993)
[expo-linking] Linking.makeUrl should return empty string and warn in bare (#8230)* Warn when using Linking.makeUrl in bare * Add tests for bare linking behaviour
Create expo-linking (#7934)* Created expo-linking package * Move tests * Deprecate expo Linking * Updated config * updated build * Updated linking * Updated linking tests * Upd
Create expo-linking (#7934)* Created expo-linking package * Move tests * Deprecate expo Linking * Updated config * updated build * Updated linking * Updated linking tests * Updated build files * Updated docs * Fix expo build files * Update Expo-test.native.ts * reexport Linking from expo * Updated linking API to match Expo standard library * Update linking.md * Update linking.md * Remove unused bare case * Fix build files * Added jest mocks * Updated linking binding and demo * fix build files * Just use Linking