christocracy / cordova-plugin-background-geolocation

Sophisticated, battery-conscious, cross-platform background-geolocation with motion-detection
http://transistorsoft.github.io/cordova-background-geolocation
492 stars 743 forks source link

Success callback only when moving - How to differ between active and inactive device? #262

Closed JaneDawson closed 7 years ago

JaneDawson commented 7 years ago

As far as I understand, the success-callback-function (at least on iOS) is only executed if the devices position changes. Hence, the success-callback is not called if the device doesn't move and I cannot know if the device is still sending it's location.

How would I then be able to differ between a device that is active but doesn't move and a device that suddenly gets switched off or doesn't allow to track location anymore?

JaneDawson commented 7 years ago

Opened issue in current repository