• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

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

New Here ,
Dec 04, 2014 Dec 04, 2014

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?

TOPICS
Performance issues

Views

1.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 05, 2015 Jan 05, 2015

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 07, 2015 Jan 07, 2015

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 07, 2015 Jan 07, 2015

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)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 07, 2015 Jan 07, 2015

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 07, 2015 Jan 07, 2015

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 08, 2015 Jan 08, 2015

Copy link to clipboard

Copied

Thank you for your update...
when do you estimate it's release?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 09, 2015 Feb 09, 2015

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Feb 09, 2015 Feb 09, 2015

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 09, 2015 Feb 09, 2015

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 09, 2015 Feb 09, 2015

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:

Adobe AIR * iOS Settings

under

Geolocation Support

Paul

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 26, 2015 Feb 26, 2015

Copy link to clipboard

Copied

That's it! Thanks a lot!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 20, 2015 Mar 20, 2015

Copy link to clipboard

Copied

LATEST

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines