Multiple callbacks even if the location is within stationary radius
See original GitHub issueFollowing is the configuration I have set:
locationProvider: backgroundGeoLocation.provider.ANDROID_DISTANCE_FILTER_PROVIDER, //Only Android
debug: true, // <-- enable this hear sounds for background-geolocation life-cycle.
stopOnTerminate: false, // <-- enable this to clear background location settings when the app terminates
startOnBoot: true, //Android Only, starts location tracking on device boot
desiredAccuracy: 100, //In Meters
stationaryRadius: 60, //30, //In Meters
distanceFilter: 40, // 20, //In Meters, minimum distance a user must move horizontally before update
locationTimeout: 300, //Android Only. Minimum time in secs before location update
However, even when the phone is stationary it receives random callbacks at random time. Isn’t stationaryRadius
of 60 be taken into account?
Issue Analytics
- State:
- Created 7 years ago
- Comments:42 (22 by maintainers)
Top Results From Across the Web
Heartbeat event doesn't getting called in case of stationary ...
We are not getting stationary data when the app is killed although we are getting it when the app is in foreground or...
Read more >BackgroundGeolocation | Cordova Background Geolocation
If you wish to get the current location in your callback , use getCurrentPosition. Parameters. callback: (event: HeartbeatEvent) => void.
Read more >Create and monitor geofences - Android Developers
The latitude, longitude, and radius define a geofence, creating a circular area, or fence, around the location of interest. You can have multiple...
Read more >iOS Geofence CLCircularRegion monitoring. locationManager ...
So choose a center point and radius that are appropriate and give you enough time ... I found a glitch in region monitoring...
Read more >Circle revolutions rolling around another circle
Circle A, with radius r, gets back to its starting point when A's centre ... If one marks contact point P in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok then, I need to check code for ANDROID_DISTANCE_FILTER_PROVIDER.
This issue is almost 2 years old. Closing. Please reopen if needed.