npm i --save nativescript-background-gps
- Version: 0.0.2
- GitHub: https://github.com/nickcoury/nativescript-background-gps
- NPM: https://www.npmjs.com/package/nativescript-background-gps
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
Nativescript Background GPS Plugin
NOTE
This plugin does not currently work in the background. The project is exploratory to create a simple background GPS service, but thus far it is not working.
This is a plugin to receive gps location updates regardless of the app state.
Getting started
tns plugin add nativescript-background-gps
Usage
import { gps } from 'nativescript-background-gps';
gps.on(function (location) { console.log(location); }
Changes
This project uses source code from nativescript-geolocation under the Apache 2.0 license.
Changes can be found in the CHANGES.md
file.