Commit 1bf314ce authored by Chris Scott's avatar Chris Scott

Fix formatting of location update notification

parent 8f841374
......@@ -503,11 +503,11 @@
NSLog(@"- CDVBackgroundGeoLocation#sync");
NSLog(@" type: %@, position: %@,%@ speed: %@", [data objectForKey:@"location_type"], [data objectForKey:@"latitude"], [data objectForKey:@"longitude"], [data objectForKey:@"speed"]);
if (isDebugging) {
[self notify:[NSString stringWithFormat:@"Location update: %s\nSPD: %@ | DF: %0.1f | ACY: %@",
[self notify:[NSString stringWithFormat:@"Location update: %s\nSPD: %0.0f | DF: %0.1f | ACY: %0.0f",
((isMoving) ? "MOVING" : "STATIONARY"),
[data objectForKey:@"speed"],
[[data objectForKey:@"speed"] doubleValue],
locationManager.distanceFilter,
[data objectForKey:@"accuracy"]]];
[[data objectForKey:@"accuracy"] doubleValue]]];
AudioServicesPlaySystemSound (locationSyncSound);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment