Set up WKWebView in my ionic project according to http://ionicframework.com/docs/wkwebview/. It can work in browser serve mode. But xhr cannot work on real iphone.
- I added <allow-navigation href=“http://localhost:8080/*” / > to config.xml
- I added @CrossOrigin to web controller of server
- I added “proxy_set_header Access-Control-Allow-Origin *” to nginx configuration
Is there anyone who made it work?