Comments (4)
Thanks
On Wednesday, September 30, 2015, Garnik [email protected] wrote:
Your callbackFn will be executed each time the device has changed-state
between MOVING or STATIONARY. The callbackFn will be provided with a
Location object as the 1st param, with the usual params (latitude,
longitude, accuracy, speed, bearing, altitude), in addition to a taskId
used to signal that your callback is finished.It says Location object as the 1st param, but as we see in the code
below isMoving is the first param.bgGeo.onMotionChange(function(isMoving, location, taskId) {
if (isMoving) {
console.log('Device has just started MOVING', location);
} else {
console.log('Device has just STOPPED', location);
}
bgGeo.finish(taskId);
})—
Reply to this email directly or view it on GitHub
#10
.
Snet form Gmail Mobile
from cordova-background-geolocation-lt.
I tried to run the SampleApp in Xcode 6.1
and got an issue when I try to build the app:
duplicate symbol _llvm.cmdline in:
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(TSLogger.o)
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(SOMotionDetector.o)
duplicate symbol _llvm.embedded.module in:
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(TSLogger.o)
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(SOMotionDetector.o)
duplicate symbol _llvm.cmdline in:
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(TSLogger.o)
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(Settings.o)
duplicate symbol _llvm.embedded.module in:
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(TSLogger.o)
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(Settings.o)
duplicate symbol _llvm.cmdline in:
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(TSLogger.o)
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(LocationManager.o)
duplicate symbol _llvm.embedded.module in:
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(TSLogger.o)
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(LocationManager.o)
duplicate symbol _llvm.cmdline in:
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(TSLogger.o)
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(LocationDAO.o)
duplicate symbol _llvm.embedded.module in:
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(TSLogger.o)
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(LocationDAO.o)
duplicate symbol _llvm.cmdline in:
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(TSLogger.o)
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(TSReachability.o)
duplicate symbol _llvm.embedded.module in:
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(TSLogger.o)
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(TSReachability.o)
duplicate symbol _llvm.cmdline in:
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(TSLogger.o)
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(TSLocationManager.o)
duplicate symbol _llvm.embedded.module in:
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(TSLogger.o)
BG Geo/Plugins/com.transistorsoft.cordova.background-geolocation/TSLocationManager.framework/TSLocationManager(TSLocationManager.o)
ld: 12 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
from cordova-background-geolocation-lt.
Oh right, you're using XCode 6.1. You must upgrade to 7.x
. Problem will be solved.
from cordova-background-geolocation-lt.
Fixed docs wrt isMoving
flag at 1st position.
from cordova-background-geolocation-lt.
Related Issues (20)
- [Android] - App Crash in Android 13 because HMS HOT 1
- Missing $BACKGROUND_MODE_LOCATION in UIBackgroundModes HOT 4
- Not sending data along with the URL HOT 9
- API calls to backend server calling pending in the background mode after 5 minutes HOT 5
- [documentation] Missing wiki page "Solving Build Failures" when following a link in the REAME HOT 4
- Distance is not coming as per actual distance travelled. HOT 3
- For identical travel path total calculated distance is different from the location updates in server . HOT 18
- location updates on Android, Xiaomi HOT 3
- IOS - clang: error: linker command failed with exit code 1 (use -v to see invocation) HOT 22
- Persistent display in iOS dynamic island HOT 8
- Odometer remains 0 on one phone (Redmi 9T) out of 500 users HOT 3
- The app is terminating in the background (Android). HOT 22
- Getting Accuracy more than 100 HOT 7
- autosync not merging data after device is back on wifi HOT 3
- iOS 17 blocking requests with a 30-second timeout in the settings. HOT 9
- Build failing with plugin HOT 1
- Plugin crashing during app build HOT 5
- Android app crash in few device HOT 3
- Certificate for <developer.huawei.com> doesn't match any of the subject alternative names HOT 8
- Plugin v 4.16.1 crashed on android: Found interface com.google.android.gms.location.FusedLocationProviderClient, but class was expected HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-background-geolocation-lt.