We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2f387b commit 668331dCopy full SHA for 668331d
index.ios.js
@@ -39,8 +39,6 @@ class ReactNativePermissions {
39
if (!RNPTypes.includes(permission)) {
40
return Promise.reject(`ReactNativePermissions: ${permission} is not a valid permission type on iOS`);
41
}
42
-
43
- type = type || DEFAULTS[permission]
44
45
return RNPermissions.getPermissionStatus(permission, type);
46
0 commit comments