-
-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash: Attempt to invoke direct method 'void android.view.SurfaceControl.checkNotReleased()' #381
Comments
Also experiencing the same issue, we've had 31 crashes across 3 users |
Hi. The same here. |
I just removed this
|
I've experienced same issue. Is there any update the issue? |
Same issue. Android 12 on Samsung SM-X800 device. |
We are also seeing this crash. What is the fix for this? |
+1, same issue, i think issue is caused by android splash screen api: crash |
Same issue with 4.7.1 |
same +1 |
1 similar comment
same +1 |
This comment was marked as spam.
This comment was marked as spam.
1 similar comment
This comment was marked as spam.
This comment was marked as spam.
Could you please just upvote with emojis on the initial message instead of spamming? No need to trigger notifications for everyone watching this thread just to say "Same". |
I investigated a bit, and can reproduce it. The issue is kinda hard to solve since even if I implement a checkNotReleased.mp4The effect is what appears to be a restart of the UI, but it has no impact on the app itself. |
@LonelyCpp I would not recommend it, for a pretty good reason. The fix is here: #475 😄 with.react-native-bootsplash.v5.mp4 |
Version 5.0.0 is available: https://github.com/zoontek/react-native-bootsplash/releases/tag/5.0.0 |
Facing the same issue in the 5.0 version also |
Fix is OK for us in after upgraded to Thanks @zoontek |
Bug summary
This crash occurs when a Pixel user backgrounds the application before the splashscreen finishes & the
hide
method can be invoked.Initially I filed a crash report w/ Google but their response suggests this can be avoided on v12 by perhaps trying to unregister
setOnExitAnimationListener
, as well as stop any other Splash screen animation/logic - possibly when the activityonPause
is invoked?Crash report: https://issuetracker.google.com/issues/242118185?pli=1
This is likely occurring near this line https://github.com/zoontek/react-native-bootsplash/blob/master/android/src/main/java/com/zoontek/rnbootsplash/RNBootSplashModule.java#L124
Library version
4.3.1
Environment info
Steps to reproduce
Reproducible sample code
The text was updated successfully, but these errors were encountered: