Skip to main content
toufiqh24530315
Participant
December 23, 2016
Answered

iOS 10 not working with adobe AIR sdk

  • December 23, 2016
  • 2 replies
  • 679 views

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 has been closed for replies.
Correct answer User Unknow

Read about iOS, HTTPS and

App Transport Security

air 19 & iOs 9 App Transport Security

2 replies

deesharm
Adobe Employee
Adobe Employee
December 29, 2016

Hi,

Kindly refer to below link:

URLRequest - Adobe ActionScript® 3 (AS3 ) API Reference

Thanks,

Adobe AIR Team

User Unknow
User UnknowCorrect answer
Legend
December 23, 2016

Read about iOS, HTTPS and

App Transport Security

air 19 & iOs 9 App Transport Security