Fully-featured, React Native demo application for React Native Background Geolocation Module
$ git clone https://github.com/transistorsoft/rn-background-geolocation-demo.git
$ cd rn-background-geolocation-demo
$ npm install
$
$ react-native run-android
$ react-native run-ios
// opens a console which receives all your locations
$ npm run open
- Simulate location
By default, the sample app posts locations to Transistor Software's test server (sandboxed to your MAC address). You can view these locations by running:
$ npm run open
This will launch a browser window to view the test server:
The app implements a longtap event on the map. Simply tap & hold the map to initiate adding a geofence.
Enter an identifier
, radius
, notifyOnExit
, notifyOnEntry
.