Hi, I am using cordova-plugin-advanced-http
in my ionic-v6 Cordova app. I have referred this ionic 6 doc for setting it up.
On Android it is working fine. But on iOS it is returning 400 Bad Request
in the response. Also I am not able to see the network logs on both the platforms for the request sent from this plugin in the browser’s network tab. To confirm this, I tried using HttpClient
of @angular/common/http
. For httpClient I was able to see the logs
The code and plugin is same on both the platforms.
Ionic Info
Ionic:
Ionic CLI : 6.19.0 (/Users/CGauns-mac/.nvm/versions/node/v16.15.0/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.1.12
@angular-devkit/build-angular : 13.2.6
@angular-devkit/schematics : 13.2.6
@angular/cli : 13.2.6
@ionic/angular-toolkit : 6.1.0
Cordova:
Cordova CLI : 11.0.0
Cordova Platforms : ios 6.2.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 23 other plugins)
Utility:
cordova-res : 0.15.4
native-run (update available: 1.6.0) : 1.5.0
System:
ios-deploy : 1.9.2
ios-sim : 8.0.2
NodeJS : v16.15.0 (/Users/CGauns/.nvm/versions/node/v16.15.0/bin/node)
npm : 8.5.5
OS : macOS Big Sur
Xcode : Xcode 13.1 Build version 13A1030d