Google Android Geofencing API
developers.google.com
Spec sheet
- Purpose
- The Geofencing API lets an app define perimeters around areas of interest and receive a notification when a device crosses one.Read 14 Nov 2026 · developers.google.com
- Availability constraint
- Geofencing may be unavailable when device location or Location Accuracy is off.Read 14 Nov 2026 · developers.google.com
- Cleanup behavior
- Registered geofences are automatically removed when the app is reset or its PendingIntent is canceled.Read 14 Nov 2026 · developers.google.com
- Configurable behavior
- Geofences can be configured with an expiration duration, dwell delay, notification responsiveness, request ID, and transition types.Read 14 Nov 2026 · developers.google.com
- Deprecated predecessor
- Google identifies GeofencingClient as the replacement for the deprecated GeofencingApi field.Read 14 Nov 2026 · developers.google.com
- Geofence transitions
- Geofences can report enter, exit, and dwell transitions.Read 14 Nov 2026 · developers.google.com
- Integration
- Apps obtain the GeofencingClient through LocationServices and submit a GeofencingRequest with a PendingIntent.Read 14 Nov 2026 · developers.google.com
- Intent requirement
- On Android S and later, the PendingIntent passed to addGeofences must be mutable.Read 14 Nov 2026 · developers.google.com
- PendingIntent limit
- The documented status codes include an error for providing more than five different PendingIntents.Read 14 Nov 2026 · developers.google.com
- Permissions
- Most geofencing APIs require fine-location and background-location permissions.Read 14 Nov 2026 · developers.google.com
- Region shape
- A geofence represents a circular area specified by latitude, longitude, and radius.Read 14 Nov 2026 · developers.google.com
- Registration limit
- The documented status codes include an error for registering more than 100 geofences.Read 14 Nov 2026 · developers.google.com
- Responsiveness
- Notification responsiveness is best-effort; a small requested delay does not guarantee immediate notification.Read 14 Nov 2026 · developers.google.com
Where Specifiction places it
- Geofencing Software#9 of 176.7