Skip to content

Latest commit

 

History

History
 
 

example

Example App - react-native-location

In order to install this app, clone the repo and:

npm install

The example app makes some assumptions about usage. The always usage permission is immediately requested, the app starts tracking location events immediately, and uses a distance of 5 as a gap.

Example app video

Developing with Example

Normally, after a code change to react-native-location src files, you must remove the node_modules/react-native-location directory and npm install. The react-native packager won't follow symlinks.

To assist development, this command watches and rsyncs changes:

npm run sync-rnl

Leave a terminal open running this command when running the Example app and making react-native-location src changes. NOTE: This may run for a long time on first execution.