|
@@ -31,7 +31,7 @@ const DEFAULTS = {
|
31
|
31
|
|
32
|
32
|
class ReactNativePermissions {
|
33
|
33
|
canOpenSettings: () => Promise<boolean> = () =>
|
34
|
|
- PermissionsIOS.canOpenSettings();
|
|
34
|
+ PermissionsIOS.canOpenSettings().then(result => !!result);
|
35
|
35
|
|
36
|
36
|
openSettings: () => Promise<*> = () => PermissionsIOS.openSettings();
|
37
|
37
|
|