-
Notifications
You must be signed in to change notification settings - Fork 62
Description
Currently this project won't run quite right off the bat for iOS (and potentially other platforms other than android) due to the config.xml file's current preferences for Splash Screen. It will hang on the splash screen indefinitely.
When these preferences are specified:
<preference name="AutoHideSplashScreen" value="false" />
<preference name="SplashScreenDelay" value="10000" />
There's a quirk in the Splash Screen plugin that requires you to also add some code like the following after deviceready
to delay the splash screen for a certain number of seconds (in this case 1):
setTimeout(function() {
navigator.splashscreen.hide();
}, 1000);
This could be added into the starter project in the app.js startApp()
function.
Or you could move those preferences into the android platform in the config.xml file specifically:
<!-- ANDROID -->
<platform name="android">
<preference name="SplashScreenDelay" value="10000" />
<preference name="AutoHideSplashScreen" value="false" />
...
</platform>
I plan to create a PR to help fix up the config.xml file and whatever else based on the other things I opened this morning but wanted to document these issues at least for now in case others run across them. :)