Skip to content

Commit

Permalink
Fixed background gpx recording
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulStets committed Jan 9, 2019
1 parent 2f6ef47 commit f13ad56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/Services/OALocationServices.mm
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ - (void) commonInit:(OsmAndAppInstance)app
_manager.delegate = self;
_manager.distanceFilter = kCLDistanceFilterNone;
_manager.pausesLocationUpdatesAutomatically = NO;
if([_manager respondsToSelector:@selector(allowsBackgroundLocationUpdates)])
_manager.allowsBackgroundLocationUpdates = YES;


_mapModeObserver = [[OAAutoObserverProxy alloc] initWith:self
withHandler:@selector(onMapModeChanged)
Expand Down

0 comments on commit f13ad56

Please sign in to comment.