• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

AIR 28.0.0.120 - Geolocation not work on iOS devices

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

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
community guidelines
Engaged ,
Nov 25, 2017 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...

Votes

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
community guidelines
Participant ,
Nov 25, 2017 Nov 25, 2017

Copy link to clipboard

Copied

Thank you for answer!

I will try it and write here a result.

Votes

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
community guidelines
Participant ,
Nov 25, 2017 Nov 25, 2017

Copy link to clipboard

Copied

Yes, thank you.

I have been added:

<key>NSLocationWhenInUseUsageDescription</key>

and

<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>

Geolocation works.

Votes

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
community guidelines
Adobe Employee ,
Nov 28, 2017 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

Votes

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
community guidelines
Engaged ,
Nov 29, 2017 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?

Votes

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
community guidelines
Participant ,
Nov 29, 2017 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)

Votes

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
community guidelines
Engaged ,
Nov 29, 2017 Nov 29, 2017

Copy link to clipboard

Copied

Sorry I was talking about Animate CC 2015.

Votes

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
community guidelines
Participant ,
Nov 29, 2017 Nov 29, 2017

Copy link to clipboard

Copied

Anyway - try Animate 15.2 or greater.

Votes

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
community guidelines
Engaged ,
Nov 29, 2017 Nov 29, 2017

Copy link to clipboard

Copied

LATEST

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

Votes

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
community guidelines