File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ - (BOOL)isAuthorized
82
82
83
83
- (BOOL )isLocationServicesEnabled
84
84
{
85
- BOOL locationServicesEnabledInstancePropertyAvailable = [self .locationManager respondsToSelector: @selector (locationServicesEnabled )]; // iOS 3.x
86
85
BOOL locationServicesEnabledClassPropertyAvailable = [CLLocationManager respondsToSelector: @selector (locationServicesEnabled )]; // iOS 4.x
87
86
88
87
if (locationServicesEnabledClassPropertyAvailable) { // iOS 4.x
@@ -213,7 +212,7 @@ - (void)getLocation:(CDVInvokedUrlCommand*)command
213
212
}
214
213
}
215
214
216
- if (!__locationStarted || (__highAccuracyEnabled != enableHighAccuracy)) {
215
+ if (!self-> __locationStarted || (self-> __highAccuracyEnabled != enableHighAccuracy)) {
217
216
// add the callbackId into the array so we can call back when get data
218
217
@synchronized (self.locationData .locationCallbacks ) {
219
218
if (callbackId != nil ) {
You can’t perform that action at this time.
0 commit comments