WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Locations always about 60 secs apart #151

@mrwrighty

Description

@mrwrighty

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions