Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/futhrevo/motobite-plugin-background
A Cordova service for tracking users in background for MotoBite
https://github.com/futhrevo/motobite-plugin-background
cordova-plugin location-services
Last synced: 1 day ago
JSON representation
A Cordova service for tracking users in background for MotoBite
- Host: GitHub
- URL: https://github.com/futhrevo/motobite-plugin-background
- Owner: futhrevo
- Created: 2022-03-27T07:57:11.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-27T07:58:43.000Z (almost 3 years ago)
- Last Synced: 2024-11-18T14:37:24.619Z (2 months ago)
- Topics: cordova-plugin, location-services
- Language: Java
- Homepage:
- Size: 1.04 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
window.motobite.location.echo("Hello World")
var config = {name:"Home", id:"123uniq", type:"safeHouse", lat: 37.422, lng:-122.084058, radius:1000}
var success = function(obj){Date.now() + console.log(obj)}
var failure = function(){"failed"}
var mb = window.motobite.location
window.motobite.location.getLocation(true,success,failure)
mb.removeallGeofences(success,failure)
mb.addGeofence(config,success,failure)var mb = window.motobite.location
var config = {name:"Home", id:"123uniq", type:"safeHouse", lat: 14.6743, lng:77.5919, radius:1000}
var config = {name: "Bangalore", id:"456uniq", type:"safeHouse", lat:12.9556361, lng:77.7015912, radius:100}
var success = function(obj){Date.now() + console.log(obj)}
var failure = function(obj){console.log(obj)}
mb.configure()
mb.addGeofence(config,success,failure)
cordova.exec(success,failure,'BackgroundGeoLocation','start',[{background:true}])
mb.stop({},success,failure)
cordova.exec(success,failure,'BackgroundGeoLocation','syncLoc',[])
com.motobite.cordova.location.plugin@file://../cordova/motobite-plugin-backgroundTODO:
COrrect MainActivity.class path
setGroup in GeofenceTransitionIntentService.java is unknown symbol