Build ionic app android

#1

hi.
i make android app with ionic 4,when run on chrome browser its work and fine.but when run in android device Hang up on Splash Screen!??

please help me
tansks

#2

try

  1. Adding <preference name="loadUrlTimeoutValue" value="700000" /> to config.xml file.
  2. Use this constructor in app.component.ts
import {SplashScreen} from '@ionic-native/splash-screen';
import {StatusBar} from '@ionic-native/status-bar';
import {Config, Nav, Platform} from 'ionic-angular';
// ...
constructor(
    platform: Platform,
    private statusBar: StatusBar,
    private splashScreen: SplashScreen,
  ) {
    platform.ready().then(() => {
      this.statusBar.styleDefault();
      this.splashScreen.hide();
    });
  }