-
Notifications
You must be signed in to change notification settings - Fork 24k
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
White / Blank screen displayed on launch in release mode. #29688
Comments
|
Hi @agusvazquez sorry you're experiencing this. Could you provide a minimum repro that demonstrates this? |
Hey @safaiyeh thanks for your response. I have created a new project with the same structure as my real project, but I just wasn't able to reproduce the issue. https://github.com/agusvazquez/BlankScreen-Demo Apologies for not being able to give you all the feedback you need. I will keep working on reproducing the issue. |
A quick check of the react-native-screens repo, I saw some issues concerning the blank screens. Could you check if those are helpful? |
Also I found this issue, does their fix work for you? #26400 |
Yes! I have been googling and tried most of the solutions on react-native-screens repo. I will check again, perhaps I missed something. About #26400 , I saw that one is related to android only, and in my case it happens on both Android and iOS with 100% certainty on iOS on the first launch. The only difference I see the first launch over the other ones is the Push Notifications alert pop up for iOS. I don't think that might be breaking something that prevents the app to be loaded, right? |
Hello @safaiyeh . I have been testing this and I realized that this only happens when downloading the app from the Store / Testflight. Running as release mode does NOT reproduce this issue. Looking for that, I saw this. microsoft/react-native-code-push#1356 I removed codepush from my project, and now it seems to work fine. I will continue it with them. Thanks for your support! |
@agusvazquez Awesome! I'm glad you narrowed down the issue. |
Hello guys!
I am having this issue.
Description
Blank / White screen is randomly shown on startup in release mode and I get stuck, I have to close the app and try again in order to make it work. I think it has a lot of more chance for the white screen to be displayed if it is the first run after a fresh install. I think it has something to do with react navigation and react-native-screens but I am not sure about it. Happens on both Android and iOS.
Already tried this solution without any success.
#26605 (comment)
React Native version:
Run
react-native info
in your terminal and copy the results here.Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
Expected Results
Blank / White screen should not appear and should be replaced by the splash and the app after everything loads.
Snack, code example, screenshot, or link to a repository:
This sample starts with a fresh install app from testflight.
Dependencies:
The text was updated successfully, but these errors were encountered: