Tracking Profiles

Start/Stop a tracking profile using Cordova Plugin

  1. Start/Stop a tracking profile
  2. Tracking profile properties

Tracking profiles aim to simplify the Woosmap Geofencing SDK integration.

The concept of Tracking profile and the difference between each profile is explained in the Tracking profiles documentation

Start/Stop a tracking profile

Once you have initialized the SDK and the user has authorized background permissions, you can start tracking the user’s location.

To start tracking, call:

JavaScript
        cordova.plugins.WoosmapGeofencing.startTracking('liveTracking', onSuccess, onError);

    

To stop tracking, call:

JavaScript
        cordova.plugins.WoosmapGeofencing.stopTracking(onSuccess, onError);

    

Tracking profile properties

Property liveTracking passiveTracking visitsTracking
trackingEnable true true true
modeHighfrequencyLocation true false false
visitEnable false false true
classificationEnable false false true
radiusDetectionClassifiedZOI null null 100
creationOfZOIEnable false false true
accuracyVisitFilter null null 50
currentLocationTimeFilter 0 0 0
currentLocationDistanceFilter 0 0 0
searchAPIRequestEnable true true false
searchAPICreationRegionEnable false false false
searchAPITimeFilter 0 0 0
searchAPIDistanceFilter 0 0 0
distanceAPIRequestEnable false false false
distanceMode null null null
outOfTimeDelay 300 300 300
dataDurationDelay 30 30 30
Was this article helpful?
Have more questions? Submit a request