Highlighted

AIR 28.0.0.120 - Geolocation not work on iOS devices

Participant ,
Nov 25, 2017

Copy link to clipboard

Copied

Hi,

Geolocation Services are not working using AIR 28.0.0.120 on iOS 11.

There are no geolocation permission request at app startup. The same code on AIR 27.0.0.132 - OK

Windows 10 x64

Adobe Animate CC 2015.2

AIR 28.0.0.120

iPhone X, iOS 11.1.2

iPhone 5s, iOS 11.1.2

TOPICS
Air beta

Views

1.1K

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

AIR 28.0.0.120 - Geolocation not work on iOS devices

Participant ,
Nov 25, 2017

Copy link to clipboard

Copied

Hi,

Geolocation Services are not working using AIR 28.0.0.120 on iOS 11.

There are no geolocation permission request at app startup. The same code on AIR 27.0.0.132 - OK

Windows 10 x64

Adobe Animate CC 2015.2

AIR 28.0.0.120

iPhone X, iOS 11.1.2

iPhone 5s, iOS 11.1.2

TOPICS
Air beta

Views

1.1K

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
Nov 25, 2017 0
Engaged ,
Nov 25, 2017

Copy link to clipboard

Copied

Check the release notes:

Applications using Geolocation might not show permission dialog if packaged using AIR 28. To fix this you need to add new cocoa keys in application descriptor as per the usage, for more details refer: https://developer.apple.com/documentation/corelocation/choosing_the_authorization_level_for_location...

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...
Nov 25, 2017 0
Participant ,
Nov 25, 2017

Copy link to clipboard

Copied

Thank you for answer!

I will try it and write here a result.

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...
Nov 25, 2017 0
Participant ,
Nov 25, 2017

Copy link to clipboard

Copied

Yes, thank you.

I have been added:

<key>NSLocationWhenInUseUsageDescription</key>

and

<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>

Geolocation works.

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...
Nov 25, 2017 0
Adobe Employee ,
Nov 28, 2017

Copy link to clipboard

Copied

For more details about AIR 28 SDK , please go through http://fpdownload.macromedia.com/pub/labs/flashruntimes/shared/air28_flashplayer28_releasenotes.pdf .

Thanks,

Ankit | Team Adobe AIR

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...
Nov 28, 2017 1
Engaged ,
Nov 29, 2017

Copy link to clipboard

Copied

I have the same problem and I tried to add <key>NSLocationAlwaysAndWhenInUseUsageDescription</key> in the app xml but it crashes my Adobe Flash Pro CC 2015.

Did I make something wrong?

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...
Nov 29, 2017 0
Participant ,
Nov 29, 2017

Copy link to clipboard

Copied

I think, that problem is in version of Flash PRO.

Try Adobe Animate CC 2015.1 (15.1) or 2017 (I can't use 2017, because it use JAVA 1.8 and i can't support my old Android application due RSA-1 certificate)

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...
Nov 29, 2017 1
Engaged ,
Nov 29, 2017

Copy link to clipboard

Copied

Sorry I was talking about Animate CC 2015.

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...
Nov 29, 2017 0
Participant ,
Nov 29, 2017

Copy link to clipboard

Copied

Anyway - try Animate 15.2 or greater.

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...
Nov 29, 2017 1
marcanw LATEST
Engaged ,
Nov 29, 2017

Copy link to clipboard

Copied

Actually it crashes when I reach a number of NS entry...

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...
Nov 29, 2017 0