mardi 27 septembre 2016

Adobe Air Can't Connect to Server on iOS10

I have an application on Appstore like 2 years. I developed with Adobe AIR.

On iOS10 my app not working. Can't connect to http links.

I debug and get error from connections: Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL:

I used HTTPStatusEvent.HTTP_STATUS for understand any solution, it gives 0

Any methods to solve?


var urlReq:URLRequest = new URLRequest ("");            
urlReq.method = URLRequestMethod.POST;          
var urlVars:URLVariables = new URLVariables();          
urlVars.user_id = Main.instance.userID; = urlVars; 

var loader:URLLoader = new URLLoader (urlReq);
loader.addEventListener(Event.COMPLETE, onCreditComplete);

loader.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS, httpStatusHandler);
loader.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatusHandler);

loader.dataFormat = URLLoaderDataFormat.VARIABLES;

Aucun commentaire:

Enregistrer un commentaire