How to disable location tracking for ios?




  • Avatar
    Vitaly Romanychev


    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 ( 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.