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
ios 12 app stuck on splashscreen #157
Comments
How are you closing the splashscreen? |
At the moment we use only this line for closing the splashscreen in the config.xml:
This worked smooth before ios 12 |
Maybe using https://github.com/apache/cordova-plugin-splashscreen#splashscreenhide at the right moment might already solve your problem? |
We tried this before but the code will be ignored so the splashscreen will not be closed. This will also not worked if we set the |
Can you reproduce the problem in a new app created with |
Yes i can reproduce but now i can figure out that the error based on a custom fonts. When i have the custom font Raleway in my code on the startscreen the splashscreen stucks |
Awesome, so you totally isolated the bug 💯 How do you include the font? |
I have roughly the same issue, however I am not sure that I am able to pinpoint it to a font. I am currently debugging CDVUIWebViewDelegate code to figure out why. case STATE_WAITING_FOR_LOAD_FINISH: is never achieved. Thus there never is a callback. |
I am now decently sure that the root cause is a decoding error when loading an image... |
Hi I think I found a patch: in folder plugin in CDVspashscreen.m change with and then use the js in your first page window.setTimeout(function () {
Hope it help ;) ! |
I solved it with a similar workaround (i.e. I was using an event) and called hide(). |
event? Can u make example? |
This comment has been minimized.
This comment has been minimized.
My team started having the same exact problem. The solution that worked for us was to manually hide the splash screen specifically for iOS (because manually hiding for Android also failed): <platform name="android">
...
</platform>
<platform name="ios">
<preference name="AutoHideSplashScreen" value="false" />
...
</platform> and then onDeviceready(){
window.navigator.splashscreen.hide();
} |
i have the same problem :( |
Setting Do you have any hint?
|
Updating cordova-ios to v6.0.0 solved my problem |
apps hanging on the splash screen problem is usually caused by javascript problems in the app, has nothing to do with the splash screen plugin |
Might also be related to this:
https://cordova.apache.org/announcements/2020/06/23/cordova-ios-6.1.0.html If any of you is still having problems you can try updating to 6.1.0 to see if it helps. |
I have a problem with my app after upgrading to ios 12. On my app i have an check if a user logged in or not if he logged in i route the user with a window.location to his startscreen. If he doesnt log in he get the first side without any redirect. After the upgrade to ios 12 the splashscreen is after the redirect not closing i can see behind the splashscreen that the screens correct loading only the splashscreen is all the time open. If the user not logged in the app is worked correctly. And if i disable the splashscreen plugin the app is also totally worked. Is there a problem with redirects an the splashscreen plugin? With ios 11 all is working.
The text was updated successfully, but these errors were encountered: