Expo App Crash on Production in some devices

Please provide the following:

  1. SDK Version: 43
  2. Platforms(Android/iOS/web/all): android

in googleplay console crash analytics menu i get this error : and the user said it crashes the app. and i cant find where the code located probably because its native. the question is how can i fix this? and what causing it

heres the crash log :

java.lang.IllegalStateException:
at com.facebook.react.bridge.ReactContext.handleException (ReactContext.java:387)
at com.facebook.react.bridge.ReactContext$ExceptionHandlerWrapper.handleException (ReactContext.java:394)
at com.facebook.react.bridge.GuardedRunnable.run (GuardedRunnable.java:33)
at android.os.Handler.handleCallback (Handler.java:938)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:246)
at android.app.ActivityThread.main (ActivityThread.java:8653)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)
Caused by: java.lang.NullPointerException:
at versioned.host.exp.exponent.modules.api.components.gesturehandler.react.RNGestureHandlerRootHelper. (RNGestureHandlerRootHelper.java:49)
at versioned.host.exp.exponent.modules.api.components.gesturehandler.react.RNGestureHandlerEnabledRootView.initialize (RNGestureHandlerEnabledRootView.java:54)
at versioned.host.exp.exponent.modules.api.components.gesturehandler.react.RNGestureHandlerModule$2.execute (RNGestureHandlerModule.java:605)
at com.facebook.react.uimanager.UIViewOperationQueue$UIBlockOperation.execute (UIViewOperationQueue.java:573)
at com.facebook.react.uimanager.UIViewOperationQueue$1.run (UIViewOperationQueue.java:908)
at com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches (UIViewOperationQueue.java:1019)
at com.facebook.react.uimanager.UIViewOperationQueue.access$2600 (UIViewOperationQueue.java:47)
at com.facebook.react.uimanager.UIViewOperationQueue$2.runGuarded (UIViewOperationQueue.java:977)
at com.facebook.react.bridge.GuardedRunnable.run (GuardedRunnable.java:31)
at android.os.Handler.handleCallback (Handler.java:938)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:246)
at android.app.ActivityThread.main (ActivityThread.java:8653)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.