GetStream / stream-chat-swift

💬 iOS Chat SDK in Swift - Build your own app chat experience for iOS using the official Stream Chat API
https://getstream.io/chat/sdk/ios/
Other
861 stars 210 forks source link

[POC] Creating live ephemeral messages #3473

Closed nuno-vieira closed 3 weeks ago

nuno-vieira commented 1 month ago

🔗 Issue Links

None

🎯 Goal

PoC to test how creating live ephemeral messages would work.

How to use

The ComposerVC example should be simple to understand on how to use it. There 3 new ChannelController methods:

There is also an alternative approach here that uses an EphemeralMessageUpdater object, but I think for now this one is simple enough. In the future we should refine and decide the final API. We could even opt for creating a new controller or object, that handles the state of the ephemeral message, but will discuss this internally.

Update

Tried a new, simpler version, which contains only 2 methods, and is easier to use:

github-actions[bot] commented 1 month ago
1 Message
:book: Skipping Danger since the Pull Request is classed as Draft/Work In Progress

Generated by :no_entry_sign: Danger

Stream-SDK-Bot commented 4 weeks ago

SDK Size

title develop branch diff status
StreamChat 6.92 MB 6.92 MB +1 KB 🟢
StreamChatUI 4.95 MB 4.95 MB 0 KB 🟢
sonarcloud[bot] commented 4 weeks ago

Quality Gate Passed Quality Gate passed

Issues
166 New issues
0 Accepted issues

Measures
0 Security Hotspots
83.4% Coverage on New Code
0.1% Duplication on New Code

See analysis details on SonarCloud

nuno-vieira commented 3 weeks ago

@martinmitrevski Closing it then, we can re-open if we revive this