Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locations always about 60 secs apart #151

Open
mrwrighty opened this issue Jul 12, 2019 · 0 comments
Open

Locations always about 60 secs apart #151

mrwrighty opened this issue Jul 12, 2019 · 0 comments

Comments

@mrwrighty
Copy link

mrwrighty commented Jul 12, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant