Skip to content

Custom Attachments/Gallery viewer #804

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

Closed
hujaber opened this issue Apr 10, 2025 · 2 comments
Closed

Custom Attachments/Gallery viewer #804

hujaber opened this issue Apr 10, 2025 · 2 comments
Assignees

Comments

@hujaber
Copy link

hujaber commented Apr 10, 2025

What are you trying to achieve?

When the user is in a chat, and the message is an image/video, tapping that message will open it in an attachment/gallery view provided by the SDK. I did not find a way to provide my own gallery view.

If possible, how can you achieve this currently?

N/A

What would be the better way?

Factory method to provide our own view, I expect the view to get the list of attachments of the message, or the whole ChatMessage and the view takes care of presenting them the way we want

GetStream Environment

GetStream Chat version:
4.74.0
GetStream Chat frameworks: StreamChat, StreamChatSwiftUI
iOS version: 18.0
Swift version: 6.0
Xcode version: 16.2

@hujaber hujaber changed the title Custom Attachment viewer Custom Attachments/Gallery viewer Apr 10, 2025
@nuno-vieira
Copy link
Member

Hi @hujaber,

Thank you for the report. We should expose the factory method soon. We will let you know once we do that.

Best,
Nuno

@linear linear bot added to_discuss and removed to_discuss labels Apr 11, 2025
@nuno-vieira nuno-vieira self-assigned this Apr 11, 2025
@testableapple
Copy link
Contributor

Hi @hujaber,

This has been implemented in #808 and released as part of 4.78.0 👍

Best,
Alexey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants