Skip to main content
Alessandro Lambiase
Participant
Dec 4, 2014 8:35 AM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

12 replies

Inspiring
Mar 20, 2015 3:08 PM UTC

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?

Translate
shane_korin
Participant
Jan 6, 2015 12:46 AM UTC

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.

Translate
Alessandro Lambiase
Participant
Jan 7, 2015 9:15 AM UTC

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?

Translate
shane_korin
Participant
Jan 7, 2015 9:27 AM UTC

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)

Translate