Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Incomplete
-
3.5.0
-
None
Description
Hey,
I've recently started using the cordova.splashscreen plugin and I have noticed it causes very long loading times in iOS.
When installing this plugin on my iOS application the loading time increased from 1 second to sometimes over 10 seconds. I have tried a number of different configurations to try and find the source of the problem with no success.
My current, best performing, configuration is:
<preference name="AutoHideSplashScreen" value="false" />
<preference name="SplashScreen" value="screen"/>
<preference name="SplashScreenDelay" value="10000" />
<preference name="FadeSplashScreen" value="true"/>
<preference name="FadeSplashScreenDuration" value="500"/>
and I have set a listener to run navigator.splashscreen.hide() on device load.
With the same configuration on an Android device, the application takes around 1 second to load, it shows the splash screen then hides when the application has loaded.
I have noticed with iOS, when I load up the application it shows the splash screen, waits maybe 4 seconds, then starts loading up the cordova application (I can see cordova plugins being loaded in the debug window), waits another 6ish second then hides the splash screen.
I have not been able to find any resolutions to this issue online.