Suraj Mohanty
Suraj Mohanty
How can i use watchposition in react native background action?
> Are you observing the plug-in native logs? > > See wiki "Debugging" and learn to observe the logs. During testing with real device i got this and one interesting...
> > samples:0, > > What do you think that does? This is for getting no of samples ..sry i may be wrong but can you please look at my...
> What do you think "samples" means? It means no of samples location to fetch before returning best location
Got it . But initially i was using desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_HIGH, and persist: false, with that also i got duplicate coordinates.
> One should never use samples: 0. It basically has the same effect as samples: 1 (returns the last known location --always-- and never turns on location-services to fetch a...
Should I use debug build to test this?
This plugin works fine but if the device is ideal for some time ex: 3-4 hours then it is sending duplicate coordinates evening moving . Do you have any solution...
> Let me know how to reproduce it. I've never heard of this issue. Start tracking and keep your device ideal for 3-4 hours and then again start moving then...
> Are you watching the plug-in logs? During testing my phone screen was off , which was the use case of mine . No i wasn't watching the plugin logs...