You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Android, calling the method SplashScreen.show() never resolves the returned promise if the splash screen is already being shown.
Expected Behavior
The promise is resolved if the splash is being shown or not.
Code Reproduction
async function showSplash(){
await SplashScreen.show({autohide:false});
console.log('This is printed');
await SplashScreen.show({autohide:false}); // Waiting here to resolve the promise
console.log('This is NOT printed');
}
Other Technical Details
npm --version output: 6.14.5
node --version output: v12.13.0
pod --version output (iOS issues only): It doesn't apply for ios.
The text was updated successfully, but these errors were encountered:
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Bug Report
Capacitor Version
Platform(s)
Android
Current Behavior
On Android, calling the method
SplashScreen.show()
never resolves the returned promise if the splash screen is already being shown.Expected Behavior
The promise is resolved if the splash is being shown or not.
Code Reproduction
Other Technical Details
npm --version
output: 6.14.5node --version
output: v12.13.0pod --version
output (iOS issues only): It doesn't apply for ios.The text was updated successfully, but these errors were encountered: