I'm working on SDK that is using GeoFences from Google Play Services. Everything seems to work just fine. I'm adding my geofences like this (it's done in method called from activity):
locationClient.addGeofences(geofences, GeoFencesUtils.getTransitionPendingIntent(context), this);
The pending intent is send to BroadcastReceiver in which notification is created.
I'm wondering how excaly this geofences is stored in system, and when could it be lost (or deleted by OS). For example when Activity in which created geofences is destroyed, I'm still able to receive broadcast. When should I recreate those geofence? On system boot? Or maybe once created it will be stored in google play services for ever and I don't have to worry about it?