How can I tell Cordoba not to hide the screensaver?

I have the following in my config.xml ...

  <feature name="SplashScreen">
    <param name="ios-package" value="CDVSplashScreen"/>
    <param name="onload" value="true" />
  </feature>
  <preference name="auto-hide-splash-screen"    value="false" />
  <preference name="AutoHideSplashScreen"       value="false" />
  <preference name="SpalshScreenDelay"          value="60000" />

  <gap:splash src="res/screen/ios/screen-iphone-portrait.png"   gap:platform="ios"     width="320" height="480" />
  <gap:splash src="res/screen/ios/screen-iphone-portrait-2x.png"   gap:platform="ios"     width="640" height="960" />
  <gap:splash src="res/screen/ios/screen-iphone-portrait-568h-2x.png"  gap:platform="ios"     width="640" height="1136" />
  <gap:splash src="res/screen/ios/screen-ipad-portrait.png"  gap:platform="ios"     width="768" height="1024" />
  <gap:splash src="res/screen/ios/screen-ipad-landscape.png"  gap:platform="ios"     width="1024" height="768" />

  <gap:plugin name="org.apache.cordova.splashscreen" />

When I open the application on the device, I see a splash screen ... but it closes by itself, I do not call javascript to close it. He should just say forever.

This is what I see in the device logs:

Jul 15 17:04:41 iPad-5 TRAF[2615] <Warning>: Multi-tasking -> Device: YES, App: YES
Jul 15 17:04:41 iPad-5 TRAF[2615] <Warning>: Unlimited access to network resources
Jul 15 17:04:41 iPad-5 TRAF[2615] <Warning>: Fix applied for database locations?: YES
Jul 15 17:04:41 iPad-5 TRAF[2615] <Warning>: [CDVTimer][file] 5.380988ms
Jul 15 17:04:41 iPad-5 TRAF[2615] <Warning>: [CDVTimer][splashscreen] 27.823985ms
Jul 15 17:04:41 iPad-5 TRAF[2615] <Warning>: [CDVTimer][TotalPluginStartup] 37.027001ms
Jul 15 17:04:41 iPad-5 TRAF[2615] <Warning>: Resetting plugins due to page load.
Jul 15 17:04:43 iPad-5 TRAF[2615] <Warning>: Finished load of: file:///var/mobile/Applications/662EC33F-CC74-42C4-83F0-4D4EC759EF80/TRAF.app/www/index.html#/

I do not want the splash screen to close until I say. So everything I read as I have config.xml should work, but ... nada.

Any ideas?

+4
source share

Source: https://habr.com/ru/post/1548576/


All Articles