Skip to main content
toufiqh24530315
Participant
Dec 23, 2016 6:03 PM UTC
Answered

iOS 10 not working with adobe AIR sdk

Hello,

I am using flash builder 4.6. We created an iPad app that loads the login screen but fails to make any http request for iOS10. Same code works for any previous version of iPad but not in iOS 10. I am using AIR SDK 24.

Basically app loads in ios10, but when I make any http call it fails. In HTTPService and it always goes to fault event where it says http request fails. Below is a sample code.

var params:Object = new Object();

params['username'] = username;

params['password'] = password;

httpObj = new HTTPService();

httpObj.method = "POST";

httpObj.url = loginurl;

httpObj.addEventListener("result",handleResult);

httpObj.addEventListener("fault", handleFault);

httpObj.send(params);

In handlefault I am just printing event.fault.faultString value.

This topic is closed to new replies. Start a new post to keep the conversation going.
User Unknow
User UnknowCorrect answer
Legend
Dec 23, 2016 11:41 PM UTC

Read about iOS, HTTPS and

App Transport Security

air 19 & iOs 9 App Transport Security

2 replies

deesharm
Adobe Employee
Adobe Employee
Dec 29, 2016 11:15 AM UTC

Hi,

Kindly refer to below link:

URLRequest - Adobe ActionScript® 3 (AS3 ) API Reference

Thanks,

Adobe AIR Team

Translate
User Unknow
User UnknowCorrect answer
Legend
Dec 23, 2016 11:41 PM UTC

Read about iOS, HTTPS and

App Transport Security

air 19 & iOs 9 App Transport Security

Translate