Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StreamMessageInput allowedAttachmentPickerTypes doesn't hide record video or hide videos on mobile #1721

Closed
1 task done
kydav opened this issue Aug 30, 2023 · 1 comment · Fixed by #1727
Closed
1 task done
Labels
bug Something isn't working

Comments

@kydav
Copy link

kydav commented Aug 30, 2023

Which packages are you using?

stream_chat_flutter

On what platforms did you experience the issue?

iOS, Android

What version are you using?

6.9.0

What happened?

If I set
allowedAttachmentPickerTypes: [ AttachmentPickerType.files, AttachmentPickerType.images, ],
on iOS and Android, videos still appear in the selection and there is a video icon in the bottom sheet to record a video to send. Is there a way to not allow videos at all in the Stream Chat attachments?

Steps to reproduce

1. Set allowedAttachmentPickerTypes in StreamMessageInput
2. Go to chat
3. Click on paperclip to attach
4. Videos appear in list and take video button is available.

Supporting info to reproduce

No response

Relevant log output

No response

Flutter analyze output

No response

Flutter doctor output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@kydav kydav added the bug Something isn't working label Aug 30, 2023
@kydav kydav changed the title StreamMessageInput allowedAttachmentPickerTypes doesn't hide record video or hide videos StreamMessageInput allowedAttachmentPickerTypes doesn't hide record video or hide videos on mobile Aug 30, 2023
@xsahil03x
Copy link
Contributor

Hey, @kydav, I was able to reproduce this. I will create a fix soon. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants