Splash screen settings in 'capacitor.config.json' are ignored
See original GitHub issueDescribe the bug
We can increase the display time of the splash screen by capacitor.config.json. (doc link)
This is useful when it takes time to prepare the capacitor app.
However, because quasar forces off splash screen, the setting is ignored. The relevant part is below. https://github.com/quasarframework/quasar/blob/ffaa7d5b2eba4e6bdb22a8329a793307cb0472c1/app/templates/entry/app.js#L54-L56
The following settings are ignored by the above quasar’s app.js
// capacitor.config.json
{
"plugins": {
"SplashScreen": {
"launchShowDuration": 5000
}
}
}
or
// capacitor.config.json
{
"plugins": {
"SplashScreen": {
"launchAutoHide": false
}
}
}
To Reproduce
- Add above settings to capacitor.config.json
- Run capacitor app
- Then, you can see
capacitor.config.jsonsetting is ignored
(Because Quasar hide splash screen atmounted()part )
Expected behavior
I think that quasar is better not to operate splash screen.
It should be left to the capacitor.
By removing below part, we can configure splash screen with capacitor.config.json.
Even if there is no setting, the capacitor automatically hides the splash screen after 3000ms.
Developers who want to reduce the splash screen time can use SplashScreen.hide () separately.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)

Top Related StackOverflow Question
@go-u an option for disabling Quasar’s
auto-hide the SplashScreen when the app is loadedfeature has been added in https://github.com/quasarframework/quasar/commit/350d8a4998e18931068933f3b0be4a08795d57f8.@rstoenescu I think this issue can be closed now.
@yusufkandemir @rstoenescu Sure, no problem. I’m glad I could be of help to this project. 😉