Skip to content

Commit 2e3095f

Browse files
authored
Merge pull request #120 from gyfelton/patch-1
Change to right API call when check multiple permissions
2 parents a73e769 + f76f252 commit 2e3095f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const Permissions = require('react-native-permissions');
6161

6262
//check the status of multiple permissions
6363
_checkCameraAndPhotos() {
64-
Permissions.check(['camera', 'photo'])
64+
Permissions.checkMultiple(['camera', 'photo'])
6565
.then(response => {
6666
//response is an object mapping type to permission
6767
this.setState({

0 commit comments

Comments
 (0)