react-native-splash-screen
react-native-splash-screen copied to clipboard
Splash screen default opening before lib
When starting the application, the default splash screen appears before the library splash.
What react-native-splash-screen
version are you using? 3.3.0
What platform does your issue occur on? (Android/iOS/Both) Android
Describe your issue as precisely as possible :
- Steps to reproduce the issue or to explain in which case you get the issue launch the app and see the two splash
Join a screenshot or video of the problem on the simulator or device?
https://user-images.githubusercontent.com/33581079/195143038-69d34210-2533-479d-a08f-8f670ace9197.mp4
You may be testing this app on Android 12. Google provides a default splash screen. You can hide that splash screen by following these steps.
https://stackoverflow.com/questions/72003647/react-native-splash-screen-on-android-12
same
I will make PR to fix this issue soon but in a meantime please try StackOverflow solution
@ponikar StackOverflow solution is not working
This library is not maintained by the library author anymore. You can use react-native-bootsplash
it is using the native splash screen under the hood.
I was going to raise PR but as android has introduced native splash in android 12 it wasn't worth spending time raising PR. You have to eventually use the native splash screen.
thanks for response @ponikar
@ponikar StackOverflow solution is not working
@NadeemKhanFh At first I was not able to make the StackOverflow solution work, but that was because I was trying to recreate my splash screen on the Starting style. Then I tried the exact same Theme.App.Starting style indicated there, and with every other step already implemented, it worked. Don't know if this is your case, but hope it helps.
did this issue finish?
@MASAKASUNO1 @willianferreiradev @ponikar
Please refer below solution for the work around - it is working for me
https://github.com/crazycodeboy/react-native-splash-screen/issues/613#issuecomment-1538231552
@MASAKASUNO1 @willianferreiradev @ponikar
Please refer below solution for the work around - it is working for me
this is not working for android 8 version, app is not opening at all. did your app is working for android 8 as well @musthu1837 ?
can you share your styles.xml
and steps you did!
Put the below line in your android/app/res/value/style.xml file. it's worked for me
<item name="android:windowIsTranslucent">true</item> -->