Highlighted

mac OS NSAllowsArbritraryLoads

New Here ,
Feb 07, 2018

Copy link to clipboard

Copied

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.

TOPICS
Development

Views

348

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

mac OS NSAllowsArbritraryLoads

New Here ,
Feb 07, 2018

Copy link to clipboard

Copied

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.

TOPICS
Development

Views

349

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 07, 2018 0
Advocate ,
Feb 07, 2018

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 07, 2018 0
New Here ,
Feb 07, 2018

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 07, 2018 0
Advocate ,
Feb 07, 2018

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 07, 2018 0
New Here ,
Feb 07, 2018

Copy link to clipboard

Copied

for many reasons, e.g. customer effort or slow switching all his endpoints. It's not supposed a developer can always control full project flow, anyway I'm often facing this problem.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 07, 2018 0
Advocate ,
Feb 07, 2018

Copy link to clipboard

Copied

This should be similar and give you the answer:

App Transport Security problem in 27.0beta

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 07, 2018 0
New Here ,
Feb 07, 2018

Copy link to clipboard

Copied

thanx, I appreciate your help. Of course i've read that topic, there is some confusion about desktop and mobile scenario.

.plist editing is the actual workaround, as suggested in release notes, but it's NOT the answer!

you need to package as .dmg, but what about .air?

you can't debug, we know is the 99% of time spent on projects.

aside note: you cannot use the (very useful in many circumstances) mobile air simulator, since it relies on desktop runtime.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 07, 2018 0
jaco1 LATEST
New Here ,
Feb 12, 2018

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 12, 2018 0