Skip to main content
Reactor13
Inspiring
January 21, 2015
Answered

AIR 16.0.0.272 geolocation not work on iOS

  • January 21, 2015
  • 3 replies
  • 2059 views

Geolocation services not works at all on iOS devices if application compile using AIR SDK 16.0.0.272 for Windows.

While the release notes indicated: (fixed issues) Geolocation services are not working (Bug 3916071)

Geolocation service is allways muted on iOS 8.1.2.

There are no system dialog about Geolocation permission, as well as by using AIR SDK 16.0.0.250 beta

Is it a know issue?

This topic has been closed for replies.
Correct answer Reactor13

Yes, using additional key-value it's work!

<key>NSLocationAlwaysUsageDescription</key>

<string>Sample description to allow geolocation always</string>

or

<key>NSLocationWhenInUseUsageDescription</key>

<string>Sample description to allow geolocation when application is in foreground</string>

Thank you!

3 replies

Participating Frequently
May 26, 2015

I solved the issue using local shared Object, May be it will help you

https://riteshnewal.wordpress.com/wp-admin/post.php?post=130&action=edit&postpost=v2

Inspiring
March 22, 2015

for the life of me, i am trying to make it work with out any success. Can you help? this is my manifest

<iPhone>

    <Entitlements>

  <![CDATA[ <key>get-task-allow</key>

  <false/>

  <key>beta-reports-active</key>

  <true/> ]]>

  </Entitlements>

        <InfoAdditions><![CDATA[

  <key>UIDeviceFamily</key>

  <array>

  <string>1</string>

  <string>2</string>

  </array>

          <key>NSLocationAlwaysUsageDescription</key>

             <string>Sample description to allow geolocation always</string>

             <key>NSLocationWhenInUseUsageDescription</key>

             <string>Sample description to allow geolocation when application is in foreground</string>             

  ]]></InfoAdditions>

        <requestedDisplayResolution>high</requestedDisplayResolution>

    </iPhone>

Participant
January 21, 2015

I'm having the same issue here. Geolocation doesn't work with the most recent version of AIR despite the claim that this has been fixed.

Anki_AG_
Adobe Employee
Adobe Employee
January 22, 2015

Hi,

Could you please follow the steps mentioned at Adobe AIR * iOS Settings and Geolocation - Adobe ActionScript® 3 (AS3 ) API Reference for Geolocation.

Please let us know if that does not work for you.

Thanks,

Adobe Air Team

Reactor13
Reactor13AuthorCorrect answer
Inspiring
January 22, 2015

Yes, using additional key-value it's work!

<key>NSLocationAlwaysUsageDescription</key>

<string>Sample description to allow geolocation always</string>

or

<key>NSLocationWhenInUseUsageDescription</key>

<string>Sample description to allow geolocation when application is in foreground</string>

Thank you!