-
Notifications
You must be signed in to change notification settings - Fork 85
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
EAS - white screen after splash-screen in production mode on iOS #1017
Comments
Having the same issue, android and ios. |
Similar issue but not a white screen, app crashes after splash screen.
Tried to see the "device console" on xCode and this is the error it shows when it crashes:
No idea what to even try to make it work with eas-cli instead of traditional expo build system. I'll keep using expo build system till it gets deprecated I guess! |
@valentinoConti you can try building the app locally to get insight from xcode on the fatal error |
Doing
|
I'm seeing the same, on both Android and iPhone. The splash screen displays, but afterwards it is a blank white screen. The classic build commands are still working for me ( eas-cli/0.48.2 darwin-x64 node-v16.13.2 |
If I should open a separate thread for this issue,, please let me know. I do not see a splash screen. I see white while the app loads. I am using Apploader This happens only when published to the store. It does not happen in development. It does not happen when I build(using both eas and expo build) an .apk and install directly. |
Don't know about the solution to your problem, but to have a better sight of what the store app it's going to work like, you can instead of building an
After that you are going to have a |
@valentinoConti thank you very much for the input. It sounds like I don't have to explain to you how difficult it is troubleshooting bugs that only appear from uploading to the store. |
same here with at least android (i didn-t try on ios). the app works excellent with expo build |
Same problem here with ios, any updates on this? |
I have same issue 🥲 |
Which version of expo sdk do you have. We solve it moving to 43
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Hossam Hassan ***@***.***>
Sent: Tuesday, April 19, 2022 12:56:37 AM
To: expo/eas-cli ***@***.***>
Cc: Juan Andres Segreda Johanning ***@***.***>; Comment ***@***.***>
Subject: Re: [expo/eas-cli] EAS - white screen after splash-screen in production mode on iOS (Issue #1017)
I have same issue 🥲
Here, in the above code, while running it in metro bundler, using expo run android command, the app is running properly in expo without any issue or error. But When I build the apk using expo build:android, and try to install it in my physical device, then it's showing the splash screen and after that it is showing the white blank screen. Not routing Screens
—
Reply to this email directly, view it on GitHub<#1017 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABKOZMMZ4A5RVS2ITACCAULVFZKKLANCNFSM5QWKBEMA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Update from my side: Don't know f it has to do with your problems as well, but mine was really on my side and I could find it just in one way:
I don't know why, but on my side, React Native Debugger wasn't showing me some errors that were happening on my code, in my case specifically, was with the |
Old sdk is 41 ......How to move or update expo sdk 43 ? |
I was running into this same issue and found a solution. As per the instructions I had the |
Interesting! I will try this solution and let you know if it solves my issue as well. EDIT : It worked! |
I'm facing an issue where the apk for expo build:android works but eas build --platform android does not. Would appreciate any help |
This worked for me. I placed SpalshScreen.preventAutoHideAsync() outside useffect and removed the await. |
I'm having the same issue here |
Same approach worked for me. Running @brentvatne Not sure what's up here, but it seems like the docs need to be updated. |
@isaachinman - can you share a minimal reproducible example to demonstrate what you are experiencing? |
@brentvatne Yes, happy to help here. What is the best way to provide a repro for a prod-only issue? |
Yes indeed this fixed the issue for me. The issue definitely frustrating especially that it occurred out of nowhere after updating expo! Also this issue is occurring on production builds for both Android and iOS. |
it should be reproducible locally if you run |
This issue is stale because it has been open for 30 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
In which file should this change be made? |
Same issue, nothing works :( |
Maybe this works. Try Running |
Same issue with expo build:android :( EDIT: using @valentinoConti solution works. thx. |
Hi there! It looks like your issue requires a minimal reproducible example, but it is invalid or absent. Please prepare such an example and share it in a new issue. The best way to get attention to your issue is to provide a clean and easy way for a developer to reproduce the issue on their own machine. Please do not provide your entire project, or a project with more code than is necessary to reproduce the issue. A side benefit of going through the process of narrowing down the minimal amount of code needed to reproduce the issue is that you may get lucky and discover that the bug is due to a mistake in your application code that you can quickly fix on your own. ResourcesCommon concerns"I've only been able to reproduce it in private, proprietary code"You may not have spent enough time narrowing down the root cause of the issue. Try out the techniques discussed in this manual debugging guide to learn how to isolate the problem from the rest of your codebase. "I didn't have time to create one"That's understandable, it can take some time to prepare. We ask that you hold off on filing an issue until you are able to fully complete the required fields in the issue template. "You can reproduce it by yourself by creating a project and following these steps"This is useful knowledge, but it's still valuable to have the resulting project that is produced from running the steps, where you have verified you can reproduce the issue. |
I found the solution. It was as silly as it seems. |
Hi, try to install :
|
how did you solved this issue??? |
@bhaambhu the original issue was about a short white screen between splash and app. But indeed, if you don't apply the @ashifkhn the issue should not occur anymore, the doc has been updated with the solution, which was to move the |
same |
Applied flex: 1 and it worked! |
do you get what was the issue I am facing it now ? |
i still face this issue when i using expo router appoarch and i could see the splash screen in ios simulator and android simulator but i could not see the splash screen for both production build in the real devices ? Any idea for fixing it? |
|
you must install both expo-system-ui and expo-splash-screen I'm not sure why i need to install both even though i dont use expo-splash-screen. but otherwise it doesn't work so just install both and then at the top of app.ts
|
This changed the color of the screen between splash and app. It is black now. |
|
I am continually getting a white screen after the splash screen. The app never loads. It just remains white the entire time. |
@TheoBreaux that's a different problem entirely. Also, an update, I have seen this issue occur again so, I'm back to thinking it's a bug. |
I'm getting the same issue. When I run the app on simulator with an EAS development build with dev client running on android + IOS the app works fine. After the splash screen the app shows the first screen. When a create an internal distribution EAS build and run the app on an actual IOS/Android device after the splash screen it is a blank white screen. I setup sentry, and checked the app logs via Xcode/Android Studio, and there is nothing showing about the app crashing or an error. I have
Doing What have been done to resolve this? |
For me that was dependency issue , remove the unused dependencies and also check the syntax of stack navigation its updated. And last one to imoport font file don’t use font libraray. These things solve my issue .Sent from my iPhoneOn 12-Jun-2024, at 6:04 AM, Alexander Wolf ***@***.***> wrote:
I'm getting the same issue.
When I run the app on simulator with an EAS development build with dev client running on android + IOS the app works fine. After the splash screen the app shows the first screen.
When a create an internal distribution EAS build and run the app on an actual IOS/Android device after the splash screen it is a blank white screen.
I setup sentry, and checked the app logs via Xcode/Android Studio, and there is nothing showing about the app crashing or an error.
I have flex-1 (Nativewind) /flex: 1 applied in my root view/component in my App.tsx file.
<QueryClientProvider client={queryClient}>
<View className="flex-1" onLayout={onLayoutRootView}>
<StatusBar style="auto" />
<RootNavigator appReady={fontsLoaded} />
</View>
</QueryClientProvider>
Doing SystemUI.setBackgroundColorAsync('transparent'); did not work and just set the whole background color black instead of white.
What have been done to resolve this?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
I figured out my issue with the white screen. I was using Nativewind and my styles weren;t being applied for a silly reason. I had tailwind.config.js in my .gitignore file which expo uses for it's .expo ignore; I think the auto .gitignore lib I used added it there =/ So during the build process it wasn't on the expo server, and babel wasn't running for nativewind. |
Build/Submit details page URL
No response
Summary
I have an (two actually) app that is working correctly in a development environment.
When using
expo build:ios -t archive
, the app works correctly in production mode as well.But when I try to use eas to build the app, I am having a white screen after the splash screen, while data are loaded..
Why do I think that this is due tu eas ? The white screen appeared for the first time after I started using eas cli.
I also found out that when I'm using
expo publish
, then back to the classicexpo build
, then the white screen is gone.I tried once again to use eas build, and got the white screen back.
Managed or bare?
Managed
Environment
expo-env-info 1.0.2 environment info:
System:
OS: macOS 12.2.1
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
Yarn: 1.22.17 - /opt/homebrew/bin/yarn
npm: 8.5.1 - /opt/homebrew/bin/npm
Watchman: 2022.02.28.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.2 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
IDEs:
Android Studio: 2020.3 AI-203.7717.56.2031.7935034
Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild
npmPackages:
expo: ^44.0.0 => 44.0.6
react: 17.0.1 => 17.0.1
react-dom: 17.0.1 => 17.0.1
react-native: 0.64.3 => 0.64.3
react-native-web: 0.17.1 => 0.17.1
npmGlobalPackages:
eas-cli: 0.46.0
expo-cli: 5.3.0
Expo Workflow: managed
Error output
No response
Reproducible demo or steps to reproduce from a blank project
Not really reproducible in a Snack..
But it should be the following :
Create a project, with expo-splash-screen set up as expo documentation.
Publish to production with expo:build
Everything should be fine in production.
Publish to production with eas cli
There should be a white screen after the splashscreen, which might be very quick in a blank project.
It happened to me on two different apps.
The text was updated successfully, but these errors were encountered: