Skip to content

Commit 1ff04cf

Browse files
authored
Updated hasRequiredPermissions to allow iOS
1 parent 3223220 commit 1ff04cf

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

index.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ class RNCallKeep {
4343

4444
return;
4545
};
46-
46+
4747
hasRequiredPermissions = async (options) => {
48-
this.setup(options);
49-
48+
if(isIOS) {
49+
return true
50+
}
51+
RNCallKeepModule.setup(options);
5052
return await this.hasPhoneAccount();
5153
}
5254

0 commit comments

Comments
 (0)