Upgrade react-native 0.72.0-rc.5 (#22588)# Why upgrade react-native 0.72 for sdk 49 close ENG-8011 # How - bump package versions - `react-native 0.71.3 -> 0.72.0-rc.5` - `metro-reac
Upgrade react-native 0.72.0-rc.5 (#22588)# Why upgrade react-native 0.72 for sdk 49 close ENG-8011 # How - bump package versions - `react-native 0.71.3 -> 0.72.0-rc.5` - `metro-react-native-babel-preset 0.73.9 -> 0.76.5` - [bare-expo][templates][fabric-tester] migrate template base on [upgrade-helper](https://react-native-community.github.io/upgrade-helper/?from=0.71.7&to=0.72.0-rc.5) - [expo-template-tabs] remove the metro version overrides for expo-router. - [core][dev-laucher][dev-menu][media-library][screen-orientation][splash-screen][updates-interface][updates] add the `install_modules_dependencies` to support new architecture + use_frameworks! - [core][autolinking] fix some new architecture error on ios - [react-native-lab] update our fork to 0.72.0-rc.5 based - [go][tools] fix **react-native-lab/react-native/packages/react-native** path move because of react-native's repo monorepo changes - [go][android] fix gradle 8 errors - [go][ios] add `RCT_REMOTE_PROFILE=0` to fix the `RCT_ENABLE_INSPECTOR needs to be set to fulfill RCT_REMOTE_PROFILE` build error - [ncl] remove `ProgressViewIOS` / `ProgressBarAndroid` since they are deprecated/removed in 0.72 - [dev-menu][dev-launcher] rebuild bundles # Note - react-native-web is not bumped because of the [issue](https://github.com/necolas/react-native-web/issues/2523), so it's still react-native-web@~0.18.10. - currently disable ci typecheck for @expo/cli because of upstream metro typescript support. i'll have another pr to fix those errors. - updates e2e ci on android is broken at [here](https://github.com/expo/expo/blob/fada3d764957779fbfc3d7b723d185db1d933d95/packages/expo-updates/e2e/fixtures/Updates.e2e.ts#L518). i doubt if that's related to the react scheduler change. i'd disabled the failed test case. - the react-native upstream [migrated away the `@types/jest`](https://github.com/facebook/react-native/pull/36068). i was afraid that will be a breaking change to the existing jest test code since it requires the explicit `@jest/globals` import. i didn't do this in this upgrade. # Test Plan - ✅ fabric-tester (without expo-dev-client) - ✅ ci passed. there are some errors which are known: - updates e2e on android: as mentioned above - ios expo go on eas build: versioned expo go are broken on eas build m1 worker. this is also happening on main. - android client: no space left on the ubuntu worker. this is also happening on main. - ✅ bare-expo - ✅ unversioned expo go + ncl --------- Co-authored-by: Tomasz Sapeta <[email protected]>
show more ...
Upgrade react-native 0.70 (#19261)# Why update react-native to 0.70 for sdk 47 # How - update package versions - `react` 18.0.0 -> 18.1.0 - `react-native` 0.69.5 -> 0.70.1 - `reac
Upgrade react-native 0.70 (#19261)# Why update react-native to 0.70 for sdk 47 # How - update package versions - `react` 18.0.0 -> 18.1.0 - `react-native` 0.69.5 -> 0.70.1 - `react-native-web` ~0.18.7 -> ~0.18.9 - `react-test-renderer` 18.0.0 -> 18.1.0 - `metro-react-native-babel-preset` ~0.70.3 -> ~0.72.1 - `react-native-reanimated` 2.9.1 -> 2.10.0 (because 2.9 doesn't support react-native 0.70) - [NCL] remove unused react-native-redash - [NCL] `@react-navigation/native` ~5.8.9 -> ~5.9.8 (fixed the deprecated Linking.removeEventListener) - migrate templates based on [rn-upgrade helper](https://react-native-community.github.io/upgrade-helper/?from=0.69.5&to=0.70.1). one exception is that we still use jsc by default in sdk 47. - expo-template-bare-minimum - bare-expo - bare-sandbox - fabric-tester - native-tests - android (expo go) - ios (expo go) - update our react-native fork to 0.70 based - [android] use ReactAndroid directly from _react-native-lab/react-native/ReactAndroid_ without copying a lot of files to expo/expo to increase the repo size. close ENG-4562. i will remove _android/ReactAndroid_ and _android/ReactCommon_ in a separate commit. - toward this, i also change the prebuiltHermes support in this pr. the target react-native hermes version is in `react-native-lab/react-native/sdks/.hermesversion` and the cached hermes is now in `android/prebuiltHermes/.hermesversion`. - [tools] update-rn: support running transformer directly in _react-native-lab/react-native_ - [ios] backport folly version to previous versioned code - [0.70 breaking change] fix skia build error for `jsi::detail::throwJSError`. use `throw jsi::JSError` instead as upstream latest code. - [0.70 breaking change][updates] `NativeModuleCallExceptionHandler -> JSExceptionHandler`. change from https://github.com/facebook/react-native/commit/b6f7689d701d0409c23ab364356aeb95710c20fa # Test Plan - ✅ android expo go + unversioned NCL - ✅ ios expo go + unversioned NCL - ✅ android bare-expo - ✅ ios bare-expo - ✅ android fabric-tester - ✅ ios fabric-tester - ✅ ci passed - android client - eas build is broken on main. #19270 may address the issue. - updates e2e is broken on main. the root cause should come from #18653 when proguard is enabled, the app will crash. will follow up in separated pr. Co-authored-by: Tomasz Sapeta <[email protected]>
[android][ios] Upgrade to react-native 0.68 (#16532)# Why targeting react-native 0.68 in sdk 45 even though it's rc now. # How - [x] upgrade package.json - [x] migrate bare-expo - [x] mi
[android][ios] Upgrade to react-native 0.68 (#16532)# Why targeting react-native 0.68 in sdk 45 even though it's rc now. # How - [x] upgrade package.json - [x] migrate bare-expo - [x] migrate expo-template-bare-minimum - [x] migrate bare-sandbox ❗️ reanimated build error because our previous integration is broken on AGP 7. solution in [the pr](https://github.com/software-mansion/react-native-reanimated/pull/3113). since the pr is not landed yet, i have a [temporarily workaround to patch reanimated](https://github.com/expo/expo/pull/16532/commits/8e5662bec377ea11edc21ec6114c39f6580cb56a). # Test Plan - android bare-expo launch test - ios bare-expo launch test
Upgrade to react-native 0.67 (#16038)# Why try to bump react-native version for sdk 45 # How - [x] upgrade package.json version to `[email protected]` - [x] apply changes from [upgrade
Upgrade to react-native 0.67 (#16038)# Why try to bump react-native version for sdk 45 # How - [x] upgrade package.json version to `[email protected]` - [x] apply changes from [upgrade helper](https://react-native-community.github.io/upgrade-helper/?from=0.66.4&to=0.67.2) - [x] since 0.67 upgrade to gradle 7 and remove `maven` plugin. ~this pr also migrate packages to use `maven-publish` plugin~ landed in separated pr https://github.com/expo/expo/pull/16080 - [x] [bare-expo][android] maven plugin from third-party: `react-native-appearance`. ~consider it's archived and deprecated, how to deal with this.~ since we are going to drop sdk 42, i've removed this dependency. - [x] [bare-expo][android] maven plugin from third-party: `react-native-shared-element`. https://github.com/IjzerenHein/react-native-shared-element/pull/90 - [x] [dev-launcher][android] having a `DevLauncherDevSupportManager.kt` for 0.67 and passing null to the new `SurfaceDelegateFactory`. simply to fix the build error first. - [x] [dev-menu][android] it will crash from missing libjsc.so in hermes mode. ~workaround to use jsc mode first~. fix pr: https://github.com/expo/expo/pull/16099 # Test Plan - bare-expo launch
[android] Update Gradle to 6.9 (#13929)
[Android] Switch to Android SDK 30 & update gradle (#11647)# Why We want to switch to Android SDK 30. # How - [x] I've bumped `targetSdkVersion` to `30` - [x] I've bumped `compileSdkVersi
[Android] Switch to Android SDK 30 & update gradle (#11647)# Why We want to switch to Android SDK 30. # How - [x] I've bumped `targetSdkVersion` to `30` - [x] I've bumped `compileSdkVersion` to `30` - [x] I've fixed nullability issues coming from # Test Plan - [x] compiled & run Expo Go on Android SDK 30 simulator - [x] compiled & run `bare-expo` on Android SDK 30 simulator - [x] launched `ncl` in Expo Go and played for a while # CHANGES - [Android] Update gradle to 6.8 & gradlePlugin to 4.1.1 - [Android] Bump targerSdkVersion and compileSdkVersion to 30 - [Android] Bump kotlin plugin version to 1.4.21 - [Android] Fix & unify ANDROID_NDK_HOME path detection - [react-native][Android][submodule update] Rename ANDROID_NDK to ANDROID_NDK_HOME
[android] Upgrade Gradle to 6.6.1 (#10058)# Why Gradle 6.6.1 enables us to substitute `com.facebook.react:react-native:+` with `:ReactAndroid` project in all subprojects. This is required since
[android] Upgrade Gradle to 6.6.1 (#10058)# Why Gradle 6.6.1 enables us to substitute `com.facebook.react:react-native:+` with `:ReactAndroid` project in all subprojects. This is required since we want to fix the problem where projects wrongly use prebuilt `react-native` AAR while compiling. Upgraded in `bare-expo` too because why not. # How Ran `./gradlew wrapper --gradle-version 6.6.1` in `android` and `bare-expo/android`. # Test Plan Project syncs and compiles properly.
[react-native] Upgrade to 0.63.2 (#9162)* Use react-native/sdk-39 branch * Use [email protected], [email protected], [email protected] * Updated podfiles * bare-expo pod install * Remove
[react-native] Upgrade to 0.63.2 (#9162)* Use react-native/sdk-39 branch * Use [email protected], [email protected], [email protected] * Updated podfiles * bare-expo pod install * Remove unused template properties from bare-expo android * [WIP] Folly * exponent pod install * [android] Cast ids to int in transformer * [WIP] upgrade android * et update-react-native * [ios] Add upstream AsyncStorage module to bare project - Same as RNTester does in https://github.com/expo/react-native/commit/bd1396034319e6e59f960fac7aeca1f483c2052d - This fixes the error: `Error: Requiring module "../../react-native-lab/react-native/Libraries/Storage/AsyncStorage.js", which threw an exception: TypeError: null is not an object (evaluating 'RCTAsyncStorage.multiMerge')` * [android] Fix Linking and AsyncStorage client bug * Upgrade react-native-web * Upgrade react-native * et update-react-native * pod install * pod-install client * Update yarn.lock * pod install * Try folly fix proposed in https://github.com/facebook/react-native/issues/28298 * [ReactAndroid] Use folly patch https://github.com/facebook/react-native/issues/28298 * pod-install * pod install
[android] Upgrade Gradle stuff (#8557)# Why [Android Studio 4 got released](https://android-developers.googleblog.com/2020/05/android-studio-4.html)! I decided it's good time to upgrade AS and a
[android] Upgrade Gradle stuff (#8557)# Why [Android Studio 4 got released](https://android-developers.googleblog.com/2020/05/android-studio-4.html)! I decided it's good time to upgrade AS and also to click that "New version of Gradle Plugin is available" button. # How Upgraded Gradle and Android Gradle plugin in both `android` and `bare-expo/android`. Had to upgrade Butterknife too to get rid of [this problem](https://stackoverflow.com/a/60614971/1123156). Also had to add `.DEFAULT` attribute to `HomeActivity`'s `intent-filter`, otherwise AS decided to open… `.TvActivity` as the _default activity_. Reordering activities in `AndroidManifest.xml` did not fix the issue. Had to add specific version of NDK installation to GitHub CI workflow. # Test Plan Expo Client compiles, `bare-expo` compiles.
[react-native] Upgrade to 0.62.2 (#8310)# Why Let's have latest React Native in the upcoming SDK! # How See the story at https://www.notion.so/expo/React-Native-Upgrade-Diary-947bc0b506a94
[react-native] Upgrade to 0.62.2 (#8310)# Why Let's have latest React Native in the upcoming SDK! # How See the story at https://www.notion.so/expo/React-Native-Upgrade-Diary-947bc0b506a942189fd47ff6e53bf95b. # Test Plan Expo Client runs, versioned SDK38 also runs (after a couple of post-version fixes outlined in the aforementioned doc). `expo-cli` can't handle `client_log` events, but that's something we may want to figure out after merging this PR, I guess.
[sdk36][android] Update Gradle files for bare-expo, enable AndroidX (not yet working)This updates the Gradle files in bare-expo so that they are similar to Gradle files for RN 0.61 projects. The ap
[sdk36][android] Update Gradle files for bare-expo, enable AndroidX (not yet working)This updates the Gradle files in bare-expo so that they are similar to Gradle files for RN 0.61 projects. The app does not compile due to issue with dependencies like RNGH.It also adds```android.useAndroidX=trueandroid.enableJetifier=true```to gradle.properties to enable AndroidX.
Fixed native builds for bare-expo (#5475)
Add bare project (#5263)* Created bare project * renamed bare project * Fixed build errors * [WIP] Run Android * Fixed android bare workflow builds * Update App.tsx * Update build
Add bare project (#5263)* Created bare project * renamed bare project * Fixed build errors * [WIP] Run Android * Fixed android bare workflow builds * Update App.tsx * Update build.gradle * Update .babelrc * Update index.js * Removed android libs - expo-task-manager - unimodules-task-manager-interface - expo-background-fetch - expo-location - expo-facebook * Unified the module exclusion * Update metro.config.js * Update metro.config.js * Update packages/expo-app-auth/android/build.gradle Co-Authored-By: James Ide <[email protected]> * Update package.json * [WIP] Change android package * [WIP] Change android package structure * changed bundle ID to `dev.expo.payments` * remove all custom config