Why do we need to store Goefence data in an Android application?

My question is self-describing, I read a lot about how to use Geofence Api in an Android application. I follow so many tutorials and even links from SO.I'm developing an application that uses Geofencing. But still there is one question that I don’t quite understand about, so we have to keep the Geofence circle in permanent storage. The official website of the developers says that:

Define geofence repository

A geofencing app needs to read and write geofence data to persistent storage.You 
shouldn't use Geofence objects to do this; instead, use storage techniques such as
databases that can store groups of related data. 

As in my understanding, LocationClient is used to register geofence and remove it, and it also triggers a notification based on the place where we do not even access the repository to trigger an event notification. So why do we need to save it?

+4
source share
1 answer

Besides what they say in the documentation, there is no strict requirement for surviving geologists. If you agree that you will lose your geoforums after you say that the device will reboot or create your fences on the fly, then you are good to go without saving them.

+2
source

Source: https://habr.com/ru/post/1545171/


All Articles