|
@@ -39,8 +39,6 @@ class ReactNativePermissions {
|
39
|
39
|
if (!RNPTypes.includes(permission)) {
|
40
|
40
|
return Promise.reject(`ReactNativePermissions: ${permission} is not a valid permission type on iOS`);
|
41
|
41
|
}
|
42
|
|
-
|
43
|
|
- type = type || DEFAULTS[permission]
|
44
|
42
|
|
45
|
43
|
return RNPermissions.getPermissionStatus(permission, type);
|
46
|
44
|
}
|