transistorsoft/nativescript-background-geolocation-lt

Locations always about 60 secs apart

Opened this issue · 0 comments

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: true

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