| #
71ea6032 |
| 22-Jun-2023 |
Kudo Chien <[email protected]> |
[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 ...
|
| #
f194f574 |
| 05-Jul-2022 |
Wojciech Kozyra <[email protected]> |
[versioning][android] Support react-native 69 (#18032)
* [skip ci] suppoort rn69
* version expo-modules-core
* review feedback + small cleanup
|
| #
d566f199 |
| 06-Apr-2022 |
Kudo Chien <[email protected]> |
[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`
show more ...
|
| #
370fa39d |
| 28-Feb-2022 |
Kudo Chien <[email protected]> |
[android][ios] Fix versioning for expo go after react-native 0.67.2 upgrade (#16401)
# Why
for sdk45 and based on #16400
# How
- [tools] Fix versioning tools for react-native 0.67.2 upgrade
[android][ios] Fix versioning for expo go after react-native 0.67.2 upgrade (#16401)
# Why
for sdk45 and based on #16400
# How
- [tools] Fix versioning tools for react-native 0.67.2 upgrade
- [expo-modules-core][ios] Fix missing `EX` prefix to some objective-c files for versioning support
- [autolinking] Apply our cocoapods fix for `React-Core` swift support to versioned code
- [expo-updates] fix an incompatible `ReactInstanceManager` in UpdatesPackage where UpdateController is unversioned but UpdatePackage is versioned.
- [expo-file-system] okhttp/okio code for new versioned code build successfully. this is done in #16446
# Test Plan
- `et add-sdk -p android -s 45.0.0` and build/launch sdk 45 expo go with sdk 45 ncl
- `et add-sdk -p ios -s 45.0.0` and build/launch sdk 45 expo go with sdk 45 ncl
show more ...
|
| #
4382092c |
| 17-Mar-2021 |
Cedric van Putten <[email protected]> |
[android] Add missing gradle plugin for versioned react native
|
| #
b488c655 |
| 27-Jan-2021 |
Bartłomiej Bukowski <[email protected]> |
[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
show more ...
|
| #
b82fbba2 |
| 04-Nov-2019 |
Bartłomiej Bukowski <[email protected]> |
[Android] Update gradle to 5.6.3 & butterknife to 10.2.0 (#6045)
|
| #
43fccedd |
| 24-Sep-2019 |
Stanisław Chmiela <[email protected]> |
[android][gradle] Upgrade Gradle and Android Studio (#5695)
# Why
Fixes https://github.com/expo/expo/issues/5654 and https://github.com/expo/expo/issues/4577.
# How
- upgraded Android Studi
[android][gradle] Upgrade Gradle and Android Studio (#5695)
# Why
Fixes https://github.com/expo/expo/issues/5654 and https://github.com/expo/expo/issues/4577.
# How
- upgraded Android Studio
- upgraded Gradle
- fixed `generateDynamicMacros` task
- fixed `react-native` problem on RN 0.60+ by adapting @brentvatne's solution to Expo client project
# Test Plan
Expo client compiled.
show more ...
|
| #
b3bd123f |
| 23-May-2019 |
Stanisław Chmiela <[email protected]> |
[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
show more ...
|
| #
d0c8b8d2 |
| 15-Nov-2018 |
Stanisław Chmiela <[email protected]> |
Upgrade com.android.tools.build:gradle to 3.2.1
|
| #
947eafed |
| 26-Oct-2018 |
Stanisław Chmiela <[email protected]> |
[sdk31] Update versioned-react-native
|
| #
af329065 |
| 17-Sep-2017 |
Jesse Ruder <[email protected]> |
Version 21
fbshipit-source-id: b48ff25
|
| #
1395a2ed |
| 17-Sep-2017 |
Jesse Ruder <[email protected]> |
Update gradle version
fbshipit-source-id: f7f881a
|
| #
4e50fcc2 |
| 20-Sep-2016 |
Jesse Ruder <[email protected]> |
Revert "[Android] Update to Gradle 2.14.1 and Android Tools Gradle plugin 2.2.0"
This reverts commit 38a811a007e9e34e5c5e3abd273e6a6b65920f42.
fbshipit-source-id: ebed1ed
|
| #
dcbb759f |
| 20-Sep-2016 |
James Ide <[email protected]> |
Update to Gradle 2.14.1 and Android Tools Gradle plugin 2.2.0
Tested by uninstalling the app from my phone and running run.sh successfully.
fbshipit-source-id: 38a811a
|
| #
2a38a11e |
| 16-Aug-2016 |
Exponent GitHub Bot <[email protected]> |
Initial commit
fbshipit-source-id: ddcb55df54d1382bb3f003f7e62f0bfc195fb9b7
|