[New Feature] Firebase Adapter Posted on 19 Oct 10:18 , 0 comments
Flutter Background Geolocation Posted on 02 Oct 14:25 , 0 comments
The Background Geolocation SDK is now available for Flutter!
[New Feature] Background Geolocation "Headless Mode" for Android Posted on 04 Feb 16:25 , 0 comments
But what if you need to implement some custom business logic in the "headless" state, such as posting a local notification or executing #getCurrentPosition in a heartbeat event?
Background Geolocation Console Posted on 19 Dec 10:01 , 0 comments
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.
Android Oreo (version 8) Posted on 19 Dec 09:03 , 0 commentsYes, in spite of Android Oreo's strict new Background Execution Limits, the Background Geolocation plugin fully supports Android 8. The caveat however, is that the foregroundService: true option is now enforced.
Here's a nice little presentation by Harry Tormey at React Chicago which clearly lays out the complexities involved with tracking a device's location in the background and why this needs to be done directly with Native APIs.
This is exactly what the Background Geolocation plugin does for you.
(Watch for his recommendation to use Transistor Software's react-native-background-geolocation plugin at 19:42, thanks Harry ;)
New Feature: HTTP JSON Templates Posted on 03 Mar 13:39 , 0 comments
Traditionally, the BackgroundGeolocation plugin has had a hard-coded "Location Data Schema" which you've had to modify your server to consume:
No longer. Now you can finally configure your own templates with the plugin to customize your own HTTP JSON schema:
The following template tags are currently supported:
See the "HTTP Features" docs for your desired platform:
Ionic 2+ and Cordova Background Geolocation Posted on 09 Feb 15:51 , 2 comments
[Update: 2018-10-19] The Background Geolocation plugin version 2.14.0+ for Ionic now provides its own Typescript API! Read about it here.
Here's a simple Ionic 2 implementation:
Infinite Geofencing Posted on 04 Jan 15:27 , 0 comments
BackgroundGeolocation now supports infinite geofencing. Why is this important? Because the native platforms limit the number of geofences which can be simultaneously monitored. For iOS the limit is 20 while Android allows 100.
Previously, you had to manually manage which geofences to monitor based upon the current location, perhaps asking the server periodically which geofences were within range.
Now you can load any number of geofences into the plugin (tested with tens-of-thousands). The plugin will periodically perform a geospatial query upon the geofences in the database, activating those closest within a configurable geofenceProximityRadius.
Following is an animation of this feature performed in the iOS simulator, where a series of geofences have been loaded along the entire City Drive route.
With Infinite Geofencing, BackgroundGeolocation is the most advanced geofencing plugin available, more advanced than any dedicated geofencing plugin.
- Page 1 of 2