Skip to main content
Reactor13
Inspiring
Jan 21, 2015 3:49 PM UTC
Answered

AIR 16.0.0.272 geolocation not work on iOS

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 is closed to new replies. Start a new post to keep the conversation going.
Reactor13
Reactor13Correct answer
Inspiring
Jan 22, 2015 2:04 PM UTC

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!

9 replies

Participating Frequently
May 26, 2015 9:19 AM UTC

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

Translate
Inspiring
Mar 22, 2015 8:06 PM UTC

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>

Translate
Participant
Jan 21, 2015 7:21 PM UTC

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.

Translate
Anki_AG_
Adobe Employee
Adobe Employee
Jan 22, 2015 7:58 AM UTC

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

Translate
Reactor13
Reactor13AuthorCorrect answer
Inspiring
Jan 22, 2015 2:04 PM UTC

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!

Translate