@leo050011 wrote:
I am using Ionic 5 to build an app. It works fine on browser. But not on real device. And I am using jQuery POST to make a request. I got an error message:
readystate 0 responsetext status 0 statustext error
My environment is:
Ionic CLI : 6.4.3 (C:\Program Files\nodejs\node_modules@ionic\cli)
Ionic Framework : @ionic/angular 5.0.7
@angular-devkit/build-angular : 0.803.26
@angular-devkit/schematics : 8.3.26
@angular/cli : 8.3.26
@ionic/angular-toolkit : 2.2.0
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 6 other plugins)
System:
NodeJS : v12.16.1 (C:\Program Files\nodejs\node.exe)
npm : 6.14.4
OS : Windows 10
I made some changes in config.xml file:
Posts: 1
Participants: 1