maheshscognitivebotics

Results 3 comments of maheshscognitivebotics

`[setConfig] success: {"activityRecognitionInterval": 10000, "allowIdenticalLocations": false, "authorization": {}, "autoSync": false, "autoSyncThreshold": 0, "backgroundPermissionRationale": {"message": "Allow location tracking in background", "negativeAction": "", "positiveAction": "Change to \"{backgroundPermissionOptionLabel}\"", "title": "Allow {applicationName} to access...

``` lass GeolocationService { constructor() { } async ready() { BackgroundGeolocation.ready( { distanceFilter: 10, //desiredAccuracy: 0, desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_HIGH, logLevel: BackgroundGeolocation.LOG_LEVEL_VERBOSE, debug: true, stopTimeout: 10, stopOnTerminate: true, // { geoService.ready(); },...

Some time working this code in background and foreground but not always.