Ionic App Mobile Error on Cellular

Does it work if you create a new app with ionic start and build and run that one?
(Asked before by someone else, but you ignored it)

yes it work , my previous app work well with this methode and the same environment.

I didn’t ask about your previous app, I asked about a newly created app with ionic start.

yes it work . thanks

So what is different between your app that doesn’t work and the one oyu just created?
Compare package.json, config.xml, plugins etc.

Hello sujan , i am create a new project blanc with ionic start , after building and install on my telephone i am the same error . thanks

Before, you said it works. What is it? Works? Or same error?

before it works but now at this morning it not work , same errors .
but sujan when i am create a new project with ionic start it propose me to upgrade ionic and too when i tape npm i on my project it propose to upgrade npm , may be the problem or !

Not really, Ionic CLI does not influence the project itself. But it also doesn’t hurt, so go ahead.

What is different?

Can you run ionic cordova plugins list for both project, the working and the non-working one?

Please also post a screenshot of the exact Android version running on the device you are testing with.

ionic cordova plugins list : work
cordova-plugin-device 2.0.2 “Device”
cordova-plugin-ionic-keyboard 2.0.5 “cordova-plugin-ionic-keyboard”
cordova-plugin-ionic-webview 1.1.19 “cordova-plugin-ionic-webview”
cordova-plugin-splashscreen 5.0.2 “Splashscreen”
cordova-plugin-whitelist 1.3.3 “Whitelist”

ionic cordova plugins list : not work
cordova-plugin-device 2.0.2 “Device”
cordova-plugin-ionic-keyboard 2.1.2 “cordova-plugin-ionic-keyboard”
cordova-plugin-ionic-webview 2.0.0 “cordova-plugin-ionic-webview”
cordova-plugin-splashscreen 5.0.2 “Splashscreen”
cordova-plugin-whitelist 1.3.3 “Whitelist”

i am testing to replace cordova-plugin-ionic-webview for the version 1.2.1

Ok, now I am pretty sure I can bet that you gave me wrong information above:

only works on Android 5 and newer.

You said your device was running Android 7.
I think it is running 4.x now.

now it work . i am replace cordova-plugin-ionic-webview for the version 1.2.1
cordova plugin rm cordova-plugin-ionic-webview
cordova plugin add cordova-plugin-ionic-webview@1.2.1
ionic cordova platforms remove android
rm -rf plugins
ionic cordova build android

here is my android version on telephone : Android Version 5.1.1
thanks sujan

Please post a screenshot of the version on the device.

If changing that plugin didn’t work, could you please compare config.xml between the working and not working project? Any differences?

For future readers of this topic:

If the device you are testing on is using Android 4.x (e.g. Android 4.4 KitKat), this article might explain what is going on and how to fix it: https://ionic.zone/debug/ionic-and-android-4

Same problem here.

Ionic serve is working.
On February 20 I was able to generate an .apk working on device.

Not working in device or emulator.
It shows a white screen with nothing.
Any clue How can I debug?

Ionic info:

ionic (Ionic CLI) : 4.11.0 (/Users/mirg/.nvm/versions/node/v10.14.2/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.0.2
@angular-devkit/build-angular : 0.12.4
@angular-devkit/schematics : 7.2.4
@angular/cli : 7.2.4
@ionic/angular-toolkit : 1.4.0

Cordova:

cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.1.4
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2, (and 12 other plugins)

New app Info working
Ionic:

ionic (Ionic CLI) : 4.11.0 (/Users/mirg/.nvm/versions/node/v10.14.2/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.1.1
@angular-devkit/build-angular : 0.13.5
@angular-devkit/schematics : 7.2.4
@angular/cli : 7.3.5
@ionic/angular-toolkit : 1.4.0

Cordova:

cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.1.4
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2, (and 4 other plugins)

Working in device.

What should I do?

Solved the hard way …
With GitHub and VSC get to merge the new and my not working project.

I think the problem was routing order in the app.module.ts.

So in the device localhost:8100 go to a white page, instead of login …

While in the browser the ionic serve redirect to localhost:8100:/login