Repository navigation
Is there a limit to regions? #2322
|
I've been on a borrowed iPhone for a couple months now using OwnTracks. Running into several limitations and annoyance on apples part. I just learned that iOS only allows for about 20 monitored regions because OwnTracks isn't the one doing the tracking of region entry. I currently have 28 regions and have about 40 more to add. Is there the same limitations on the android version? Trying to decide what device to go for next. Thanks. |
Replies: 2 comments
|
For the Android build that uses Google Play services, the relevant limit is 100 active geofences per app, per device user, rather than iOS's 20. Your planned 28 + 40 = 68 regions is below that platform limit. Android documentation. I checked that OwnTracks actually uses that API: The build flavor matters if you are considering a phone without Google Play services: the repository's OSS flavor has a The 100 limit also isn't a guarantee of immediate transitions—background location permissions and device power management still affect delivery. |
For the Android build that uses Google Play services, the relevant limit is 100 active geofences per app, per device user, rather than iOS's 20. Your planned 28 + 40 = 68 regions is below that platform limit. Android documentation.
I checked that OwnTracks actually uses that API:
GMSGeofencingClientdelegates registration to Google Play services.The build flavor matters if you are considering a phone without Google Play services: the repository's OSS flavor has a
NoopGeofencingClient, so you shouldn't assume the same OS-backed geofence behavior there. That doesn't mean it cannot report locations; it means this particular registration path differs.The 100 limit also isn't a guarantee of …