Crash on Android 9

Still encountering the same rare crash as mentioned here:

The crash report from the Google Play Console:

java.lang.RuntimeException:
at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4008)
at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:4040)
at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:51)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:145)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:70)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1948)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7045)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:964)
Caused by: java.lang.IllegalStateException:
at android.app.ContextImpl.startServiceCommon (ContextImpl.java:1666)
at android.app.ContextImpl.startService (ContextImpl.java:1611)
at android.content.ContextWrapper.startService (ContextWrapper.java:677)
at host.exp.exponent.experience.a.i (BaseExperienceActivity.java:258)
at host.exp.exponent.experience.ExperienceActivity.onResume (ExperienceActivity.java:257)
at android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1412)
at android.app.Activity.performResume (Activity.java:7558)
at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4000)

The crash happened on the following devices, all on Android 9:

Galaxy S8 (dreamlte)
Galaxy S9 (starlte)
Galaxy S8+ (dream2lte)
P20 (HWEML)
Galaxy S9+ (star2lte)
P20 Pro (HWCLT)
Mate 20 Pro (HWLYA)

Im using a standard managed expo app, built via expo. The sdk version is 32.0.0. (So, it appears that it wasn’t fixed from sdk 31 to 32).

IOS app works fine.

Would be nice if someone finds a fix. Still, thanks for the awesome work expo team.

greetings,
Ascor

3 Likes

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