Skip to content
Background GPS tracking for Nativescript.
TypeScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo
manual_typings
platforms
.gitignore Add license info for nativescript-geolocation. Oct 3, 2016
.npmignore Add project shell from Nathan Walker's seed. Sep 30, 2016
CHANGES.md
LICENSE Add project shell from Nathan Walker's seed. Sep 30, 2016
README.md
index.d.ts
location-monitor.d.ts
location.d.ts Add license info for nativescript-geolocation. Oct 3, 2016
nativescript-background-gps.android.d.ts
nativescript-background-gps.android.ts
nativescript-background-gps.common.d.ts
nativescript-background-gps.common.ts
nativescript-background-gps.ios.d.ts
nativescript-background-gps.ios.ts
package.json
references.d.ts
tsconfig.json

README.md

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.

You can’t perform that action at this time.