Commit 4bf5050d authored by Chris Scott's avatar Chris Scott

Oops, did I do a bonehead mistake on my logic

parent e21def0b
......@@ -88,12 +88,7 @@
-(void) locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations
{
NSLog(@"CDVBackgroundGeoLocation didUpdateLocations");
if ([UIApplication sharedApplication].applicationState == UIApplicationStateBackground)
{
// Not in background: we're done here.
return;
}
// Handle location updates as normal, code omitted for brevity.
// The omitted code should determine whether to reject the location update for being too
// old, too close to the previous one, too inaccurate and so forth according to your own
......
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