Copy link to clipboard
Copied
Hello,
I've a problem with my Adobe Air mobile application.
I'm using NetConnection class to connect my app to AMFPHP on a server to load my database information.
When I launch the app with an Android device, all works fine.
But, when I'm trying to launch the app on iOS device I got an error :
code : "NetConnection.Call.Failed"
description : "HTTP: Failed"
details : "http://serveuripadress/amfphp/Amfphp"
level : "error"
I'm not able to find an issue for that problem.
Did somebody can help me solve this ?
Glassalau
Thanks for your answer.
I solved the problem by adding some <InfoAdditions> tag in the app descriptor :
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key><true/>
</dict>
Copy link to clipboard
Copied
Starting with Ios 9 all http calls are forbidden by default and only https calls are allowed. Some settings are available in info.plist to lift that restriction.
Copy link to clipboard
Copied
Thanks for your answer.
I solved the problem by adding some <InfoAdditions> tag in the app descriptor :
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key><true/>
</dict>