You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ilyary (via GitHub)" <gi...@apache.org> on 2023/05/02 20:51:09 UTC
[GitHub] [cordova-android] ilyary commented on issue #1463: navigator.splashscreen.hide() issue in cordova-android v11.0.0 when AutoHideSplashScreen is true or app uses redirect
ilyary commented on issue #1463:
URL: https://github.com/apache/cordova-android/issues/1463#issuecomment-1532133137
On my setup hide() method failed on page error, when I was calling navigator.splashscreen.hide(); from my error.html handling page.
However, I have noticed the SplashScreenPlugin has been initialised twice in this case.
I made a jump of truth: `private boolean keepOnScreen = true;` -> `private static boolean keepOnScreen = true;` in the plugin, and it worked!
Of course, it's not a real solution, but gives a spot of light what's going on here
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org