diff --git a/android/capacitor/src/main/java/com/getcapacitor/Splash.java b/android/capacitor/src/main/java/com/getcapacitor/Splash.java index 4fca9d3b61..480638b738 100644 --- a/android/capacitor/src/main/java/com/getcapacitor/Splash.java +++ b/android/capacitor/src/main/java/com/getcapacitor/Splash.java @@ -243,6 +243,11 @@ public void run() { } } }, showDuration); + } else { + // If no autoHide, call complete + if (splashListener != null) { + splashListener.completed(); + } } } diff --git a/ios/Capacitor/Capacitor/Plugins/SplashScreen.swift b/ios/Capacitor/Capacitor/Plugins/SplashScreen.swift index 60894104d0..b0e5e80122 100644 --- a/ios/Capacitor/Capacitor/Plugins/SplashScreen.swift +++ b/ios/Capacitor/Capacitor/Plugins/SplashScreen.swift @@ -183,6 +183,8 @@ public class CAPSplashScreenPlugin: CAPPlugin { self.hideSplash(fadeOutDuration: fadeOutDuration, isLaunchSplash: isLaunchSplash) completion() } + } else { + completion() } } }