Skip to main content
Oleg Korchagin
Inspiring
November 25, 2017
Question

AIR 28.0.0.120 - Geolocation not work on iOS devices

  • November 25, 2017
  • 2 replies
  • 1652 views

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

This topic has been closed for replies.

2 replies

Inspiring
November 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?

Oleg Korchagin
Inspiring
November 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)

Inspiring
November 29, 2017

Sorry I was talking about Animate CC 2015.

Inspiring
November 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_services/requesting_always_authorization

Oleg Korchagin
Inspiring
November 25, 2017

Thank you for answer!

I will try it and write here a result.