Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix react-native nightly test #19805

Merged
merged 22 commits into from Nov 3, 2022
Merged

Fix react-native nightly test #19805

merged 22 commits into from Nov 3, 2022

Conversation

Kudo
Copy link
Contributor

@Kudo Kudo commented Nov 2, 2022

Why

Fix broken react-native nightly test

How

  • meta ships nightly build binaries on maven central now, we could just use the binaries than building from source. the ci job time reduces dramatically. previously it takes almost four hours, now it takes 51m for android and 60m for ios.
  • use env REACT_NATIVE_OVERRIDE_VERSION to override the version rather than hardcoded 9999.9999.9999 in packages.
  • expo-modules-core / expo-av / expo-gl - support to download snapshot react-native from maven central
  • fix some breaking changes from react-native nightly
    • expo-dev-launcher: RCTAsyncLocalStorage is removed
    • expo-modules-core: remove deprecated <hermes/hermes.h> import
    • expo-modules-core: RCTAppSetupDefaultRootView has new parameter
    • expo: com.facebook.react.uimanager.UIImplementationProvider is removed
  • bare-expo reactNativeNightly gradle property is unused now, just rename to buildReactNativeFromSource if someone want to use.
  • [tools] update SetupReactNativeNightly

Test Plan

  • test suite nightly ci passed
  • original test suite ci passed to make sure compatibility with sdk 47

Checklist

@expo-bot expo-bot added bot: suggestions ExpoBot has some suggestions bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Nov 2, 2022
@Kudo Kudo force-pushed the @kudo/react-native-nightly branch 2 times, most recently from ddc96fe to 9c7b5fc Compare November 3, 2022 07:24
@Kudo Kudo force-pushed the @kudo/react-native-nightly branch from 9c7b5fc to 293377c Compare November 3, 2022 13:07
@Kudo Kudo marked this pull request as ready for review November 3, 2022 17:35
@Kudo Kudo merged commit e68edf7 into main Nov 3, 2022
@Kudo Kudo deleted the @kudo/react-native-nightly branch November 3, 2022 18:14
Kudo added a commit that referenced this pull request Dec 21, 2022
Fix broken react-native nightly test

- meta ships nightly build binaries on maven central now, we could just use the binaries than building from source. the ci job time reduces dramatically. previously it takes almost four hours, now it takes 51m for android and 60m for ios.
- use env `REACT_NATIVE_OVERRIDE_VERSION` to override the version rather than hardcoded 9999.9999.9999 in packages.
- expo-modules-core / expo-av / expo-gl - support to download snapshot react-native from maven central
- fix some breaking changes from react-native nightly
  - expo-dev-launcher: `RCTAsyncLocalStorage` is removed
  - expo-modules-core: remove deprecated `<hermes/hermes.h>` import
  - expo-modules-core: `RCTAppSetupDefaultRootView` has new parameter
  - expo: `com.facebook.react.uimanager.UIImplementationProvider` is removed
- bare-expo `reactNativeNightly` gradle property is unused now, just rename to `buildReactNativeFromSource` if someone want to use.
- [tools] update SetupReactNativeNightly

- test suite nightly ci passed
- original test suite ci passed to make sure compatibility with sdk 47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: passed checks ExpoBot has nothing to complain about
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants