Skip to content

Commit 77ec6a3

Browse files
committed
Replace error logbox with warning one
1 parent 6d18aa9 commit 77ec6a3

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

example/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ PODS:
487487
- React-jsi (= 0.72.4)
488488
- React-logger (= 0.72.4)
489489
- React-perflogger (= 0.72.4)
490-
- RNPermissions (3.9.1):
490+
- RNPermissions (3.9.2):
491491
- React-Core
492492
- RNVectorIcons (10.0.0):
493493
- React-Core
@@ -720,7 +720,7 @@ SPEC CHECKSUMS:
720720
React-runtimescheduler: 4941cc1b3cf08b792fbf666342c9fc95f1969035
721721
React-utils: b79f2411931f9d3ea5781404dcbb2fa8a837e13a
722722
ReactCommon: 4b2bdcb50a3543e1c2b2849ad44533686610826d
723-
RNPermissions: 5f2e4fa60ef497adfe04e57a9ffc99447d76d6d3
723+
RNPermissions: 3722fdee8d3a5857f1c048ab0b64a92803aebdc2
724724
RNVectorIcons: 8b5bb0fa61d54cd2020af4f24a51841ce365c7e9
725725
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
726726
Yoga: 3efc43e0d48686ce2e8c60f99d4e6bd349aff981

ios/BluetoothPeripheral/RNPermissionHandlerBluetoothPeripheral.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ @implementation RNPermissionHandlerBluetoothPeripheral
1414

1515
+ (NSArray<NSString *> * _Nonnull)usageDescriptionKeys {
1616
return @[
17-
@"NSBluetoothPeripheralUsageDescription",
1817
@"NSBluetoothAlwaysUsageDescription",
18+
@"NSBluetoothPeripheralUsageDescription",
1919
];
2020
}
2121

ios/RNPermissionsModule.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ - (void)checkUsageDescriptionKeys:(NSArray<NSString *> * _Nonnull)keys {
215215
#if RCT_DEV
216216
for (NSString *key in keys) {
217217
if (![[NSBundle mainBundle] objectForInfoDictionaryKey:key]) {
218-
RCTLogError(@"Cannot check or request permission without the required \"%@\" entry in your app \"Info.plist\" file", key);
218+
RCTLogWarn(@"Missing \"%@\" property in \"Info.plist\"", key);
219219
return;
220220
}
221221
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-permissions",
3-
"version": "3.9.1",
3+
"version": "3.9.2",
44
"license": "MIT",
55
"description": "An unified permissions API for React Native on iOS, Android and Windows",
66
"author": "Mathieu Acthernoene <zoontek@gmail.com>",

0 commit comments

Comments
 (0)