Diversido / flutter_twilio_conversations

Integrate the Twilio Conversations SDK with your Flutter app using this Twilio Conversations Flutter plugin
7 stars 7 forks source link

IOS: Update ChatListener to match Protocol #7

Closed martintrollip closed 1 year ago

martintrollip commented 1 year ago

The ChatListener was not notified about new channels on IOS. Updated the methods to match the TwilioConversationsClientDelegate Protocol where the methods are conversationAdded and conversationDeleted.

Additionally I removed the channelJoined event to match the implementation of Android. This is a breaking change and the channelAdded event should be used instead. The client can evaluate the channel status to determine if it was joined.