I’m testing using Android 12 devices and everything works fine with that. I plan to disable expo-updates to see if that fixes the crash. Should I simply change app.json or do I need to remove the whole package?
This is a bare workflow app - and I don’t actually remember installing expo-updates manually. I think it must have been included automatically somehow.
Hi @joshua-revolution, the instructions to remove expo-updates package are available here. There is a set of configs that you might have to revert to remove this package from your project.
After setting updates to false I still get this error:
08-01 12:59:22.144 6605 6605 E AndroidRuntime: java.lang.AssertionError: The embedded manifest is invalid or could not be read. Make sure you have configured expo-updates correctly in android/app/build.gradle. app.manifest
08-01 12:59:22.144 6605 6605 E AndroidRuntime: at expo.modules.updates.manifest.EmbeddedManifest.get(EmbeddedManifest.kt:31)
08-01 12:59:22.144 6605 6605 E AndroidRuntime: at expo.modules.updates.launcher.NoDatabaseLauncher.<init>(NoDatabaseLauncher.kt:62)
08-01 12:59:22.144 6605 6605 E AndroidRuntime: at expo.modules.updates.launcher.NoDatabaseLauncher.<init>(NoDatabaseLauncher.kt:15)
08-01 12:59:22.144 6605 6605 E AndroidRuntime: at expo.modules.updates.UpdatesController.start(UpdatesController.kt:203)
08-01 12:59:22.144 6605 6605 E AndroidRuntime: at expo.modules.updates.UpdatesController$Companion.initialize(UpdatesController.kt:464)
08-01 12:59:22.144 6605 6605 E AndroidRuntime: at expo.modules.updates.UpdatesPackage$createReactNativeHostHandlers$handler$1.onWillCreateReactInstanceManager(UpdatesPackage.kt:41)
08-01 12:59:22.144 6605 6605 E AndroidRuntime: at expo.modules.ReactNativeHostWrapperBase.createReactInstanceManager(ReactNativeHostWrapperBase.kt:28)
08-01 12:59:22.144 6605 6605 E AndroidRuntime: at com.facebook.react.ReactNativeHost.getReactInstanceManager(ReactNativeHost.java:42)
08-01 12:59:22.144 6605 6605 E AndroidRuntime: at au.com.rev.testdrive.expo.MainApplication.onCreate(MainApplication.java:68)
08-01 12:59:22.144 6605 6605 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1213)
08-01 12:59:22.144 6605 6605 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6906)
08-01 12:59:22.144 6605 6605 E AndroidRuntime: at android.app.ActivityThread.access$1600(ActivityThread.java:261)
08-01 12:59:22.144 6605 6605 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2154)
08-01 12:59:22.144 6605 6605 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:111)
08-01 12:59:22.144 6605 6605 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:238)
08-01 12:59:22.144 6605 6605 E AndroidRuntime: at android.os.Looper.loop(Looper.java:357)
08-01 12:59:22.144 6605 6605 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8089)
08-01 12:59:22.144 6605 6605 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-01 12:59:22.144 6605 6605 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
08-01 12:59:22.144 6605 6605 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1026)