chat-sdk / chat-sdk-ios

Chat SDK iOS - Open Source Mobile Messenger
http://sdk.chat
Other
913 stars 276 forks source link

ChatSDK Leave thread issue #497

Closed vineethsreekumar closed 2 years ago

vineethsreekumar commented 2 years ago
  1. Is the bug present in the demo Chat SDK project? - Yes
  2. What modifications have you made to the Chat SDK? - Leave thread function call
  3. iOS Version? Device or simulator? - Simulator iPhone 13 pro max
  4. Steps taken to reproduce the problem: call leave thread BChatSDK.thread().leave(thread) - current user to leave the thread in a group
  5. Expected result: leave the group
  6. Actual result: Error Domain=RXPromise Code=-1000 "" UserInfo={NSLocalizedFailureReason=}
  7. Comments:
vineethsreekumar commented 2 years ago

@bensmiley Updated here

vineethsreekumar commented 2 years ago

Can a user leave a group BChatSDK.thread().leave(thread) function ?

bensmiley commented 2 years ago

This has been resolved. Please check out the latest version of the project.

vineethsreekumar commented 2 years ago

@bensmiley Tried the latest version 5.0.11 and the issue still exist.

bensmiley commented 2 years ago

You need to check out the version from Github.

vineethsreekumar commented 2 years ago

@bensmiley which version? I did pod install .

bensmiley commented 2 years ago

From Github not Cocoapods you need to add the project as a development pod... because it's not released yet on Cocoapods.

vineethsreekumar commented 2 years ago

@bensmiley these are the pods what I am using from chat SDK pod "ChatSDK/UI" pod "ChatSDKFirebase/Adapter" pod "ChatSDKFirebase/Upload" pod "ChatSDKFirebase/Push" pod "ChatSDKFirebase/FirebaseUI"

How I should use it now?

bensmiley commented 2 years ago

Here's an example:

https://github.com/chat-sdk/chat-sdk-ios/blob/master/DemoSwift/Podfile

https://stackoverflow.com/questions/59199431/what-is-a-development-pod

vineethsreekumar commented 2 years ago

@bensmiley Hi Ben when will be your new release with these fixes ?