-
Notifications
You must be signed in to change notification settings - Fork 984
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
Splash screen does not dismiss when it should while logging in [IOS] [RN68] [React-Native-Navigation] #15206
Comments
Funny thing is this happens only on IOS. This behaviour is not replicated on Android. |
makes me wonder whether this guy right here is the culprit once again : https://github.com/status-im/status-mobile/blob/9f3c5454f0406d25b537e0a8362aa6d307bc599c/ios/StatusIm/AppDelegate.mm |
so it seems on ios RNN doesn't fire an event right ? what RNN version is used ? |
just to make sure can you add println to app-launched-listener ? |
Will do |
seems like I had already added that last time while debugging, here is the log in metro
|
its registration, but we want to know if it fires event, so we need to add log to |
could you try |
Okay will add some logs to |
upgraded to
|
The error seems to me that only in case of IOS Side sometimes we do SetNavigation before the bridge is loaded, maybe RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions]; [ReactNativeNavigation bootstrapWithDelegate:self launchOptions:launchOptions]; I will debug more and find out. |
from the logs I see we do this in the order :
Which is how it should be done,
Also seeing some duplication in logs that probably should not happen 🤔 |
it might be the same error |
in develop it looks like this
|
Fixed here : 4d2c381 |
After upgrading
react-native
to version 0.68.5 the splash screen does not dismiss on IOS Simulator when you try to log in.The splash screen dismisses itself when you are going through the onboarding flow, but after you have successfully created your account and you dismiss the app and try to open it again and log in, you get stuck with the splash screen.
Screenshot :
The metro logs look normal, for some reason the splash screen dismissing code is not called :
ref :
src/react_native/core.cljs
ref :
src/status_im2/navigation/core.cljs
The text was updated successfully, but these errors were encountered: