[android][tools] fix expo go versioning issues on android (#22950)# Why fix expo-go android versioning for sdk 49 close ENG-8955 # How - [tools] fix for react-native monorepo changes - [
[android][tools] fix expo go versioning issues on android (#22950)# Why fix expo-go android versioning for sdk 49 close ENG-8955 # How - [tools] fix for react-native monorepo changes - [tools] update manifest-merger because the original one doesn't support java 17. since the new manifest-merger has kotlin runtime and the jar takes about 35MB. rather than committing a prebuilt jar, now we build manifest-merger from source. - [tools] since #22609 we don't have `package` in libraries' AndroidManifest.xml, the manifest-merger still requires the `package`, so we have to temporarily put the `package` back during manifest merging. (the `package` name is generated from `namespace` in build.gradle) - [tools] the original jarjar uses outdated [ASM](https://asm.ow2.io/) and it doesn't support bytecode generated by kotlin. react-native now has some kotlin code, and the original jarjar cannot transform package name from those kotlin classes. i've tried to rebuild a jarjar from [this revision](https://github.com/google/jarjar/commit/e11d5636aa45664271c8f1603067527b2520f591). this requires some manual steps like updating ASM libs and install ant builder. so i still commit the prebuilt jarjar in this pr. - [updates] force casting for `UpdateEntity` to deal with kotlin smart casting from versioned to unversioned kernel class. (i'll leave inline comment for this) - [expo-modules-core's `android-annotation`] the project stays in a place that does not support versioning yet. in this pr i just keep it as an unversionable project. cc @lukmccall # Test Plan `et add-sdk -p android -s 49.0.0` + android versioned expo-go + sdk 49 NCL smoke test
show more ...
[tools] Update android versioning script for sdk 47 (#19518)# Why update android versioning script for sdk 47 # How - [android] update gradle wrapper version to 7.5.1, which aligned with r
[tools] Update android versioning script for sdk 47 (#19518)# Why update android versioning script for sdk 47 # How - [android] update gradle wrapper version to 7.5.1, which aligned with react-native 0.70 - [localization] fix compileSdkVersion 33 build error - [tools] update versioning script - remove `renameHermesEngine` which is deprecated patchelf based hermes versioning - replace duplicated runReactNativeCodegenAndroidAsync with `Codegen.runReactNativeCodegenAsync` - update versioning script to support building in-place from react-native-lab - update for react-native 0.70 - update versionCxx for expo-modules-core - support other new style vendoring modules - @react-native-community/slider - react-native-gesture-handler (with cxx files but they're only for new architecture) - react-native-screens (with cxx files but they're only for new architecture) - react-native-svg - react-native-reanimated (with cxx files) - remove old reanimated versioning scripts # Test Plan ``` $ et add-sdk -p android -s 47.0.0 $ cd android && ./gradlew :app:installVersionedDebug # smoke test on sdk 47 NCL ```
[android][ios] Upgrade expo go to react-native 0.68 (#16752)# Why upgrade for sdk 45 # How - upgrade our react-native fork to 0.68 based: https://github.com/expo/react-native/tree/sdk-45
[android][ios] Upgrade expo go to react-native 0.68 (#16752)# Why upgrade for sdk 45 # How - upgrade our react-native fork to 0.68 based: https://github.com/expo/react-native/tree/sdk-45 - migrate android/ios projects to 0.68 - [android] bump `targetSdkVersion` and `compileSdkVersion` to 31 (aligned with react-native 0.68) - [tools] update codegen customization in `update-rn` script - [tools] update versioning scripts - [android] replace our customized `NDK_ABI_FILTERS` with official supported `reactNativeArchitectures` gradle property - [android] use jdk 11 that is a huge pr because of changes from `et update-rn`. recommend to review this pr by commits. most `add-sdk` problems on 0.68 are fixed. there are still an issue on android. i'll address in another pr. - expo-av CMakeLists.txt versioning # Test Plan - unversoned android expo-go + ncl - unversoned ios expo-go + ncl - `et add-sdk -p ios -s 45.0.0` + versioned ios sdk 45 expo-go + ncl - `et add-sdk -p android -s 45.0.0` + versioned android sdk 45 expo-go + ncl (should commented out expo-av in `ExperiencePackagePicker.kt`
[android] Update Gradle to 6.9 (#13929)
[android] Upgrade gradle to 6.8 for versioned react native
[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
[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.
[android][versioned-react-native] upgrade gradle to 5.6.3 to match rest of repo
[sdk33] Add versioned SDK33 to Android (#4270)# Why A step of https://github.com/expo/expo/issues/4154. # How After fixing `tools`, `gulp android-add-rn-version --abi=33.0.0` # Test Pla
[sdk33] Add versioned SDK33 to Android (#4270)# Why A step of https://github.com/expo/expo/issues/4154. # How After fixing `tools`, `gulp android-add-rn-version --abi=33.0.0` # Test Plan - [x] The project compiles - [x] A sample SDK33 app runs # Commits * [android] Update versioned-react-native * [android] Enable Java 1.8 in expoview * [expokit] Update expokit-npm-package with SDK33 * [android] Upgrade Gradle wrapper in versioned-react-native * [android] Upgrade Gradle tool in versioned-react-native * [tools] Do not add another ADD_NEW_SDKS_HERE template string when versioning * [tools] Update XDL and change JNI libraries in whole versioned-RN project * [tools] Add support for Kotlin files when renaming packages * [tools] Add support for Java 1.8 using a patched version of JarJar Links React Native 0.59.8 added source and target compatibility to Java 1.8. It looks like JarJar Links 1.4 (https://code.google.com/archive/p/jarjar), which we use to rename versioned.host.exp. to abiXX_X_X.host.exp. doesn't support Java 1.8 JARs. (See https://code.google.com/archive/p/jarjar/issues/64 and https://code.google.com/archive/p/jarjar/issues/63). Fortunately, @mike-hogan patched JarJar Links --- updated ASM dependency from v4 to v5 so it supports new classes. I cloned the repository (https://github.com/m081072/jarjar-fork), built the JAR with `ant` and copied `dist/jarjar-1.4.1.jar` to `tools`. * [android] Remove react-native-unimodules reference when versioning * [android] Run gulp android-add-rn-version --abi=33.0.0 * [android] Some post-adding-new-version patches to the project * [tools] Fix add-stripe-activity script * [expokit] Update expokit-npm-package with SDK33
[android] Add SDK32 (#3003)# Why Step of https://github.com/expo/expo/issues/2969 # How Followed https://github.com/expo/universe/blob/master/internal-docs/monthly-release.md#android guide
[android] Add SDK32 (#3003)# Why Step of https://github.com/expo/expo/issues/2969 # How Followed https://github.com/expo/universe/blob/master/internal-docs/monthly-release.md#android guide. # Test Plan - [x] Expo Client runs - [x] Sandbox with `sdkVersion = 32.0.0` runs
[sdk31] Update versioned-react-native
Initial commitfbshipit-source-id: ddcb55df54d1382bb3f003f7e62f0bfc195fb9b7