Copy link to clipboard
Copied
Hi all,
my app never ask for Geolocation permission and it always gave me Geolocation mute.
I've already try the app.xml changes (<name><text xml:lang='en'>MyAppName</text></name>),
adding and removing UIrequiredDeviceCabalities, but no way to make it works...
I have this issue with also Air 15(last) and 16(214)
Someone with the same issue?
Copy link to clipboard
Copied
This is due to changes in iOS8 that require additional permissions to be requested before you are able to access location services.
At this stage you'll need to use an ANE to be able to achieve this, I think.
Copy link to clipboard
Copied
Yeah i'm already work on it...
but i can't understand why Adobe don't beta test his releases or why they correct it on Phone Gap and not on Air...
Adobe do you have in mind to solve this? Or you think that, once you add Native Extensions, we have to keep to check and correct every new release by ourself?
Copy link to clipboard
Copied
If you're interested, we have just added support to our NativeMaps ANE to allow this functionality. We're going to be releasing a Location ANE soon as well which will be cheaper and also contain support for allowing the location authorisation. (distriqt // air native extensions)
Copy link to clipboard
Copied
Good to know, because i'm already one of your clients!
I have the old version of Ane Master Pack, is that update included or i need to upgrade to the new version?
Copy link to clipboard
Copied
Hi,
Thanks for sharing the issue. We have fixed this issue recently and it will be available in next release.
Thanks
Govinda Gupta
Copy link to clipboard
Copied
Thank you for your update...
when do you estimate it's release?
Copy link to clipboard
Copied
It seems to be worse in AIR16 (250)
Now not only doesn't ask, but revokes permission if already given.
https://bugbase.adobe.com/index.cfm?event=bug&id=3920359
Does anyone know when this may be fixed otherwise no apps that use GPS will get to App Store?
Copy link to clipboard
Copied
Hi,
Could you please try the options as suggested in the links given below.
Please let us know if the issue persists.
Thanks,
Adobe Air Team
Copy link to clipboard
Copied
The apps that have the problem are implemented as per that documentation and work when compiled with AIR15.0 en_US (build 20140701)
When compiled with AIR 16 it behaves exactly as described by Leo Chen in the bug report attached
i.e.
- iOS no longer ask user to grant permission to use location service,
- if you have previously granted your app location service permission, iOS will revoke it silently.
- you may manually switch to iOS's settings, and grant your app permission to access iOS's location service (in iOS's "General > Privacy >Location service - find your app's name - set to Always"), while your app is already in running, HOWEVER, iOS will reset IMMEDIATELY when you switch back to your app, or when you trigger the function that requires to use Geolocation api
Copy link to clipboard
Copied
Solution:
wasn't obvious that a change was required from AIR 15 to AIR 16 but is in the Adobe documentation at:
under
Paul
Copy link to clipboard
Copied
That's it! Thanks a lot!
Copy link to clipboard
Copied
so i am trying to figure this out with no luck. I am compiling on AIR 17 (beta) and i have included the following:
<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>
any ideas?