Actually It is not a bug but I want to know the best way to handle this scenario.
If the user does not have an internet connection, I need to store the geolocation data in the app and then send it to a web server as a JSON array once the device reconnects to the internet and clear the data stored locally.
Actually It is not a bug but I want to know the best way to handle this scenario.
If the user does not have an internet connection, I need to store the geolocation data in the app and then send it to a web server as a JSON array once the device reconnects to the internet and clear the data stored locally.
What approach should i use to handle this scenario?