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?
source
share