-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Caused by android.view.WindowManager$BadTokenException
Unable to add window -- token android.os.BinderProxy@12bad08 is not valid; is your activity running?
android.view.ViewRootImpl.setView (ViewRootImpl.java:1173)
android.view.WindowManagerGlobal.addView (WindowManagerGlobal.java:399)
android.view.WindowManagerImpl.addView (WindowManagerImpl.java:134)
android.app.Dialog.show (Dialog.java:345)
org.devio.rn.splashscreen.SplashScreen$1.run (SplashScreen.java:39)
android.app.Activity.runOnUiThread (Activity.java:7203)
org.devio.rn.splashscreen.SplashScreen.show (SplashScreen.java:28)
MainActivity.onCreate (MainActivity.kt:14)
Currently, I'm using React Native 0.73.1 and this error is reported to me on firebase crashlytics. Only 1 user crashed from this bug. Can anyone explain for me why this happening? I tried some solutions from StackOverflow like check if activity isFinishing,... but I read the code of this library and see that it already implemented checking like above.
Thanks!