I am update my ionic to the latest recently, and I have CORS issue in iOS 11, so I have added the allow-access-control-origin:* header in the server. Then iOS now work fine, but Android PUT/POST is not working now, it give 403 forbidden when I inspect it in chrome.
My info:
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.15.2
ionic (Ionic CLI) : 3.15.2
global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
@ionic/app-scripts : 3.0.1
Cordova Platforms : android 6.3.0 ios 4.5.3
Ionic Framework : ionic-angular 3.8.0
System:
ios-deploy : 1.9.2
ios-sim : 5.0.13
Node : v7.10.0
npm : 5.5.1
OS : macOS Sierra
Xcode : Xcode 9.0.1 Build version 9A1004
nvironment Variables:
ANDROID_HOME : not set
Misc:
backend : legacy
Anyone know how to solve it? Thanks a lot.