Allow seperate requests for Camera & Photos perms#176
Allow seperate requests for Camera & Photos perms#176DanielDent wants to merge 2 commits intoNativeScript:masterfrom
Conversation
|
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign the CLA at https://www.nativescript.org/cla. |
|
@cla-bot check |
|
The cla-bot has been summoned, and re-checked this pull request! |
|
Hi @DanielDent |
The requestPermissions function remains available for requesting camera and saved photos access with a single function call, while requestCameraPermissions and requestPhotosPermissions have been added to allow each permission to be requested on its own.
|
Hi @DanielDent Thanks again for the contribution, |
In some use cases, permission for the camera is all that's needed. This change allows people to request either permission individually.