Skip to main content
Inspiring
Feb 25, 2016 4:41 PM UTC
Answered

Issue with AMF on iOs

Hello,

While developping a mobile application using flex 4.15 with the latest AIR buid I get the following error when the application calls  a service method on iOS :

[RPC Fault faultString="Echec de l'envoi" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed

- It works on android or on the iPhone simulator but not with an actual Apple device.

- It works  on iOsi f I use AIR 16 instead of AIR 21.

Any Idea ?

Thanks.

This topic is closed to new replies. Start a new post to keep the conversation going.
After24Correct answer
Inspiring
Feb 25, 2016 7:18 PM UTC

Problem solved.

The following key must be added to the <InfoAdditions> tag of the app descriptor :

<key>NSAppTransportSecurity</key>

<dict>

<key>NSAllowsArbitraryLoads</key><true/>

</dict>

1 reply

After24AuthorCorrect answer
Inspiring
Feb 25, 2016 7:18 PM UTC

Problem solved.

The following key must be added to the <InfoAdditions> tag of the app descriptor :

<key>NSAppTransportSecurity</key>

<dict>

<key>NSAllowsArbitraryLoads</key><true/>

</dict>

Translate