React Native module for Radar, the leading geofencing and location tracking platform
npm install react-native-radar
Radar is the leading geofencing and location tracking platform.
The Radar SDK abstracts away cross-platform differences between location services, allowing you to add geofencing, location tracking, trip tracking, geocoding, and search to your apps with just a few lines of code.
See the Radar overview documentation here.
Then, see the Radar React Native module documentation here.
See an example app in example/.
Setup Radar public key check pre-commit hook with cp -r hooks .git to prevent accidental key leak when working with the Example app.
Android: compile with java 17
To run example app with local react-native-radar dependency:
- install node dependencies with npm ci and typescript if needed with npm install -g typescript.
- build local react-native-radar with npm run build-all.
- navigate to the example dir with cd example.
- install node dependency of example with npm ci.
- build native app using expo pre-build and react-native-plugin with npm run install-radar-rebuild.
- run iOS and android example app with npx expo run:ios or npx expo run:android.
Have questions? We're here to help! Email us at support@radar.com.