Transistor Software

Sign in

Both background-geolocation and background-fetch now have pure Capacitor implementations!

See the Github repos:

The Javascript API is almost identical to the Cordova version, with just one caveat: you must use the Promise api only. For example:

// Old API with optional callbacks as method-arguments is
// no longer supported…


Google Play Console has introduced new guidelines for “Sensitive app permission”, such as android.permission.ACCESS_BACKGROUND_LOCATION, which the Background Geolocation SDK (for React Native, Flutter and Cordova/Capacitor) automatically adds to your app’s AndroidManifest. …


The Background Geolocation SDK for React Native v3.9.0, Cordova v3.9.0 and Flutter v1.10.0 now includes support for iOS 14 and Android 11.

iOS 14

iOS 14 introduces yet another change to the location authorization dialog with a new “Precise” switch. This switch will default to “On”. …


CoronaTrace

The Background Geolocation SDK for Flutter, React Native, Cordova/Ionic/Capacitor was originally designed for a disaster-response application, tracking first-responders in hurricanes and earthquakes where life depended upon it. It was designed to track devices no matter what, regardless if user terminates the app or reboots the device. …


Android Q and iOS 13 support is available now for the Background Geolocation SDK:

iOS 13

iOS 13 introduces a radical new change to location authorization. No longer will apps be able to immediately request “Always” authorization.

Below is the new initial…


Version 3 of the Background Geolocation SDK for Cordova, React Native and Flutter (v1) is a significant refactor of the SDK’s Android Service architecture.

The Foreground Service

In the past, when BackgroundGeolocation.start() was executed, the Android SDK would launch a foreground-service (along with its required persistent notification). The foreground-service would remain running with…


The Background Geolocation SDK for Cordova and React Native now supports syncing with Firebase (currently only Firestore). This new Firebase Adapter is implemented within a separate plugin (cordova-background-geolocation-firebase and react-native-background-geolocation-firebase).

Implementing the Firebase Adapter will disable the Background Geolocation SDK’s internal persistence and HTTP services and sync directly with Firebase.


A great way to field-test the background-geolocation plugin is to use our test-server which we provide open-source at Github background-geolocation-console. It’s a simple node-server and web-application for quickly viewing your device tracking. It’s very easy to setup and configure the background-geolocation plugin to post to it.

The Background Geolocation sample-apps…


On Android, when you terminate your app with the BackgroundGeolocation plugin configured with stopOnTerminate: false, your Javascript code is completely terminated — only the plugin’s native Android background service continues running. If you’ve configured the plugin with an url, its Android background Service will continue posting locations to your server.


The Background Geolocation SDK is now available for Flutter!

flutter_background_geolocation

If you haven’t yet checked out Flutter, I highly recommend it. After spending a month porting the Background Geolocation SDK, this is by far the best development experience yet. Hot-reloading is painless and the integrated test-harness is great. UI layout is quick and easy. Flutter feels really good to develop with.

Using the SDK in Flutter is very similar to the Cordova, React Native and NativeScript APIs

Transistor Software

Creator of Background Geolocation SDK. Professional plugin developers — geolocation specialists. https://www.transistorsoft.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store