[expo-intent-launcher] [Android] Fix the crash on fulfilled promises when ActivityNotFoundException is thrown (#24481)
[packages] fix another gradle 8 warnings (#22609)# Why there are other gradle 8 build warnings: ``` > Task :expo:processReleaseManifest package="expo.core" found in source AndroidManifest.x
[packages] fix another gradle 8 warnings (#22609)# Why there are other gradle 8 build warnings: ``` > Task :expo:processReleaseManifest package="expo.core" found in source AndroidManifest.xml: /home/runner/work/expo/expo/packages/expo/android/src/main/AndroidManifest.xml. Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated. Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information. ``` # How migrate `package` in **AndroidManifest.xml** to `namespace` in **build.gradle** # Test Plan ci passed
show more ...
[android][expo-intent-launcher] Migrate the new modules API (#20327)# Why Continue migrating modules to use the new API # How Followed the usual migration steps # Test Plan Tested with the
[android][expo-intent-launcher] Migrate the new modules API (#20327)# Why Continue migrating modules to use the new API # How Followed the usual migration steps # Test Plan Tested with the bare expo app. Everything working as before.
[android][intent-launcher] Rewrite Android code to Kotlin (#14479)
[expo-modules] Move code from `unimodules` into `expo-modules-core` (#13703)# Why Migrated `unimodules-core`, `unimodules-react-native-adapter`, `unimodules-app-loader` into `expo-modules-core`
[expo-modules] Move code from `unimodules` into `expo-modules-core` (#13703)# Why Migrated `unimodules-core`, `unimodules-react-native-adapter`, `unimodules-app-loader` into `expo-modules-core` # How - Change package using AS refactor tools - Fix some places where AS wasn't able to do automatically - Fix compatibility with new auto-linking - Ensure that classes which are used during installation steps are still available in the old place # Test Plan - expo-go (tested using unversioned and 41) - bare-expo
[ios][android][face-detector][ads-admob][firebase-core][firebase-analytics] Upgrade native libraries (#12125)
[expo-intent-launcher] Handle ActivityNotFoundException error (#12078)# Why `expo-intent-launcher` causes crash if say a `android.intent.action.VIEW` action is started but no suitable activities
[expo-intent-launcher] Handle ActivityNotFoundException error (#12078)# Why `expo-intent-launcher` causes crash if say a `android.intent.action.VIEW` action is started but no suitable activities found to handle the file type. # How Method `activity.startActivityForResult` actually throws ActivityNotFoundException and it should be handled. # Test Plan 1. Build with the old code and use `expo-intent-launcher` to open a `rar` file. The app crashes because no app installed can handle this extension. 2. Apply the fix and redo the above. The app does not crash and the call to `IntentLauncher.startActivityAsync` rejects with an ActivityNotFoundException error.
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)
[unimodules][android] Change ModuleRegistryConsumer to RegistryLifecycleListener (#4345)# Why Modules need to know when they should release resources.
Actionless intents (#3703)A null activityAction now can create an empty intent to allow activities without an action to be opened such as these https://stackoverflow.com/a/48641229/2671901 # Why
Actionless intents (#3703)A null activityAction now can create an empty intent to allow activities without an action to be opened such as these https://stackoverflow.com/a/48641229/2671901 # Why Intents without an action cannot be opened. Example: https://stackoverflow.com/a/48641229/2671901 # How Just allowed the activityAction to be null, if so the intent constructor will be empty, otherwise the intent will have the action normally. # Test Plan Insert a null value in the activityAction in startActivityAsync, and the package name and the class name as an object normally.
[packages] Move unimodules foundation to `org.unimodules` scope
Convert IntentLauncherAndroid to unimodule (#3427)# Why Making modules universal. # How - Moved `IntentLauncherAndroid` module to universal module `expo-intent-launcher`. - Changed name t
Convert IntentLauncherAndroid to unimodule (#3427)# Why Making modules universal. # How - Moved `IntentLauncherAndroid` module to universal module `expo-intent-launcher`. - Changed name to `IntentLauncher` - we no longer use `Android/iOS` suffixes, so I just took the opportunity and renamed it. - Added more configuration options (mostly copied from https://github.com/poberwong/react-native-intent-launcher). - Added `ModuleNotFoundException` and `CurrentActivityNotFoundException` to `expo-errors` as they are going to be used in multiple modules. # Test Plan `native-component-list` example works