Background Geolocation for Cordova

May 8, 2026 · View on GitHub

Background Geolocation for Cordova

Background Geolocation for Cordova

npm npm

The most sophisticated background location-tracking & geofencing SDK with battery-conscious motion-detection intelligence for iOS and Android.

The SDK uses motion-detection APIs (accelerometer, gyroscope, magnetometer) to detect when the device is moving or stationary:

  • Moving — location recording starts automatically at the configured distanceFilter (metres)
  • Stationary — location services turn off automatically to conserve battery

Important

This is v5. For the previous version see v4.x. v4.x license keys do not work with v5 — log in to the Customer Dashboard to generate a v5 key. See the Migration Guide for details.


:books: Documentation

Cordova


:key: Licensing

Tip

The SDK is fully functional in DEBUG builds — no license required. Try before you buy.

A license is required only for RELEASE builds on Android. Purchase a license


:open_file_folder: Example Apps

See example/ — an Ionic/Angular example app is included in this repo.


📦 SDK availability

PlatformPackage
CordovaThis repo
React Nativereact-native-background-geolocation
Exporeact-native-background-geolocation
Flutterflutter_background_geolocation
Capacitor@transistorsoft/capacitor-background-geolocation
Swift / iOSbackground-geolocation
Kotlin / Androidbackground-geolocation

MIT © Transistor Software