You can turn off the automatic processing of the screen saver and programmatically hide it when the application is ready.
Originally from the ionic graphics forum (with slight modifications):
Install the splashscreen plugin for cordons:
cordova plugin add cordova-plugin-splashscreen
Make sure the following is in the config.xml file of your project:
<preference name="AutoHideSplashScreen" value="false" /> <preference name="ShowSplashScreenSpinner" value="false" />
In app.js, add the following to the run method:
setTimeout(function() { navigator.splashscreen.hide(); }, 100);
After adding, the code should look like this:
angular.module('app', ['ionic', 'app.controllers', 'app.routes', 'app.services', 'app.directives']) .run(function($ionicPlatform) { $ionicPlatform.ready(function() {
source share