Skip to Content
Platform.Ontology

Region monitoring and geofences

Wakes the app when the device enters or leaves a circle: 20 regions on iOS, 100 geofences on Android.

Works without askingNotifications and backgroundLocation in backgroundAndroid and iPhoneIn the background

In one line

Can wake the app when you enter or leave set places, up to 20 on iPhone

Wakes the app when the device enters or leaves a circle: 20 regions on iOS, 100 geofences on Android.

Lets a retailer know when someone arrives at a store or leaves home. The caps force apps to rotate regions, and the OS keeps them even after the app is closed.

What it can and can't do

What the user does: You turn on place reminders, home arrival alerts, or a store offer feature, and allow Always location

It can

  • Wake the app when you cross into or out of a circle it set
  • Send you a reminder when you arrive or leave, even with the app closed
  • Watch up to 20 places on iPhone, or 100 on Android

It cannot

  • Watch more places than the limit allows
  • Know your exact route; it only learns that you crossed an edge
  • Do this without Always location on Android or iPhone
  • React instantly; Android can take about 2 to 3 minutes, and small circles are less precise

How it differs between platforms: iPhone allows 20 regions and may need a device unlock after reboot. Android allows 100 geofences, with a 2 to 3 minute average delay.

On Android and iPhone

AndroidiPhone
StatusSupportedSupported
First versionAndroid 1.0 (API 1)iOS 4.0
Permission or entitlementACCESS_FINE_LOCATION and ACCESS_BACKGROUND_LOCATION (target 29+)NSLocationAlwaysAndWhenInUseUsageDescription
Protection leveldangerousprompt
How access is grantedpromptprompt
What the user seesAllow all the time (Settings)Always authorization
How long it lastsRe-register after reboot, uninstall and reinstall, data clear or Play services data clearPersist until stopped or reboot; relaunch after termination; app must recreate the monitor
How to take it backSettings > LocationSettings > Privacy > Location
Store policyPlay: background location reviewApp Review 5.1.1
APIGeofencing API (GeofencingClient)CLMonitor (iOS 17), CLCircularRegion
Notes100 geofences per app per device user; recommended radius 100 to 150 m; Wi-Fi accuracy 20 to 50 m; background latency 2 to 3 min on average, up to 6 min if stationary20 regions or conditions per app; monitoring needs a device unlock after reboot

Data you get

What comes back: Region cap
Shape: integer
How often: Static

FieldTypeUnitRangePrecision
ios_max_regionsintegercount20system
android_max_geofencesintegercount100system
android_latencyintegerminutes2 to 6approx

Technical limits

  • Needs Always authorization on both platforms
  • Android geofences are lost at reboot until re-registered

The story

What it is

The phone can wake an app when you enter or leave a map circle, even if the app is closed.

For you

You walk into a store and get a welcome offer, or your home lights come on as you reach your street. It only works if you allow location all the time.

For makers

Makers get a cheap way to react to arrival without draining the battery. Stores, smart home and delivery apps use it, but it can also build a record of the places someone visits.

Where you see it

TypeExampleApps
shoppingYour coffee app pings you with a free pastry offer as you walk near a shop.Starbucks, Target
smart-homeYour thermostat starts heating the house when you come within a mile of home.Nest, Ecobee
deliveryA grocery pickup app tells the store you have arrived so the order comes out to the car.Walmart, Chick-fil-A
gamesA location game wakes up when you reach a real park so a rare creature or event can start.Pokemon GO, Ingress
fitnessA gym app checks you in when you walk through the door.Planet Fitness
adsAn ad company counts how many people who saw an ad later walked into the store.None named
enterpriseA work app clocks field crews in and out when they enter a job site.None named

Risks

  • Can log sensitive places like clinics
  • Needs location all the time

Android and iPhone in short

  • Android: Up to 100 geofences per app. Alerts can lag a few minutes.
  • iPhone: Up to 20 regions per app. It needs Always location access and a phone unlock after restart.

What the platform says

  • Apple: Region monitoring. Apple lets apps watch circular areas and be told when you cross them, to power place based features.
  • Google: Geofencing. Google pitches geofencing as a way to react when a device enters or exits an area around a place.

Good uses and abuse

Legitimate uses

  • Store arrival
  • Home automation

Known abuse

  • Tracking visits to sensitive places

Scores

ScoreValueMeaning
Sensitivity5 of 5How revealing the data is
Utility4 of 5How useful it is to honest apps
Friction3 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2010-06, iPhone iOS 4: Region monitoring introduced (later 20 region cap documented)
  • 2013-06, Android Play services 3.1: Geofencing API introduced
  • 2019-09, Android 10 (API 29): Background location permission required for geofences
  • Significant location change. Can learn that you moved a long way, about 500 meters, even with the app closed
  • Visit monitoring. Can learn which places you stay at, with arrival and leave times, on iPhone
  • Run at startup. Can start itself in the background after your Android phone restarts

Sources

How well checked: Checked against real behavior.

On this page