apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.15k stars 986 forks source link

SplashScreenDelay should not apply when calling splashscreen.show() / splashscreen.hide() #991

Closed asgeo1 closed 3 years ago

asgeo1 commented 3 years ago

Bug Report

Problem

Calling splashscreen.show() or splashscreen.hide() do not function correctly when SplashScreenDelay is set to a value.

What is expected to happen?

Manually calling splashscreen.show() or splashscreen.hide() should trigger the splash screen to show/hide immediately. The value of SplashScreenDelay is only meant to be taken into account when the app first loads and AutoHideSplashScreen is true - i.e. it's for controlling the initial delay when the app first boots.

(at least, this is how the documentation reads, and how it used to work on previous versions of the splash screen plugin)

One should be able to manually show/hide the splash screen immediately as required.

What does actually happen?

Calling splashscreen.show() or splashscreen.hide(), there is a delay before the action actually happens - the delay being the value of SplashScreenDelay.

Information

Command or Code

Environment, Platform, Device

iOS any version

Version information

Cordova iOS 6.1.1

Checklist

svzi commented 3 years ago

@dpogue When can we expect the version 6.1.2 to be released?

timbru31 commented 3 years ago

As Cordova is maintained by volunteers, often in their free time, we can't give any ETA on release dates.

svzi commented 3 years ago

I fully understand and appreciate the support of all the volunteers! Keep up the good work. 👍