How to disable location tracking for ios?

Answered

Comments

3 comments

  • Avatar
    Vitaly Romanychev

    Hi,

    Did you try the following method?

    - (void)stopLocationTracking

    This is a method of PushNotificationManager class and should be called in your app, not in config.xml

    To start location tracking again use

    - (void)startLocationTracking

  • Avatar
    Arthur Skopintsev

    On Cordova, it is pushNotification.startLocationTracking line in your index.js that should be removed in order to disable the location tracking.

  • Avatar
    Phonegap Noob

    I'm using phonegap build (build.phonegap.com service) to generate packages. Unsure how to add patches to iOS specific code. Is it possible to disable location tracking behaviour with config.xml ?

Please sign in to leave a comment.