Skip to content

4.24.3

Compare
Choose a tag to compare
@sendbird-sdk-deployment sendbird-sdk-deployment released this 11 Feb 07:05
· 7 commits to master since this release
838b610

Improvements

  • Improved logic to prevent crashes in SessionWebSocketEngine
  • Added AuthTokenType
  • Added authTokenType parameter to authenticate() (Default Value: .sessionToken)
    // using AccessToken
    SendbirdChat.authenticate(userId: USER_ID, authToken: ACCESS_TOKEN, authTokenType: .accessToken) { user, error in
    }
    
    // using SessionToken
    SendbirdChat.authenticate(userId: USER_ID, authToken: SESSION_TOKEN) { user, error in
    }
    SendbirdChat.authenticate(userId: USER_ID, authToken: SESSION_TOKEN, authTokenType: .sessionToken) { user, error in
    }
  • Fixed a bug where MessageCollectionDelegate is not being called when a message is translated using BaseChannel.translateUserMessage(_:targetLanguages:completionHandler:)
  • Fixed empty channels to be fetched later than non-empty channels, when fetching channels in .latestLastMessage order from local database