stream-chat-android icon indicating copy to clipboard operation
stream-chat-android copied to clipboard

Improve permissions handling

Open adasiewiczr opened this issue 2 years ago • 0 comments

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.

adasiewiczr avatar Sep 08 '22 11:09 adasiewiczr