Skip to content

JonasWho/rn-background-geolocation-demo

 
 

Repository files navigation

[Demo App]

Fully-featured, React Native demo application for React Native Background Geolocation Module

Home Settings

Installation

$ 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

Testing Server

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:

Adding Geofences

The app implements a longtap event on the map. Simply tap & hold the map to initiate adding a geofence.

Tap-hold to add geofence

Enter an identifier, radius, notifyOnExit, notifyOnEntry.

About

Demo app for react-native-background-geolocation plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 90.3%
  • Objective-C 4.9%
  • Java 1.9%
  • Python 1.6%
  • Other 1.3%