I'm about to implement a feature with geofences and before I get any serious work done, I need to know whether geofences remain active after the first transition.
The core of the feature is:
every time I'm within x meters of point P (call this Area A), I want Action B to occur.
What I need to know is
- Do I just have to add a geofence with
Geofence.NEVER_EXPIRE
and rest assured that I will get a PendingIntent every time I enter the specified area regardless of elapsed time, reboots, etc
OR
- Do I have to re-register this geofence once I exit Area A in order to get notified the next time I enter Area A?
I'm hoping that the former is the case