Hello dear PushWoosh community.

I'm trying to disable Location tracking, because not using that feature. And system message if i permit Location Tracking is annoying.

Here is what i have tried in my config.xml

    <preference name = "Pushwoosh_NO_TRACK_IAP" value = "YES" />
    <preference name = "noTrackIAP" value = "true" />
    <preference name="trackingEnabled" value = "false" />
    <preference name="Pushwoosh_TrackingEnabled" value="false" />

And none of above worked still getting same 'Do you allow location tracking' on ipad.

Can anyone help with this?

Thank you

asked 28 May '15, 18:44
phonegap_noob's gravatar image

phonegap_noob
113

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

permanent link
answered 04 Jun '15, 10:57
arthur's gravatar image

arthur
1007

edited 04 Jun '15, 11:03

Benedict's gravatar image

Benedict
7127

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

permanent link
answered 03 Jun '15, 08:22
Vitaly%20Romanychev's gravatar image

Vitaly Roman...
2213

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 ?

permanent link
answered 07 Jun '15, 14:24
phonegap_noob's gravatar image

phonegap_noob
113

edited 10 Jun '15, 16:08

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×353
×190
×25

question asked: 28 May '15, 18:44

question was seen: 934 times

last updated: 10 Jun '15, 16:08