fquirin opened a new issue, #1463: URL: https://github.com/apache/cordova-android/issues/1463
# Bug Report ## Problem I recently updated Cordova and the Android platform plugin both to v11.0.0, adjusted my config.xml to use `AndroidWindowSplashScreenAnimatedIcon`, removed old splash screen entries (except the ones mentioned below) and made a **clean build** of my project (Node.js 14). My app was previously able to close the splash screen manually so I had `AutoHideSplashScreen` set to `true`, `SplashScreenDelay` set to `10000` and simply used `navigator.splashscreen.hide()` to close the splash screen when my app is ready (depending on the device and connection quality 1-4s). In the worst case it would close after 10s. ### What is expected to happen? `navigator.splashscreen.hide()` is supposed to close the splash screen before `SplashScreenDelay` expires. ### What does actually happen? The splash screen always stays for the full `SplashScreenDelay` time. ## Information - I've tried different settings for `AutoHideSplashScreen` and `SplashScreenDelay` but nothing worked - I can see log entries of my app trying to call `navigator.splashscreen.hide()` after a while with no effect - I've done some remote debugging of the app using Chrome and tried to call the hide function manually with no effect (and no error message). Interestingly the remote screen is blank as long as the splash screen is open, but the dev console clearly shows that my app finished loading (including login of the user). - The exact same code was working in Cordova 9 with Android platform plugin v8.1.0 ### Command or Code Set the `SplashScreenDelay` to 60s and call `navigator.splashscreen.hide()` after device-ready but while the splash screen is still showing. ### Environment, Platform, Device I've tested the Android Emulator with Android 12.1, (real) Samsung mobile with Android 8, (real) Samsung tablet with Android 11. Every device has the same issue. ### Version information Cordova: "Pure" Cordova v11.0.0 with Android platform v11.0.0, no Ionic, no Capacitor Windows 11, Android Studio 2021.2.1 Patch 1 ## Checklist - [x] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
