jhass / insporation

Flutter based client for diaspora*
BSD 3-Clause "New" or "Revised" License
30 stars 3 forks source link

When camera or photo library access was denied, the buttons should be disabled #61

Open tclaus opened 2 years ago

tclaus commented 2 years ago

(At least on iOS), after installing the app and first create a new post, when accessing the camera or the photo library a message opens and asks for permission to get access to these personal data.

If this permission is denied by the user, the buttons are still unchanged, another click on one of this button does - nothing.

The camera and library buttons should be in disabled state, when the app has no permission for these functions, so the user sees that these functions are disabled by a reason.

jhass commented 2 years ago

Another option could be to show a dialog on click then, instructing the user to grant the permissions within the application settings.

tclaus commented 2 years ago

Another option could be to show a dialog on click then, instructing the user to grant the permissions within the application settings.

Thats even better!