In this example, we show local notifications on iOS using RadarDelegate. Alternatively, you could show local notifications on Android using RadarReceiver, or send remote push notifications using a webhook or integrations with platforms like OneSignal, Braze, and Airship.
If you haven't already, sign up for Radar to get your API key. You can create up to 1,000 geofences and make up to 100,000 API requests per month for free.Get API Keys
On the Geofences page, create a geofence.
Initialize the SDK in your
AppDelegate class with your publishable API key. Make your
RadarDelegate. Finally, request location permissions and start tracking:
didReceiveEvents:user: to listen for geofence entry events and show notifications:
Have questions or feedback on this documentation? Let us know! Email us at [email protected].