-
Notifications
You must be signed in to change notification settings - Fork 153
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
Showing a white screen with RNRestart.Restart(). #233
Comments
Thanks @saadi-ninjasCode for the detailed issue. Could you please help me in some detailed step in how to replicate the issue? |
Yeah Sure, |
Just to understand, like in the gif that is shown on the README, until the app is restarted, white screen is shown? |
In my opinion, there should be a splash screen or the icon of an app in the center of the screen (As Android 12 allows only a icon now). Android 12 Splash Screen |
any lucky anyone? |
any update related to this ?? |
same issue here! |
i am also facing this issue |
same issue |
any solution now? |
facing the same issue |
Is that supposed to help with removing white screen? I'm using RN 0.73 which should mean Hermes is enabled by default, but have the same issue. |
For anyone looking for an alternative solution (no white screen):
Source: https://stackoverflow.com/questions/57330046/how-to-restart-app-react-native-and-expo |
First of all sorry to recreate the issue, All previously related issues are closed and their solutions are not acceptable anymore because of the latest version of React-Native.
Problem:
There is a white screen when we call
RNRestart.Restart()
.Show the splash screen when calling
RNRestart.Restart()
White Screen still appearing after adding splash screen. #194 , White screen after RNRestart.Restart() #158In the above Solution, people mention the library
react-native-splash-screen
, which is no longer maintained. While there is another up-to-date library react-native-bootsplash, Previously library has support to show the splash screen (Once splash screen hides).New Issue
react-native-bootsplash removed support to show the splash screen (Once splash screen hides) in latest version when giving support for Android 12.
-Reason: Can't be possible with AndroidX core splash screen module and zoontek/react-native-bootsplash#354 (comment)
Solution
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: