How to completely disable the splashscreen? #1341
Replies: 14 comments 5 replies
-
I don't know about completely disabling the splashscreen but hiding it when the app is loaded in Vue is simple enough. Add the following line in the mounted hook in the App.vue-file: SplashScreen.hide() |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
-
@mlynch, I do have a use case in which I would like to completely disable the splash screen. I have a native component that is used initially on launch. (different ViewController in iOS and different Activity in Android) The user is then brought into the Capacitor component from that native piece. |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
-
Guys, I've made some progress on it tweaking the SplashScreen.java, overriding those fade params. Has anyone got success on it? |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
-
in BridgeActivity.main you can remove Splash.showOnLaunch(this); |
Beta Was this translation helpful? Give feedback.
-
You can disable the splash screen by setting |
Beta Was this translation helpful? Give feedback.
-
Something new here? |
Beta Was this translation helpful? Give feedback.
-
None of these solutions are working for me. This can't possibly be that hard!? |
Beta Was this translation helpful? Give feedback.
-
In capacitor 3 you can just don’t install the splash screen plugin. But it will still show the launch storyboard on iOS and the activity background on android and while the webview load you’ll see a white screen for a brief moment. |
Beta Was this translation helpful? Give feedback.
-
Is there a solution now? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I figured out how to do it for electron easily, but for android/ios I can't find configuration anywhere to turn it off, I'm told to call a function to tell capacitor when the app is done loading, but I don't know how to do that within vue (within webpack)
Beta Was this translation helpful? Give feedback.
All reactions