fix: splash screen squashed on Android

This commit is contained in:
Tienson Qin
2021-09-30 14:03:50 +08:00
parent f3e480874c
commit a5a38d9ccd
29 changed files with 15 additions and 6 deletions

View File

@@ -8,7 +8,10 @@ const config: CapacitorConfig = {
plugins: {
SplashScreen: {
launchShowDuration: 3000,
launchAutoHide: false
launchAutoHide: false,
androidScaleType: "CENTER_CROP",
splashImmersive: true,
backgroundColor: "#00405b"
},
}
// do not commit this into source control