federicoiosue / Omni-Notes

Open source note-taking application for Android
https://omninotes.app
GNU General Public License v3.0
2.71k stars 1.11k forks source link

Ask for camera permission before launching gallery #944

Open pratistha-05 opened 1 year ago

pratistha-05 commented 1 year ago

Current Behaviour: while adding photos, OmniNotes opens up gallery without prompting user to give permission Expected Behaviour: while adding photos, the app should pop up a dialog box that asks user for permission for camera access

image

@federicoiosue can you please assign this issue to me , so that I can get started.

federicoiosue commented 11 months ago

Hi Pratistha, if you mean to move the camera permission to runtime management feel free to start working on this. Please follow the contributing guidelines.

pratistha-05 commented 11 months ago

We can also add runtime permission for accessing files. Can I improvise this in same PR @federicoiosue ?