Skip to content

Commit

Permalink
Merge pull request #158 from react-native-webrtc/return_setup_result
Browse files Browse the repository at this point in the history
Return Android setup prompt result
  • Loading branch information
manuquentin authored Feb 26, 2020
2 parents eb3cc37 + 14161f7 commit c00bedf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const options = {
}
};

RNCallKeep.setup(options);
RNCallKeep.setup(options).then(accepted => {});
```

- `options`: Object
Expand Down
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ class RNCallKeep {

if (shouldOpenAccounts) {
RNCallKeepModule.openPhoneAccounts();
return true;
}

return false;
};

_hasDefaultPhoneAccount = async (options) => {
Expand Down

0 comments on commit c00bedf

Please sign in to comment.