Skip to main content
Known Participant
February 7, 2018
Question

mac OS NSAllowsArbritraryLoads

  • February 7, 2018
  • 2 replies
  • 710 views

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

2 replies

jaco1Author
Known Participant
February 12, 2018

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.

Inspiring
February 7, 2018

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

jaco1Author
Known Participant
February 7, 2018

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

Inspiring
February 7, 2018

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