File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ + (NSString * _Nonnull)handlerUniqueId {
2727
2828- (void )checkWithResolver : (void (^ _Nonnull)(RNPermissionStatus))resolve
2929 rejecter : (void (__unused ^ _Nonnull)(NSError * _Nonnull))reject {
30- if (![CLLocationManager locationServicesEnabled ] || ![RNPermissions isBackgroundModeEnabled: @" location " ] ) {
30+ if (![CLLocationManager locationServicesEnabled ]) {
3131 return resolve (RNPermissionStatusNotAvailable);
3232 }
3333
@@ -46,7 +46,7 @@ - (void)checkWithResolver:(void (^ _Nonnull)(RNPermissionStatus))resolve
4646
4747- (void )requestWithResolver : (void (^ _Nonnull)(RNPermissionStatus))resolve
4848 rejecter : (void (^ _Nonnull)(NSError * _Nonnull))reject {
49- if (![CLLocationManager locationServicesEnabled ] || ![RNPermissions isBackgroundModeEnabled: @" location " ] ) {
49+ if (![CLLocationManager locationServicesEnabled ]) {
5050 return resolve (RNPermissionStatusNotAvailable);
5151 }
5252 if ([CLLocationManager authorizationStatus ] != kCLAuthorizationStatusNotDetermined ) {
You can’t perform that action at this time.
0 commit comments