Hi, I’ve written a simple vue app that performs an ajax call to
http://jsonplaceholder.typicode.com/posts
If I start the app with
npm run watch:ios
and perform the ajax call the console output is
App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app’s Info.plist file.
I’ve changed the Info.plist under
ios/app/App_Resources/iOS/Info.plist
to
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true />
<dict>
but this does not any effect. If I build the app with xcode an run the app, the xcode console shows the response of the ajax request correctly.
Any help?
Thanks, Markus