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

AIR 28.0.0.120 - Geolocation not work on iOS devices

Participant ,
Nov 25, 2017 Nov 25, 2017

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
1.6K
Translate
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

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...

Translate
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

Thank you for answer!

I will try it and write here a result.

Translate
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

Yes, thank you.

I have been added:

<key>NSLocationWhenInUseUsageDescription</key>

and

<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>

Geolocation works.

Translate
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

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

Translate
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

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?

Translate
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

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)

Translate
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

Sorry I was talking about Animate CC 2015.

Translate
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

Anyway - try Animate 15.2 or greater.

Translate
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
LATEST

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

Translate
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