Skip to content

Instantly share code, notes, and snippets.

@technbuzz
Last active October 25, 2017 04:55
Show Gist options
  • Save technbuzz/6cf81d57e78b4333f3af5f27f640efda to your computer and use it in GitHub Desktop.
Save technbuzz/6cf81d57e78b4333f3af5f27f640efda to your computer and use it in GitHub Desktop.
Fix Ionic Common Issues like timeout and splash screen delay, or apk installation
initializeApp() {
this.platform.ready().then(() => {
this.statusBar.overlaysWebView(false);
this.statusBar.backgroundColorByHexString('#243B72');
this.statusBar.styleLightContent();
setTimeout(() => {
this.splashScreen.hide();
}, 100);
});
}
<name>App Name</name>
<description>App Description</description>
<author email="mail@company.com" href="http://company.com/">Awesome Team</author>
<preference name="loadUrlTimeoutValue" value="700000" />
<preference name="SplashScreenDelay" value="50000" />
<preference name="ShowSplashScreenSpinner" value="false" />
"name": "appName"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment