nativescript-background-gps
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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

  1. 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.

Package Sidebar

Install

npm i nativescript-background-gps

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • nickcoury