From fd11458d961f63f4b48465120acb7e6a1964f43e Mon Sep 17 00:00:00 2001 From: Suhas Vishwanath Date: Fri, 3 Nov 2023 15:27:30 +0530 Subject: [PATCH] avniproject/avni-client#1152 | Include CAMERA permission for media form elements --- .../src/views/form/formElement/MediaFormElement.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/openchs-android/src/views/form/formElement/MediaFormElement.js b/packages/openchs-android/src/views/form/formElement/MediaFormElement.js index c58d11133..e60f2b985 100644 --- a/packages/openchs-android/src/views/form/formElement/MediaFormElement.js +++ b/packages/openchs-android/src/views/form/formElement/MediaFormElement.js @@ -127,6 +127,7 @@ export default class MediaFormElement extends AbstractFormElement { [ PermissionsAndroid.PERMISSIONS.READ_MEDIA_VIDEO, PermissionsAndroid.PERMISSIONS.READ_MEDIA_IMAGES, + PermissionsAndroid.PERMISSIONS.CAMERA ] : [