Skip to main content
xiaoyangsss
Participant
Jun 21, 2016 8:36 AM UTC
Answered

in air22,use URLLOADER access the website and download files generate a 2032 error

In version air19 , we use the URLRequest and URLLoader in ios devices (ios version 10.0.0) can access http://kyt.jxt189.com/ydt/flash/kyt/UpdateContent.xml in ios, and we can in ios devices (ios version 10.0.0) download the XML file. but in version air22. when we download the XML in ios devices (ios version 10.0.0) , 2023 error will occur, what reason be excuse me?

This topic is closed to new replies. Start a new post to keep the conversation going.
jadams602
jadams602Correct answer
Inspiring
Jun 21, 2016 5:44 PM UTC

Starting with AIR SDK 20, the AIR Runtime is now built with the iOS 9 SDK, this opens up the new requirement from Apple about App Transport Security:

Flash Player Help | Release Notes | Flash Player® 20 AIR® 20

Certainly sounds like you are running into missing NSAppTransportSecurity settings in your app descriptor if you are trying to use http: URLs and not https:

For example, like the following discussion:

URLLoader iOS - Error #2032: Stream Error « Starling Forum

7 replies

jadams602
jadams602Correct answer
Inspiring
Jun 21, 2016 5:44 PM UTC

Starting with AIR SDK 20, the AIR Runtime is now built with the iOS 9 SDK, this opens up the new requirement from Apple about App Transport Security:

Flash Player Help | Release Notes | Flash Player® 20 AIR® 20

Certainly sounds like you are running into missing NSAppTransportSecurity settings in your app descriptor if you are trying to use http: URLs and not https:

For example, like the following discussion:

URLLoader iOS - Error #2032: Stream Error « Starling Forum

Translate
xiaoyangsss
Participant
Jun 22, 2016 3:12 AM UTC

3Q. we solved this problem by NSAppTransportSecurity settings in my app descriptor.

thanks a lot!

Translate
kglad
Community Expert
Community Expert
Jun 21, 2016 3:14 PM UTC

i don't see a problem in the air ios simulator using air 22.  do you?

Translate