This is a migrated thread and some comments may be shown as answers.

ios8 changes geolocation permissions

5 Answers 49 Views
Apple iOS
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Denise
Top achievements
Rank 1
Denise asked on 26 Nov 2014, 11:22 PM
In IOS8, an app can request permission to use a service (like Geolocation) just when the app is in the foreground, or also when the app is in the background.

Currently when I install my app on IOS8 device, it asks for permissions Geolocation even when the app is in the background.  I assume that is default behavior for the Cordova plugin?

My app doesn't use or need the Geolocation service in the background.  Is there some way to change the configuration so that it doesn't request this permission?   I think it would scare off users.

5 Answers, 1 is accepted

Sort by
0
Denise
Top achievements
Rank 1
answered on 26 Nov 2014, 11:59 PM
I should add that in the configuration options for ios the "background mode" is set to "off" for all services.  (I think it is "off" --- the on/off coloration is not clear.  screenshot attached.)
0
Denise
Top achievements
Rank 1
answered on 27 Nov 2014, 12:47 AM
Another update:  I see that the Cordova plugin version in appbuilder is 0.3.8.  In github it appears that version 0.3.10 has fixed this issue and several others relating to IOS & geolocation.

Can I change the version of a plugin that is used in appbuilder?
Or should I turn off the "core plugin" feature and add the newer plugin as a custom plugin?
0
Tsvetina
Telerik team
answered on 01 Dec 2014, 08:51 AM
Hi Denise,

When you need to use a different version of a core plugin than the one currently available in AppBuilder, you should indeed turn off the core plugin and import the newer version as a custom plugin. Let us know if you encounter any problems with this.

Regards,
Tsvetina
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Nima
Top achievements
Rank 1
answered on 20 Jan 2015, 08:04 PM
Will you be including a new version of the core location plugin in your next AppBuilder version?
0
Tsvetina
Telerik team
answered on 21 Jan 2015, 10:00 AM
Hi Nima,

The new version of the Geolocation plugin is already available in AppBuilder. You first need to make sure that you have updated the target Cordova version to 3.7. To do this:

1) Right-click the project name and choose Properties.
2) Under General, open the Cordova version dropdown and select 3.7.0.
3) Save and close the properties window.

Now, if you open Properties again, and navigate to Plugins, you will see that the Geolocation plugin version is 0.3.11 (instead of the older 0.3.8).

Regards,
Tsvetina
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Apple iOS
Asked by
Denise
Top achievements
Rank 1
Answers by
Denise
Top achievements
Rank 1
Tsvetina
Telerik team
Nima
Top achievements
Rank 1
Share this question
or