You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 20, 2025. It is now read-only.
Using React Native v0.33
Using React Native Code Push 1.13.5-beta
This crash happens whenever a new version is deployed to CodePush and the app finishes the update. The app seems to successfully update itself, but it crashes after the update. The app works as intended after relaunching.
The following Java crash error is consistently re-producible.
09-14 11:18:41.921 30450 30471 E AndroidRuntime: java.lang.IllegalStateException: Tried to use permissions API while not attached to an Activity.
09-14 11:18:41.921 30450 30471 E AndroidRuntime: at com.facebook.react.modules.permissions.PermissionsModule.getPermissionAwareActivity(PermissionsModule.java:123)
09-14 11:18:41.921 30450 30471 E AndroidRuntime: at com.facebook.react.modules.permissions.PermissionsModule.shouldShowRequestPermissionRationale(PermissionsModule.java:73)
09-14 11:18:41.921 30450 30471 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-14 11:18:41.921 30450 30471 E AndroidRuntime: at com.facebook.react.bridge.BaseJavaModule$JavaMethod.invoke(BaseJavaModule.java:322)
09-14 11:18:41.921 30450 30471 E AndroidRuntime: at com.facebook.react.cxxbridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:158)
09-14 11:18:41.921 30450 30471 E AndroidRuntime: at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
09-14 11:18:41.921 30450 30471 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739)
09-14 11:18:41.921 30450 30471 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
09-14 11:18:41.921 30450 30471 E AndroidRuntime: at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
09-14 11:18:41.921 30450 30471 E AndroidRuntime: at android.os.Looper.loop(Looper.java:158)
09-14 11:18:41.921 30450 30471 E AndroidRuntime: at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
09-14 11:18:41.921 30450 30471 E AndroidRuntime: at java.lang.Thread.run(Thread.java:818)
Using React Native v0.33
Using React Native Code Push 1.13.5-beta
This crash happens whenever a new version is deployed to CodePush and the app finishes the update. The app seems to successfully update itself, but it crashes after the update. The app works as intended after relaunching.
The following Java crash error is consistently re-producible.