[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 ...
[android][tools] fix android versioning (#20889)# Why fix android versioning after react-native 0.71 upgrade # How mostly fixing transforms # Test Plan 1. `et add-sdk -p android -s 4
[android][tools] fix android versioning (#20889)# Why fix android versioning after react-native 0.71 upgrade # How mostly fixing transforms # Test Plan 1. `et add-sdk -p android -s 48.0.0` 2. `cd android ; ./gradlew :app:assembleVersionedDebug` 3. versioned android expo go + sdk 48 ncl smoke test
[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 ```
[gl] merge `expo-gl-cpp` into `expo-gl` (#18875)
[gl][ios] enable expo-gl-cpp versioning on iOS (#18783)* rename files and types to work with a versioning process * enable expo-gl versioning * pod install * [skip ci] update android trans
[gl][ios] enable expo-gl-cpp versioning on iOS (#18783)* rename files and types to work with a versioning process * enable expo-gl versioning * pod install * [skip ci] update android transform patch * bare expo pod install
[android] Add sdk46 versioned code (#18235)# Why for sdk 46 # How - fix expo-modules-core versioning patch that react-native java class should also be versioned. - fix skia versioning tha
[android] Add sdk46 versioned code (#18235)# Why for sdk 46 # How - fix expo-modules-core versioning patch that react-native java class should also be versioned. - fix skia versioning that the `versioned-react-native` is not committed into git. use a fallback instead. - `et add-sdk -p android -s 46.0.0` # Test Plan android versioned expo go + sdk46 NCL
[tools] fix android versioning (#18227)# Why fix for sdk46 android versioning # How - fix that settings.gradle content be overwrote from my change of vendoring skia - update expo-modules-
[tools] fix android versioning (#18227)# Why fix for sdk46 android versioning # How - fix that settings.gradle content be overwrote from my change of vendoring skia - update expo-modules-core patch - fix vendor modules versioning for @shopify/flash-list # Test Plan 1. `et add-sdk -p android -s 46.0.0` 2. versioned android expo go + sdk46 ncl launch test
[versioning][android] Support react-native 69 (#18032)* [skip ci] suppoort rn69 * version expo-modules-core * review feedback + small cleanup
[tools][android] versioning expo-gl-cpp (#17093)# Why for sdk 45 to version expo-gl-cpp # How - remove expo-gl-cpp from unversionable package list - [tools] fine tune versionCxx script to
[tools][android] versioning expo-gl-cpp (#17093)# Why for sdk 45 to version expo-gl-cpp # How - remove expo-gl-cpp from unversionable package list - [tools] fine tune versionCxx script to run cxx expo-modules in sequence. that's not ideally when we run multiple gradle process in parallel - [tools] add `SoLoader.loadLibrary()` versioning - [tools] add `{VERSIONED_ABI_NAME_JNI_ESCAPED}` macro for patch file to support java symbol -> cpp symbol mapping. e.g. when the java method is `abi45_0_0.expo.modules.gl.cpp.EXGL.EXGLContextCreate`, the corresponding cpp function name would be `Java_abi45_10_10_expo_modules_gl_cpp_EXGL_EXGLContextCreate` - add versioning patch for expo-gl-cpp # Test Plan `et add-sdk -p android -s 45.0.0` + versioned android expo go + sdk45 NCL GL test case Co-authored-by: Tomasz Sapeta <[email protected]>
[tools][android] versioning expo-av for the cxx shared library (#16959)# Why expo-av added a cxx shared library for the JSI audio and our versioning tool doesn't support expo modules with cxx be
[tools][android] versioning expo-av for the cxx shared library (#16959)# Why expo-av added a cxx shared library for the JSI audio and our versioning tool doesn't support expo modules with cxx before. # How this pr added a patch-based versioning script. the solution is not generic because so far every expo-module cxx building may be slightly different. every cxx expo-module should add a corresponding patch file for prebuilding shared libraries. # Test Plan `et add-sdk -p android -s 45.0.0` + `versioned android expo go` + sdk 45 NCL Co-authored-by: Bartłomiej Bukowski <[email protected]>