File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ - (BOOL)isAuthorized
8282
8383- (BOOL )isLocationServicesEnabled
8484{
85- BOOL locationServicesEnabledInstancePropertyAvailable = [self .locationManager respondsToSelector: @selector (locationServicesEnabled )]; // iOS 3.x
8685 BOOL locationServicesEnabledClassPropertyAvailable = [CLLocationManager respondsToSelector: @selector (locationServicesEnabled )]; // iOS 4.x
8786
8887 if (locationServicesEnabledClassPropertyAvailable) { // iOS 4.x
@@ -213,7 +212,7 @@ - (void)getLocation:(CDVInvokedUrlCommand*)command
213212 }
214213 }
215214
216- if (!__locationStarted || (__highAccuracyEnabled != enableHighAccuracy)) {
215+ if (!self-> __locationStarted || (self-> __highAccuracyEnabled != enableHighAccuracy)) {
217216 // add the callbackId into the array so we can call back when get data
218217 @synchronized (self.locationData .locationCallbacks ) {
219218 if (callbackId != nil ) {
You can’t perform that action at this time.
0 commit comments