File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
android/src/main/java/com/zoontek/rnpermissions Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -128,9 +128,11 @@ object RNPermissionsModuleImpl {
128
128
129
129
for (i in 0 until permissions.size()) {
130
130
val permission = permissions.getString(i)
131
+
131
132
if (permission.isNullOrBlank()) {
132
133
continue ;
133
134
}
135
+
134
136
output.putString(
135
137
permission,
136
138
when {
@@ -212,9 +214,11 @@ object RNPermissionsModuleImpl {
212
214
213
215
for (i in 0 until permissions.size()) {
214
216
val permission = permissions.getString(i)
217
+
215
218
if (permission.isNullOrBlank()) {
216
219
continue ;
217
220
}
221
+
218
222
if (! isPermissionAvailable(permission)) {
219
223
output.putString(permission, UNAVAILABLE )
220
224
checkedPermissionsCount++
Original file line number Diff line number Diff line change @@ -1575,7 +1575,7 @@ PODS:
1575
1575
- React-logger (= 0.76.2)
1576
1576
- React-perflogger (= 0.76.2)
1577
1577
- React-utils (= 0.76.2)
1578
- - RNPermissions (5.2.3 ):
1578
+ - RNPermissions (5.2.4 ):
1579
1579
- DoubleConversion
1580
1580
- glog
1581
1581
- hermes-engine
@@ -1893,7 +1893,7 @@ SPEC CHECKSUMS:
1893
1893
React-utils: c8c0c746031419a29cfd8c72a394fdeac0684a84
1894
1894
ReactCodegen: a64e8f3a8bba0ecf88fce06c2874e021d55148f3
1895
1895
ReactCommon: 7b9403030ff3430ccffed63cd25c8aeab2a3ea7e
1896
- RNPermissions: dd5cd0b304f83156d217b43564bb348d91b10d6a
1896
+ RNPermissions: b4fb8e8f51c37a7b471436eb84bbbb5939afd294
1897
1897
RNVectorIcons: a24016b773380b1aa37fca501ec6b94a951890a0
1898
1898
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
1899
1899
Yoga: 96872ee462cfc43866ad013c8160d4ff6b85709b
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-native-permissions" ,
3
- "version" : " 5.2.3 " ,
3
+ "version" : " 5.2.4 " ,
4
4
"license" : " MIT" ,
5
5
"description" : " An unified permissions API for React Native on iOS, Android and Windows" ,
6
6
"author" : " Mathieu Acthernoene <zoontek@gmail.com>" ,
You can’t perform that action at this time.
0 commit comments