Open FreshAF123 opened 6 years ago
Theoretically possible, but I don't see any good reason.
Hi, @FreshAF123. From your questions I understand you have concerns with location updates frequency. What exactly do you want to achieve ? What are your goals/wishes ?
hi @oliv3 , i want to achieve a constant location update with the frequency i have set but im struggling with the onLocationCHanged method as if it misses a fix, onLocationChanged would not be called at all, i want to provide a constant update as i have included other parameters in the location update beside battery percentage, so lets say device misses fix , last location is sent instead
This doesn't answer my question; why would you want to send an outdated location ? Device might actually be far from it's last known location.
Agreed with oliv3: The only way I would want old locations to be sent is if they were timestamped with the old timestamp. This would essentially be a "ping" to the server, which might be useful in some way to establish that the client is online but has an unknown position... But I'm not clear on the specific use case.
Our problem has been if we want to use the SOS feature, when using High Accuracy it works fine if you are outdoors however once it loses GPS lock indoors the app essentially goes offline. At least with a last known location we would know where to start looking.
Essentially it should be in the Unknown category in that it is reporting to server but cannot guarantee accuracy but at least that way the SOS widget would still function.
isit possible to send the last known location if fix has been lost? therefore at every frequency we are able to get a location update