vikrantttriazinesoft commented on issue #826: URL: https://github.com/apache/cordova-plugin-camera/issues/826#issuecomment-1764344038
1) git clone https://github.com/apache/cordova-plugin-camera.git 2) open the cordova-plugin-camera directory in any code editor 3) search the cordova-android in project and then change cordova-android value to the version which is greater than yours cordova-android version used by you in your current project 4) then install the plugin using :- cordova plugin add ./path_to cordova-plugin-camera ( directory ) 5) then run prepare command 6) add <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" /> <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" /> in androidmanifest file 7) add this in application tag of manifest file android:largeHeap="true" android:requestLegacyExternalStorage="true" android:usesCleartextTraffic="true" 8) that's it 9) now u can use the camera in ur cordova application -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org