nickcoury / nativescript-background-gps Goto Github PK
View Code? Open in Web Editor NEWBackground GPS tracking for Nativescript.
License: Other
Background GPS tracking for Nativescript.
License: Other
Hi there
I am looking for a plugin just like this one. Are the issues(as stated in the README) you encountered manageable or you really hit a roadblock there?
I am just starting with {N} but I will be more than happy to contribute.
Cheers
I get the below errors. (On a side note.. to build, I have to clone the repo and install. adding plugin fails.) I am on the latest version nativescript.
`
app/main-view-model.ts(2,10): error TS2305: Module '"/Users/myuser/projects/bggps/node_modules/nativescript-background-gps/index"' has no exported member 'gps'.
node_modules/nativescript-background-gps/index.d.ts(10,1): error TS2308: Module "./nativescript-background-gps.common" has already exported a member named 'Location'. Con
sider explicitly re-exporting to resolve the ambiguity.
node_modules/nativescript-background-gps/index.d.ts(11,1): error TS2308: Module "./nativescript-background-gps.ios" has already exported a member named 'LocationMonitor'.
Consider explicitly re-exporting to resolve the ambiguity.
node_modules/nativescript-background-gps/index.d.ts(11,1): error TS2308: Module "./nativescript-background-gps.ios" has already exported a member named 'clearWatch'. Cons
ider explicitly re-exporting to resolve the ambiguity.
node_modules/nativescript-background-gps/index.d.ts(11,1): error TS2308: Module "./nativescript-background-gps.ios" has already exported a member named 'distance'. Consid
er explicitly re-exporting to resolve the ambiguity.
node_modules/nativescript-background-gps/index.d.ts(11,1): error TS2308: Module "./nativescript-background-gps.ios" has already exported a member named 'enableLocationReq
uest'. Consider explicitly re-exporting to resolve the ambiguity.
node_modules/nativescript-background-gps/index.d.ts(11,1): error TS2308: Module "./nativescript-background-gps.ios" has already exported a member named 'getCurrentLocatio
n'. Consider explicitly re-exporting to resolve the ambiguity.
node_modules/nativescript-background-gps/index.d.ts(11,1): error TS2308: Module "./nativescript-background-gps.ios" has already exported a member named 'isEnabled'. Consi
der explicitly re-exporting to resolve the ambiguity.
node_modules/nativescript-background-gps/index.d.ts(11,1): error TS2308: Module "./nativescript-background-gps.ios" has already exported a member named 'watchLocation'. C
onsider explicitly re-exporting to resolve the ambiguity.
node_modules/nativescript-background-gps/nativescript-background-gps.common.d.ts(11,14): error TS2503: Cannot find namespace 'android'.
node_modules/nativescript-background-gps/nativescript-background-gps.common.d.ts(12,10): error TS2304: Cannot find name 'CLLocation'.
node_modules/nativescript-background-gps/nativescript-background-gps.ios.d.ts(3,51): error TS2304: Cannot find name 'NSObject'.
node_modules/nativescript-background-gps/nativescript-background-gps.ios.d.ts(3,71): error TS2304: Cannot find name 'CLLocationManagerDelegate'.
node_modules/nativescript-background-gps/nativescript-background-gps.ios.d.ts(5,20): error TS2304: Cannot find name 'CLLocationManagerDelegate'.
node_modules/nativescript-background-gps/nativescript-background-gps.ios.d.ts(15,48): error TS2304: Cannot find name 'CLLocationManager'.
node_modules/nativescript-background-gps/nativescript-background-gps.ios.d.ts(15,78): error TS2304: Cannot find name 'NSArray'.
node_modules/nativescript-background-gps/nativescript-background-gps.ios.d.ts(16,46): error TS2304: Cannot find name 'CLLocationManager'.
node_modules/nativescript-background-gps/nativescript-background-gps.ios.d.ts(16,72): error TS2304: Cannot find name 'NSError'.
node_modules/nativescript-background-gps/nativescript-background-gps.ios.d.ts(17,58): error TS2304: Cannot find name 'CLLocationManager'.
node_modules/nativescript-background-gps/nativescript-background-gps.ios.d.ts(17,85): error TS2304: Cannot find name 'CLAuthorizationStatus'.
node_modules/nativescript-background-gps/nativescript-background-gps.ios.d.ts(29,91): error TS2304: Cannot find name 'CLLocationManager'.
`
The new "implement-ios-gps" branch sample is great and very helpful. but it only prints the location one time. it is not watching for changes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.