Skip to main content
Alessandro Lambiase
Participant
December 4, 2014
Question

Air 16 (222) for Ios 8 Geolocation Mute and no asking permission

  • December 4, 2014
  • 2 replies
  • 1916 views

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?

This topic has been closed for replies.

2 replies

Inspiring
March 20, 2015

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?

shane_korin
Participant
January 6, 2015

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.

Alessandro Lambiase
Participant
January 7, 2015

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?

shane_korin
Participant
January 7, 2015

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)