-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Standalone builds load poorly #112
Comments
Adding an option to hide the loading spinner in the custom loading screen would be great too |
cc @terribleben |
any comments on this @terribleben? |
Nope, thanks for your suggestions! |
I take it you plan to work on this? any time soon, by sdk 17 maybe? |
Changing this behavior would be a significant architectural change to the way we build standalone apps, so probably not soon, but it's something we'd like to improve when we get the bandwidth. |
The white splash screen and the activity indicator are pure js/react views though. I am digging in the expo code base as we speak to see where exactly is this happening, maybe you can help me get there faster? |
I am trying to build the expo client from source -as described here- to see if modifying that piece of code would do the job, or possibly some other snippets if this one won't do it, but I am getting a failed build, possibly due to
|
Error in xcode: |
Never mind, I didn't |
@jesseruder They are separate matters although one solution could solve both of them. Addressing the white screen issue is actually much more important than allowing more control over the loading component, we can still get a decent ux with the current app loading component, but the white screen? it's really bad ux, especially for apps that start up with a non-white screen. |
Kindly reopen this issue, I don't think it should be marked as solved or closed, it's just too important. |
Hi, thanks for your continued feedback. We'd like to implement a way to allow better control over the way experiences load, and that would include both standalone and non-standalone experiences. As you've discovered, this is implemented natively, since the React Native bridge is not running yet in any of those circumstances. So it makes sense for us to track this as a single issue, and it's also why this is a nontrivial change. Feel free to amend the title of the other issue if you think it's not descriptive of this whole situation. |
I think I understand where you are going with this now better, one issue it is. |
Thanks @sonaye. We're just trying to keep our issues clean. Feel free to add more information to the other issue. |
After opening the first Testflight build made with Expo, I also noticed that it looks glitchy. I understand this is not trivial, but especially if your Splash Screen is not white, it currently looks suboptimal. Any chance this gets fixed in the foreseeable future? @sonaye Did you manage to circumvent the white loader somehow? |
@sonaye Have you managed to hack the client so the white screen does not appear after Splash and before Loading screen? I have also figured out that the white screen is already a React Native view, but didn't know where exactly is it coming from. |
@cseelus @Elijen Unfortunately I wasn't able to find a work around, the best approach up to this moment for me was to make both the app loading component and the first screen in the app white. Also the typical ios |
@sonaye I was able to change the splash screen in the General settings of the iOS project (it's called Launch Images there), but the white screen displayed is not part of it. It's a react-native view (RCTView) that shows up AFTER the splash screen but BEFORE the loading screen. Yup, seems I'll wait for the new API or try to use https://github.com/crazycodeboy/react-native-splash-screen |
I think you need to rebuild the expo client for that, this is what I was trying to do when I first opened this issue, but failed, after you rebuild it try #112 (comment). |
Or maybe this file is exposed after ejecting, I can't recall if that was the case when I tested it. |
@sonaye I think Maybe @jesseruder or @terribleben can confirm. |
It's definitely in the expo client, which you need to build from source, I just failed to compile it at the time. |
We'll have an experimental feature in SDK 20 (iOS only) which will customize the native loading XIB when you build a standalone app. (no ExpoKit required.) However, we have a lot more work to do before it's non-experimental: There are still some white flashes. As mentioned in this thread, we'd like to make it so the whole thing is seamless. At the moment, we expect to continue work on this project and release an improved version in SDK 21 (unless plans change for some reason). (edit for clarity: SDK 20 isn't released at the time of this comment, but we're releasing it very soon.) |
After pushing a standalone app to TestFlight and the App Store, I noticed a glitch when the app first opens.
Here is how the app opens:
Notice also that there is a spinner showing before my app loading screen itself:
Here is how the app should open:
My guess is that this is caused by setting the hide-made-with-expo flag to true, resulting a white screen and a white washed loading from app icon transition, which shouldn't be the case I think to improve UX and the general feel of the app from the first run.
Solution
The text was updated successfully, but these errors were encountered: