| #
0e8f799b |
| 20-Jun-2023 |
Kudo Chien <[email protected]> |
[templates][config-plugins][dev-server] aligned hermesEnabled property (#21067)
# Why
react-native 0.71 introduces `hermesEnabled` gradle property which is conflict with the original `expo.jsEngi
[templates][config-plugins][dev-server] aligned hermesEnabled property (#21067)
# Why
react-native 0.71 introduces `hermesEnabled` gradle property which is conflict with the original `expo.jsEngine` in gradle.properties. this pr tries to align the `hermesEnabled` as upstream.
close ENG-7228
# How
deprecate `expo.jsEngine` in **gradle.properties** and use `hermesEnabled` instead.
# Test Plan
ci passed
show more ...
|
| #
7603b8a1 |
| 16-Jun-2023 |
Kudo Chien <[email protected]> |
chore: update [email protected] (#22898)
# Why
0.72.0-rc.6 coming with some meaningful fixes, let bump this version for sdk 49 development & testing.
# How
- update [email protected]
chore: update [email protected] (#22898)
# Why
0.72.0-rc.6 coming with some meaningful fixes, let bump this version for sdk 49 development & testing.
# How
- update [email protected]
- [react-native-lab] cherry-picks commits between rc.5..rc.6
- [templates][go][bare-expo][fabric-tester] apply workaround for gradle 8 + java 17 build error
- [go] update to gradle 8 (i missed this one when updating 0.72)
# Test Plan
ci passed
show more ...
|
| #
acd96eb4 |
| 08-Feb-2023 |
Kudo Chien <[email protected]> |
[android] fix expo go build errors (#21117)
# Why
fix expo go build error where kotlin 1.8 is incompatible with 1.6:
https://github.com/expo/expo/actions/runs/4120016867/jobs/7114321156
# How
[android] fix expo go build errors (#21117)
# Why
fix expo go build error where kotlin 1.8 is incompatible with 1.6:
https://github.com/expo/expo/actions/runs/4120016867/jobs/7114321156
# How
- the underlying module of stripe 0.23.1 ships kotlin 1.8 which is
prebuilt as aar/jar on maven central. we have no way to downgrade its
kotlin version but only to upgrade kotlin in whole android expo go.
- stripe 0.23.1 has a build error error and fixed at
https://github.com/stripe/stripe-react-native/pull/1289. upgrade the
vendoring module to 0.23.3.
# Test Plan
versioned android expo go + ncl launch test
# Checklist
- [x] Documentation is up to date to reflect these changes (eg:
https://docs.expo.dev and README.md).
- [x] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
- [x] This diff will work correctly for `expo prebuild` & EAS Build (eg:
updated a module plugin).
show more ...
|
| #
5ff37293 |
| 01-Feb-2023 |
Kudo Chien <[email protected]> |
[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
show more ...
|
| #
84f418d7 |
| 17-Jan-2023 |
Kudo Chien <[email protected]> |
[1/3] upgrade react-native 0.71 (#20799)
# Why
upgrade react-native 0.71 for sdk 48
close ENG-7192
# How
- update package versions
- `react: 18.1.0 -> 18.2.0`
- `react-native 0.70.5
[1/3] upgrade react-native 0.71 (#20799)
# Why
upgrade react-native 0.71 for sdk 48
close ENG-7192
# How
- update package versions
- `react: 18.1.0 -> 18.2.0`
- `react-native 0.70.5 -> 0.71.0`
- `react-dom: 18.1.0 -> 18.2.0`
- `react-test-renderer: 18.1.0 -> 18.2.0`
- `react-native-web: 0.18.9 -> 0.18.10`
- `babel-plugin-react-native-web: 0.18.9 -> 0.18.10`
- `metro-react-native-babel-preset: 0.72.3 -> 0.73.5`
- upgrade three project templates based on [upgrade-helper](https://react-native-community.github.io/upgrade-helper/?from=0.70.6&to=0.71.0)
- bare-expo
- expo-template-bare-minimum
- fabric-tester (this is based on `npx expo prebuild --clean --no-install --template /path/to/expo-template-bare-minimum.tgz`) so it includes some inconsistent changes
- [@expo/config-plugins]: support 0.71 template transform. the `namespace` in build.gradle and the files in `release` build variants
- [fbjni] upgrade 0.3.0 to align 0.71 (also ndk version)
- [expo-updates] move the `EX_UPDATES_NATIVE_DEBUG` `bundleInDebug` setup to templates. unfortunately, because RNGP setups the task dependencies pretty early. the original setup in expo-updates build.gradle is too late. note that the change doesn't reference any files from templates to expo-updates package. somehow it's not tightly coupled.
- [native-tests / expo-modules-test-core / expo-modules-autolinking] fix ios unit test build error because jsc now in a dedicated podspec. in theory, the ios native unit test could now run on hermes as well.
- for other details, please check commit histories one by one.
# Test Plan
- bare-expo ios / android
- fabric ios / android
- ci passed (except ios)
- test-suite ios is broken for unknown reasons. it breaks only on github actions and hermes. for nightlies testing, i also [changed it to jsc](https://github.com/expo/expo/blob/1e029c89c4247802cc4880e27e116a6b4c71c502/tools/src/commands/SetupReactNativeNightly.ts#L287-L293) to make ci green. i'll try to follow up and investigate the root cause.
show more ...
|
| #
96634eea |
| 26-Jun-2022 |
Kudo Chien <[email protected]> |
[ios] Update react-native to 0.69 for expo go (#17629)
# Why
upgrade react-native for sdk 46
# How
- update our react-native fork
- [android] add hermes-engine prebuilding. the main change
[ios] Update react-native to 0.69 for expo go (#17629)
# Why
upgrade react-native for sdk 46
# How
- update our react-native fork
- [android] add hermes-engine prebuilding. the main change is [here](https://github.com/expo/react-native/commit/8bb810c9860fc1e49d9f55bb3929ad0eb534f441). because in expo-go we are building react-native from source. in 0.69 it also means to build hermes from source. that will make our ci time more difficult.
- [expo][android] add ReactNativeHostWrapper for 0.69 because `com.facebook.react.devsupport.interfaces.RedBoxHandler` package renaming.
- update some expo modules to support 0.69
**TODO**
`et update-rn` is not included in this pr. i will do it later and commit directly. because that includes mass changes and makes review very difficult.
# Test Plan
update react-native, react, in expo/expo and test NCL with android/ios unversioned expo go
Co-authored-by: Tomasz Sapeta <[email protected]>
show more ...
|
| #
29a50f5c |
| 24-May-2022 |
Kudo Chien <[email protected]> |
[android] Fix classic build errors (#17616)
# Why
Fix android classic build error
# How
cherry-pick from sdk-45
- https://github.com/expo/expo/commit/fc8e8f712075f42bbbc21c4fc432e270531d
[android] Fix classic build errors (#17616)
# Why
Fix android classic build error
# How
cherry-pick from sdk-45
- https://github.com/expo/expo/commit/fc8e8f712075f42bbbc21c4fc432e270531d16cf
- https://github.com/expo/expo/commit/e9f61e8833ada706ce808bdededee85e2a1cd8af
- https://github.com/expo/expo/commit/db5944cfc76c9bb878f2b300405f93ecad8d6cec
Basically that in turtle builder, we use the prebuilt react-native aar and don't have react-native package installed.
# Test Plan
tested `expo build:android` from a sdk 45 NCL on staging
show more ...
|
| #
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 ...
|
| #
2ed31047 |
| 24-Feb-2022 |
Kudo Chien <[email protected]> |
[android][ios] Upgrade react-native to 0.67.2 in Expo Go (#16400)
# Why
upgrade for sdk 45
# How
## upgrade react native fork
code in https://github.com/expo/react-native/tree/sdk-45
ba
[android][ios] Upgrade react-native to 0.67.2 in Expo Go (#16400)
# Why
upgrade for sdk 45
# How
## upgrade react native fork
code in https://github.com/expo/react-native/tree/sdk-45
basically cherry pick most necessary commits from sdk-44 branch but not these two:
1. https://github.com/expo/react-native/commit/125b36ac6d76e702bea4d7c41a8a402d68cdb1f1: because ExpoKit is already deprecated.
2. https://github.com/expo/react-native/commit/82d3ff5218cc576b5c7ea44c7adbf8b5aa5d985c: [use the official way to set metro server address](https://github.com/facebook/react-native/commit/e2b5b6504cb4dee8f2ec67f1d3a410801e1ca09a)
## migrate project setup
basically reference from: https://react-native-community.github.io/upgrade-helper/?from=0.64.2&to=0.67.2
## other build errors or launch errors
just to deal with these mess one by one.
# Test Plan
- [android] unversioned expo-go build + launch + load unversioned NCL
- [ios] unversioned expo-go build + launch + load unversioned NCL
show more ...
|
| #
2f6287e1 |
| 09-Sep-2021 |
Kudo Chien <[email protected]> |
[updates] modularize expo-updates without further app setup (#14198)
# Why
modularize expo-update without app project setup
# How
- [ios] introduce `EXUpdatesAppDelegate` to replace AppDele
[updates] modularize expo-updates without further app setup (#14198)
# Why
modularize expo-update without app project setup
# How
- [ios] introduce `EXUpdatesAppDelegate` to replace AppDelegate setup
- [ios] move create-manifest-ios.sh into podspec
- [android] leverage `ReactNativeHostWrapper` and put into UpdatePackages to replace classic MainApplication setup
- [android] move create-manifest-android.gradle into library build.gradle
# Test Plan
these changes relies on expo-modules-core. however, our `expo-template-bare-minimum` template does not migrate to expo-modules-core yet. so i initiated a project from `expo-template-bare-minimum` with expo-modules-core migration to test the functionalities. please check [bare-update project in this branch](https://github.com/expo/expo/commits/%40kudo/modularize-expo-update-test/apps/bare-update).
test steps (based on bare-update project, the update url is `https://exp.host/@kudochien/bare-update`):
1. test release build (both ios and android)
2. modify App.js and `expo publish`
3. relaunch apps twice and see if the app has the updated content.
to test backward compatible, revert the `replace expo-updates integration by in-module setup` commit and go through the steps above again.
# Checklist
- [x] Documentation is up to date to reflect these changes (eg: https://docs.expo.io and README.md).
- [x] This diff will work correctly for `expo build` (eg: updated `@expo/xdl`).
- [x] This diff will work correctly for `expo prebuild` & EAS Build (eg: updated a module plugin).
show more ...
|
| #
1df8bf88 |
| 11-Jul-2020 |
Evan Bacon <[email protected]> |
Disable useNewApkCreator to fix build error (#9173)
Entry name 'META-INF/MANIFEST.MF' collided
|
| #
b82fbba2 |
| 04-Nov-2019 |
Bartłomiej Bukowski <[email protected]> |
[Android] Update gradle to 5.6.3 & butterknife to 10.2.0 (#6045)
|
| #
db136923 |
| 25-Sep-2019 |
Szymon20000 <[email protected]> |
Migrate to androidx (#5521)
# Why
resolves: https://github.com/expo/expo/issues/5260
# How
https://developer.android.com/jetpack/androidx/migrate
https://blog.danlew.net/2018/11/14/the-rea
Migrate to androidx (#5521)
# Why
resolves: https://github.com/expo/expo/issues/5260
# How
https://developer.android.com/jetpack/androidx/migrate
https://blog.danlew.net/2018/11/14/the-reality-of-migrating-to-androidx/
https://gist.github.com/loganj/7535a13e98be83460f362b63dbd13e07
# Test Plan
Run NCL, native tests (androidTest, test)
show more ...
|
| #
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 ...
|
| #
306ebd43 |
| 13-Dec-2018 |
Stanisław Chmiela <[email protected]> |
[android] Reenable AAPT2 (#2975)
|
| #
8034d412 |
| 13-Dec-2018 |
Bartłomiej Bukowski <[email protected]> |
[Android] Update Android Image Cropper to provide some new locales (#2955)
* [Android] Update Android Image Cropper to provide some new locales
* Add CHANGELOG.md entry
* Update CHANGELOG.md
[Android] Update Android Image Cropper to provide some new locales (#2955)
* [Android] Update Android Image Cropper to provide some new locales
* Add CHANGELOG.md entry
* Update CHANGELOG.md
Co-Authored-By: bbarthec <[email protected]>
show more ...
|
| #
c950fe60 |
| 16-Nov-2018 |
Nick Novitski <[email protected]> |
[android] Gradle retries start with 1 second delay
This will be the default in new versions, and seems more resilient to intermittent request failures.
|
| #
1dc0ff4e |
| 13-Feb-2018 |
Adam Perry <[email protected]> |
Restore previous gradle properties.
fbshipit-source-id: 2c5736f
|
| #
4ea04b63 |
| 12-Feb-2018 |
Adam Perry <[email protected]> |
Specify hw-specific gradle opts elsewhere.
fbshipit-source-id: 988535a
|
| #
637203c8 |
| 25-Aug-2016 |
Nikhilesh Sigatapu <[email protected]> |
Give gradle more memory cuz it's crazy :O
fbshipit-source-id: bf3913b
|
| #
2a38a11e |
| 16-Aug-2016 |
Exponent GitHub Bot <[email protected]> |
Initial commit
fbshipit-source-id: ddcb55df54d1382bb3f003f7e62f0bfc195fb9b7
|