@snikh wrote:
In my app I use
@ionic-native/splash-screenmodule. I hide splashscreen by this logicpublic platformReady(): Promise<void> { return this._platform.ready() .then(() => this._appService.getStartPage()) .then((page: any) => this.rootPage = page) .then(() => new Promise((resolve: Function): number => setTimeout(resolve, 500))) .then(() => this._splashScreen.hide()) .catch((error: Error) => alert(JSON.stringify(error))); }My
config.xmlsettings<preference name="webviewbounce" value="false" /> <preference name="UIWebViewBounce" value="false" /> <preference name="DisallowOverscroll" value="true" /> <preference name="android-minSdkVersion" value="16" /> <preference name="BackupWebStorage" value="none" /> <preference name="StatusBarStyle" value="default" /> <preference name="SplashScreen" value="screen" /> <preference name="orientation" value="default" /> <preference name="SplashMaintainAspectRatio" value="true" /> <preference name="FadeSplashScreenDuration" value="1000" /> <preference name="FadeSplashScreen" value="true" /> <preference name="ShowSplashScreenSpinner" value="true" /> <preference name="AutoHideSplashScreen" value="false" /> <preference name="SplashShowOnlyFirstTime" value="false" /> <preference name="SplashScreenDelay" value="10000" /> <plugin name="cordova-plugin-splashscreen" spec="~5.0.2" />On ios devices all works fine, app loads, then splashscreen fade out during 1 second. But on android devices app loads, then, without fade, I have white screen blink and then app view shows.
ionic info:cli packages: (/usr/local/lib/node_modules) @ionic/cli-utils : 1.19.1 ionic (Ionic CLI) : 3.19.1 global packages: cordova (Cordova CLI) : 6.5.0 Gulp CLI : CLI version 3.9.1 Local version 3.9.1 local packages: @ionic/app-scripts : 3.1.8 Cordova Platforms : android 6.3.0 ios 4.5.4 Ionic Framework : ionic-angular 3.9.2 System: ios-deploy : 1.9.2 Node : v8.6.0 npm : 5.6.0 OS : macOS Sierra Xcode : Xcode 9.0 Build version 9A235Tested on 6 different android real devices with android 4.2.2 to 8.0
Any idea why this happens? Thanks in advance.
Posts: 1
Participants: 1