-
Notifications
You must be signed in to change notification settings - Fork 25
Locations always about 60 secs apart #151
Copy link
Copy link
Open
Description
Here are my settings:-
nativescript_background_geolocation_lt_1.BackgroundGeolocation.ready({
reset: true,
debug: false,
url: 'https://myURL/service.asmx/uploadgeo,
logLevel: nativescript_background_geolocation_lt_1.BackgroundGeolocation.LOG_LEVEL_VERBOSE,
desiredAccuracy: nativescript_background_geolocation_lt_1.BackgroundGeolocation.DESIRED_ACCURACY_NAVIGATION,
distanceFilter: 75,
stopTimeout: 1,
elasticityMultiplier: 4,
autoSync: true,
stopOnTerminate: false,
startOnBoot: true,
foregroundService: true,
preventSuspend: false,
heartbeatInterval: 60*30,
httpRootProperty: 'location',
locationTemplate: '[{"lat":<%=latitude%>,"lng":<%=longitude%>,"heading": <%=heading%>,"speed":<%=speed%>,"accuracy":<%=accuracy%>,"timestamp":"<%=timestamp%>","event":"<%=event%>","activity_type":"<%=activity.type%>","activity_confidence":<%=activity.confidence%>,"battery_level":<%=battery.level%>,"battery_charging":"<%=battery.is_charging%>","is_moving":"<%=is_moving%>","UUID":"<%=uuid%>"}]',
enableHeadless: trueNo matter what I do, or the speed of the vehicle, GeoLocations are always around 60 seconds apart. I have the multiplier set as you can see. The speed does not seem to impact on the period between each location recorded.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels