Loading application fails in Moto G5 plus Nougat

I have developed a mobile application with Ionic angular and using cordova for plugins. The application works perfect from the browser.

I have built the apk for android devices. I have tried on 8 phoned and on 6 phones the app works fine. But on couple of phones like Motorola G5 Plus of Nougat, the application is not loading first time. If I press back button and app goes to background. If I open the app to foreground and provide username and login, it works fine. I can see below error in the adb logs

09-04 16:04:09.437 16114 16114 D SystemWebChromeClient: file:///android_asset/www/build/9.js: Line 110 : Hello LoginBackgroundSlider Page
09-04 16:04:09.437 16114 16114 I chromium: [INFO:CONSOLE(110)] “Hello LoginBackgroundSlider Page”, source: file:///android_asset/www/build/9.js (110)
09-04 16:04:09.571 16114 16114 D CordovaWebViewImpl: onPageFinished(file:///android_asset/www/index.html#/login-background-slider)
09-04 16:04:09.660 587 652 I SFPerfTracer: triggers: (rate: 560:14849) (25059746 sw vsyncs) (0 skipped) (151:16303643 vsyncs) (153:41605981)
09-04 16:04:09.792 16114 16114 D SystemWebChromeClient: file:///android_asset/www/build/vendor.js: Line 152327 : Ionic Native: deviceready event fired after 2405 ms
09-04 16:04:09.792 16114 16114 I chromium: [INFO:CONSOLE(152327)] “Ionic Native: deviceready event fired after 2405 ms”, source: file:///android_asset/www/build/vendor.js (152327)
09-04 16:04:09.793 16114 16394 I App : WARNING: Back Button Default Behavior will be overridden. The backbutton event will be fired!
09-04 16:04:09.850 16114 16114 D SystemWebChromeClient: file:///android_asset/www/build/vendor.js: Line 77421 : Native: tried calling StatusBar.styleDefault, but the StatusBar plugin is not installed.
09-04 16:04:09.851 16114 16114 I chromium: [INFO:CONSOLE(77421)] “Native: tried calling StatusBar.styleDefault, but the StatusBar plugin is not installed.”, source: file:///android_asset/www/build/vendor.js (77421)
09-04 16:04:09.851 16114 16114 D SystemWebChromeClient: file:///android_asset/www/build/vendor.js: Line 77427 : Install the StatusBar plugin: ‘ionic cordova plugin add cordova-plugin-statusbar’
09-04 16:04:09.851 16114 16114 I chromium: [INFO:CONSOLE(77427)] “Install the StatusBar plugin: ‘ionic cordova plugin add cordova-plugin-statusbar’”, source: file:///android_asset/www/build/vendor.js (77427)
09-04 16:04:10.293 16114 16114 D SystemWebChromeClient: file:///android_asset/www/build/vendor.js: Line 2015 : ERROR
09-04 16:04:10.293 16114 16114 I chromium: [INFO:CONSOLE(2015)] “ERROR”, source: file:///android_asset/www/build/vendor.js (2015)

Have you overriden back button code before platform ready event check it

No. The app.components.ts constructor first statement is this.initializeApp(); and the method does this

initializeApp() {
this.platform.ready().then(() => {
this.global.set(‘theme’, ‘’);
this.statusBar.styleDefault();
this.splashScreen.hide();
this.menuCtrl.enable(false, ‘right’);

});

}

Also I am not sure why this issue happening on some phones and not on all.