/trigger.io-background_geolocation

A Trigger.io module for battery-efficient listening of geolocation change events.

Primary LanguageJavaMIT LicenseMIT

trigger.io-background_geolocation

A Trigger.io module for battery-efficient listening of geolocation change events.

Status

WIP: currently untested.

Once Android works I'll probably integrate the iOS code from christocracy/cordova-plugin-background-geolocation.

Usage

  forge.internal.addEventListener('background_geolocation.locationChanged', function(location) {
    alert('lat:', location.lat, 'lon:', location.lon);
  });

Credits