Skip to content

Commit 9da92c1

Browse files
authored
release 4.0.1 (#11)
* release 4.0.1
1 parent 6c9ff8f commit 9da92c1

File tree

6 files changed

+17
-8
lines changed

6 files changed

+17
-8
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 4.0.1 (Nov 4, 2024)
4+
### Features
5+
- Fixed an issue where build failed on the Windows platform
6+
37
## 4.0.0 (Sep 25, 2024)
48
### Features
59
- Added support for WebGL

Runtime/Scripts/UnityPlatform/JsWebSocket/JsNativeWebSocketBridge.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#if UNITY_WEBGL && !UNITY_EDITOR
12
using System.Collections.Generic;
23
using System.Runtime.InteropServices;
34

@@ -122,4 +123,6 @@ internal static void Close(int inClientId)
122123
CloseByNative(inClientId);
123124
}
124125
}
125-
}
126+
}
127+
128+
#endif //#if UNITY_WEBGL && !UNITY_EDITOR

Runtime/Scripts/UnityPlatform/JsWebSocket/JsWebSocket.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#if UNITY_WEBGL && !UNITY_EDITOR
12
using System;
23
using System.Net;
34

@@ -154,4 +155,6 @@ internal void OnWebSocketClosed()
154155
}
155156
}
156157
}
157-
}
158+
}
159+
160+
#endif // #if UNITY_WEBGL && !UNITY_EDITOR
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
//
2-
// Copyright (c) 2022 Sendbird, Inc.
3-
//
4-
1+
#if UNITY_WEBGL && !UNITY_EDITOR
52
namespace Sendbird.Chat
63
{
74
internal enum JsWebSocketStateType
@@ -13,3 +10,5 @@ internal enum JsWebSocketStateType
1310
Closed,
1411
}
1512
}
13+
14+
#endif //#if UNITY_WEBGL && !UNITY_EDITOR

Runtime/Scripts/UnityPlatform/UnityPlatformApplication.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Sendbird.Chat
99
{
1010
internal class UnityPlatformApplication : IPlatformApplication
1111
{
12-
string IPlatformApplication.SdkVersion => "4.0.0";
12+
string IPlatformApplication.SdkVersion => "4.0.1";
1313
string IPlatformApplication.PlatformName => "Unity";
1414
string IPlatformApplication.PlatformVersion => Application.unityVersion;
1515
string IPlatformApplication.OsName => Application.platform.ToString();

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.sendbird.chat",
33
"displayName": "SendbirdChat",
4-
"version": "4.0.0",
4+
"version": "4.0.1",
55
"documentationUrl": "https://github.com/sendbird/sendbird-chat-sdk-unity",
66
"changelogUrl": "https://github.com/sendbird/sendbird-chat-sdk-unity/blob/master/CHANGELOG.md",
77
"licensesUrl": "https://github.com/sendbird/sendbird-chat-sdk-unity/blob/master/LICENSE.md",

0 commit comments

Comments
 (0)