FrancescoPaiola commented on issue #271: URL: https://github.com/apache/cordova-plugin-media-capture/issues/271#issuecomment-1620019851
You can fork this repo and follow the same idea extending the method i've created [here](https://github.com/apache/cordova-plugin-media-capture/compare/master...SocialCities:cordova-plugin-video-capture:master). Maybe you can pass an additional parameter to ´getPermissionsList()´ to get a specific feature's permissions list. Dynamically asking for SDK >= 33: - `Manifest.permission.CAMERA` and `Manifest.permission.READ_MEDIA_VIDEO` for video capture feature. - `Manifest.permission.CAMERA` and `Manifest.permission.READ_MEDIA_IMAGES` for image capture feature. And keeping the other case for SDK < 33: - `Manifest.permission.CAMERA`, `Manifest.permission.READ_EXTERNAL_STORAGE` and `Manifest.permission.WRITE_EXTERNAL_STORAGE` for all the features. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
