MOBILE-2163 config: Increase splash screen time and fix status bar

main
Dani Palou 2018-06-13 09:54:52 +02:00
parent 0703237441
commit a9bed90c0c
2 changed files with 7 additions and 2 deletions

View File

@ -33,7 +33,7 @@
<preference name="AndroidPersistentFileLocation" value="Compatibility" />
<preference name="iosPersistentFileLocation" value="Compatibility" />
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="3000" />
<preference name="SplashScreenDelay" value="10000" />
<preference name="SplashMaintainAspectRatio" value="true" />
<feature name="StatusBar">
<param name="ios-package" onload="true" value="CDVStatusBar" />

View File

@ -41,7 +41,12 @@ export class MoodleMobileApp implements OnInit {
platform.ready().then(() => {
// Okay, so the platform is ready and our plugins are available.
// Here you can do any higher level native things you might need.
statusBar.styleDefault();
if (platform.is('android')) {
statusBar.styleLightContent();
} else {
statusBar.styleDefault();
}
splashScreen.hide();
});