stream-chat-android
stream-chat-android copied to clipboard
Improve permissions handling
Context & proposal
Improve asking for permissions on Android 13. Android 13 separated READ_EXTERNAL_STORAGE
permission into:
- READ_MEDIA_IMAGES
- READ_MEDIA_AUDIO
- READ_MEDIA_VIDEO
Currently, we don't allow choosing attachments if any of them is rejected, but we should improve it and allow selecting media for which permission was granted. For example, if the user chooses to permit us only for Images
- they should be able to pick them without giving access to the rest of the media types.
We should also find a way to notify the user that some of the permissions are missing.