Location & network
Plugin.Maui.Geofence
Circular geofence enter, exit, and dwell (max 20)
Current NuGet 1.1.0
Circular geofence enter / exit / dwell (max 20 regions) for depot, site, and attendance apps on Android and iOS. Not a GPS tracker — use GeoLocator for a current fix.
Install
dotnet add package Plugin.Maui.GeofencePackage ID: Plugin.Maui.Geofence
Plugin.Maui.* restores from GitHub Packages. Add the org feed first — see Use nuvyntralabs GitHub Packages from a C# project.
Overview
Plugin.Maui.Geofence is a circular-region monitor for MAUI on Android and iOS. It is not a GPS tracker. GeoLocator answers where the device is now. This plugin answers when the user enters, exits, or dwells in up to 20 named regions. Android uses Play Services GeofencingClient. Regions persist across process death. iOS uses CLCircularRegion plus a location delegate. Invalid radius or empty ids fail closed.
Current release
- 1.1.0. Android GeofencingClient + persist across process death. iOS enter/exit delegate. Raise() remains for samples.
- 1.0.3. NuGet description and README / CHANGELOG / AGENTS / llms.txt aligned with the current API.
- 1.0.2. nuget.org pack.
- 1.0.1. nuget.org pack.
- 1.0.0. First stable release. Max 20 regions, enter / exit / dwell, Raise() for tests and samples.
Full upgrade map for the 3 September 2026 hardening wave: Hardened plugin releases.
Capabilities
- Add, list, and remove circular regions (max 20).
- Enter, exit, and optional dwell transitions.
- OS transitions queue until a Transition subscriber is attached.
- Denied / NotSupported when location permission or Play services are missing.
- Raise() so samples and tests can simulate a transition.
- Android GeofencingClient; iOS CLCircularRegion. Persists across process death. Not a Maps SDK.
- .NET MAUI
- Geofence
- Location
- C#
Discussion
Comment on Plugin.Maui.Geofence. The thread lives on this component's GitHub repository (nuvyntralabs/Plugin.Maui.Geofence). Sign in with GitHub — Giscus uses Discussions, Utterances uses Issues.