Skip to main content
xiaoyangsss
Participant
June 21, 2016
Answered

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

  • June 21, 2016
  • 2 replies
  • 1450 views

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

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

2 replies

jadams602
jadams602Correct answer
Inspiring
June 21, 2016

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

xiaoyangsss
Participant
June 22, 2016

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

thanks a lot!

kglad
Community Expert
Community Expert
June 21, 2016

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