Both background-geolocation and background-fetch now have pure Capacitor implementations!
See the Github repos:
// 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
iOS 14 introduces yet another change to the location authorization dialog with a new “Precise” switch. This switch will default to “On”. …
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 introduces a radical new change to location authorization. No longer will apps be able to immediately request “Always” authorization.
Below is the new initial…
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.
On Android, when you terminate your app with the BackgroundGeolocation plugin configured with
url, its Android background Service will continue posting locations to your server.
The Background Geolocation SDK is now available for Flutter!
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.