Skip to main content
Known Participant
Feb 7, 2018 9:57 AM UTC
Question

mac OS NSAllowsArbritraryLoads

hi,

starting from air 27, http invokes fail with IOError #2032, reading from here:
Release Notes Flash Player 27 AIR 27

App Transport Security

With macOS 10.11, Apple has introduced App Transport Security (ATS) which mandates that applications use secure network connections over HTTPS only. Because this is a significant change, Apple has provided applications an override via NSAllowsArbitraryLoads which will allow insecure connections.

...

application needs additional cocoa keys.
Ok got it, but it's missing how to do that.

Suppose that the key is NSAllowsArbitraryLoads.

So, what is the right approach to allow developing air for desktop in osx? I mean also during debugging with adl, We need to continue invoking http and the only option is to work up to sdk 26.

Thanx in advance.

This topic is closed to new replies. Start a new post to keep the conversation going.

7 replies

jaco1Author
Known Participant
Feb 12, 2018 4:22 PM UTC

hi,

we're actually deploying .air package with sdk28, it actually works with http, hoping the air runtime will support for some time in the future.

As a simple workaround, we created two build configs, the one for developing under the latest sdk26 without http hassles, one with sdk28 for deploying purposes.

Translate
Inspiring
Feb 7, 2018 3:12 PM UTC

Only use https, that's fairly straight forward. There's 0 problem doing that with AIR even in debugging.

Translate
jaco1Author
Known Participant
Feb 7, 2018 3:20 PM UTC

yes I know, but it's definetly not an option, that's why there is a discussion here.

Translate
Inspiring
Feb 7, 2018 4:00 PM UTC

I guess I'm asking why is it not an option for you?

Translate