-
-
Notifications
You must be signed in to change notification settings - Fork 256
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
2 splash screen logo appear #481
Comments
@ronakYudiz Duplicate of #466, feel free to post a message there with your video. For some weird reason, Samsung implementation of the Android SplashScreen API doesn't respect the official implem and show a half sized logo on the system thread (handled not by your app / this library, but by Android itself). Once your app has started (it's easy to see, that's the moment your app respect the status / navigation bar styles you defined, because of course Android doesn't respect that either 😅), It's super hard to investigate, as I don't own a Samsung device and can't find a lot of informations on the internet about it. EDIT: I found this: https://issuetracker.google.com/issues/251807014
|
I faced the same issue when updating to version Therefore i'm not so sure if this has much to do with Samsung's implementation of the Android SplashScreen API, as @zoontek says in the comment above 😉 Thanks by the way for this awesome library! |
@skizzo It is. But since v5, we don't use the AndroidX splash screen compat lib as its solution was freezing the UI (that's why the phones were frozen until the splash screen was hidden). But if you check, you will see that the size isn't respected on Samsung (the logo is smaller compared to emulator / other manufacturers phones). Also, try to create an animated splash screen on bootsplash v4, you will get the exact same issue (no problem if you just fade it). It's well known by Samsung, they fixed it in OneUI v5. EDIT: More infos here #466 (comment) I will try to see if I can add a workaround for OneUI v4, to keep the logo half size, even when using the |
Very interesting, thanks for elaborating! |
Bug summary
I am right now using the "react-native-bootsplash": "^5.0.0" version.
I am facing one strange issue running on a Samsung device that is not happening on other devices.
Two splash logos appear; the first is small and the other is big.
Screen_recording_20230824_133538.mp4
Library version
^5.0.0
Environment info
Steps to reproduce
just use new version and follow steps you will face this issue on samsung device.
Reproducible sample code
The text was updated successfully, but these errors were encountered: