Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 4.1.1 (Oct 24, 2025)
### Features
- Added `SetPushTriggerOption` to `SendbirdChatClient`

### Bug Fixes
- Fixed an issue with `SendbirdChat.BlockUser` where 'User not found error' occurs due to URL encoding
## 4.1.0 (Nov 29, 2024)
### Features
- Added `SetPushTriggerOption` to `SendbirdChatClient`
Expand Down
31 changes: 30 additions & 1 deletion Runtime/Plugins/WebGL/SendbirdWebSocket.jslib.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Runtime/Scripts/Internal/Command/CommandRouter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -392,13 +392,14 @@ private WsClientConnectParams CreateWebSocketClientConnectParams(string inWebSoc

#if UNITY_WEBGL
uriStringBuilder.Append($"&{ConnectionHeaders.REQUEST_SENT_TIMESTAMP.Name}={ConnectionHeaders.REQUEST_SENT_TIMESTAMP.Value}");
#else
uriStringBuilder.Append($"&{ConnectionHeaders.USER_AGENT.Name}={ConnectionHeaders.USER_AGENT.Value}");
#endif
}

WsClientConnectParams wsClientConnectParams = new WsClientConnectParams(uriStringBuilder.ToString());
{
#if !UNITY_WEBGL
wsClientConnectParams.CustomHeaders.Add(ConnectionHeaders.USER_AGENT.Name, ConnectionHeaders.USER_AGENT.Value);
wsClientConnectParams.CustomHeaders.Add(ConnectionHeaders.REQUEST_SENT_TIMESTAMP.Name, ConnectionHeaders.REQUEST_SENT_TIMESTAMP.Value);
#endif

Expand Down
4 changes: 3 additions & 1 deletion Runtime/Scripts/UnityPlatform/UnityPlatformApplication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ namespace Sendbird.Chat
{
internal class UnityPlatformApplication : IPlatformApplication
{
string IPlatformApplication.SdkVersion => "4.1.0";
// NOTE: This version is automatically updated by the PublishPackage workflow during deployment.
// Only update manually when making releases outside of the automated workflow.
string IPlatformApplication.SdkVersion => "4.1.1";
string IPlatformApplication.PlatformName => "Unity";
string IPlatformApplication.PlatformVersion => Application.unityVersion;
string IPlatformApplication.OsName => Application.platform.ToString();
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "com.sendbird.chat",
"displayName": "SendbirdChat",
"version": "4.1.0",
"version": "4.1.1",
"documentationUrl": "https://github.com/sendbird/sendbird-chat-sdk-unity",
"changelogUrl": "https://github.com/sendbird/sendbird-chat-sdk-unity/blob/master/CHANGELOG.md",
"licensesUrl": "https://github.com/sendbird/sendbird-chat-sdk-unity/blob/master/LICENSE.md",
"description": "The Sendbird Chat SDK for Unity allows you to add real-time chat into your client app with minimal effort. Sendbird offers a feature rich, scalable, and proven chat solution depended on by companies like Reddit, Hinge, PubG and Paytm.",
"description": "The Sendbird Chat SDK for Unity allows you to add real-time chat into your client app with minimal effort. Sendbird offers a feature rich, scalable, and proven chat solution.",
"dependencies": {
"com.unity.nuget.newtonsoft-json": "2.0.0"
},
Expand Down