/rn-background-location

A React-Native Android specific solution for background tracking a user

Primary LanguageJavaMIT LicenseMIT

React Native Background Location

This is a demo app for a fully functional background location app for Android only.

The Medium article explaining the creation of this demo is available here: React-Native Background Location

It's based on several native Android APIs so if you want to use this, you'll have to have your project "ejected".

Features

  • Support since Android 4.4 (~ 96% of all Android phones today)
  • Everything based on APIs provided by Android
  • Pre X dependencies
  • Power usage efficient
  • Location query interval is customisable with 1 minute as a minimum
  • Fully functional on the background with very little variation in system resources usage
  • Communicating location with JS side
  • Ready to do work on the Native side
  • Most of the work is done off the main thread increasing performance and UX

License: MIT