Skip to content

Commit

Permalink
Release - 4.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sendbird-sdk-deployment committed Feb 22, 2023
1 parent d4f3f64 commit 0827a63
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 4 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Changelog

## v4.4.0 (Feb 22, 2023)

### **Features**

### Disconnect Websocket only

When you call `SendbirdChat.disconnect`, it disconnects the WebSocket and clears local cache. You can think of it as logging out.

In some cases, you need to only disconnect the WebSocket. You can now do it by calling `SendbirdChat.disconnectWebSocket`.
It only disconnects the WebSocket and preserves the local cache.
```swift
SendbirdChat.disconnectWebSocket {
// onDisconnected
}
```
To connect again after disconnecting with `disconnectWebSocket()`,
use [SendbirdChat.connect()](https://sendbird.com/docs/chat/v4/ios/application/authenticating-a-user/authentication#2-connect-to-the-sendbird-server-with-a-user-id).
```swift
SendbirdChat.connect(userId: userId) { user, error in
if let user = user {
// onConnected
} else {
// Handle error.
}
}
```

### **Improvements**
- Fixed to prevent initializing SendbirdChat multiple times with same `applicationId` and `isLocalCachingEnabled`

## v4.3.2 (Feb 16, 2023)

- Fixed group channel querying with nickname filters (`nicknameContainsFilter`, `nicknameExactMatchFilter`, `nicknameExactMatchFilter`) to behave the same whether or not local caching is enabled
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ let package = Package(
targets: [
.binaryTarget(
name: "SendbirdChatSDK",
url: "https://github.com/sendbird/sendbird-chat-sdk-ios/releases/download/v4.3.2/SendbirdChatSDK.xcframework.zip",
checksum: "42ef0313531fd1f5db125646e352fca36d3a00aa7c3002e1ebe2daba70bc2db9"
url: "https://github.com/sendbird/sendbird-chat-sdk-ios/releases/download/v4.4.0/SendbirdChatSDK.xcframework.zip",
checksum: "6b59c6e8fe1a04419587f9e573c817d9d12d9ea2a9ef6e017e490d55021ccbc7"
),
]
)
4 changes: 2 additions & 2 deletions SendbirdChatSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Pod::Spec.new do |s|
s.name = 'SendbirdChatSDK'
s.version = "4.3.2"
s.version = "4.4.0"
s.summary = 'Sendbird Chat iOS Framework'
s.description = 'Messaging and Chat API for Mobile Apps and Websites'
s.homepage = 'https://sendbird.com'
Expand All @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
'Celine Moon' => '[email protected]',
'Ernest Hong' => '[email protected]'
}
s.source = { :http => "https://github.com/sendbird/sendbird-chat-sdk-ios/releases/download/v4.3.2/SendbirdChatSDK.zip", :sha1 => "73a8c30b723f4389150c7a81bbdf644026b44da4" }
s.source = { :http => "https://github.com/sendbird/sendbird-chat-sdk-ios/releases/download/v4.4.0/SendbirdChatSDK.zip", :sha1 => "7af8d2943a47d22f068014552ba06fe82d7e284d" }
s.requires_arc = true
s.platform = :ios, '9.0'
s.documentation_url = 'https://sendbird.com/docs/chat'
Expand Down

0 comments on commit 0827a63

Please sign in to comment.