• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Connection to AMFPHP failed on iOS application

Guest
Apr 28, 2016 Apr 28, 2016

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

TOPICS
Performance issues

Views

388

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Apr 29, 2016 Apr 29, 2016

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>

Votes

Translate

Translate
Advocate ,
Apr 29, 2016 Apr 29, 2016

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 29, 2016 Apr 29, 2016

Copy link to clipboard

Copied

LATEST

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>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines