Copy link to clipboard
Copied
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?
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!
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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!
Copy link to clipboard
Copied
Do you know if there is a way to provide localized strings for NSLocationAlwaysUsageDescription and NSLocationWhenInUseUsageDescription? If not, I created a feature requests on Adobe's bugbase that you can vote Feature#3954108 - Ability to localize strings inside the iOS info plist
Copy link to clipboard
Copied
I'm facing the same problem... would be nice to add localisation in location key Info Additions. It's even a must have for multi languages apps.
Copy link to clipboard
Copied
Hi,
Thanks for reporting the issue. We have added this request in list of our backlog items. For tracking this issue in future please use ID 4013818.
Thanks,
Adobe Air Team
Copy link to clipboard
Copied
Oh, thank god. I was struggling to figure this out! Thanks!
Copy link to clipboard
Copied
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>
Copy link to clipboard
Copied
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