Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release 4.0.1 #11

Merged
merged 2 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 4.0.1 (Nov 4, 2024)
### Features
- Fixed an issue where builds failed on the Windows platform

## 4.0.0 (Sep 25, 2024)
### Features
- Added support for WebGL
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if UNITY_WEBGL && !UNITY_EDITOR
using System.Collections.Generic;
using System.Runtime.InteropServices;

Expand Down Expand Up @@ -122,4 +123,6 @@ internal static void Close(int inClientId)
CloseByNative(inClientId);
}
}
}
}

#endif //#if UNITY_WEBGL && !UNITY_EDITOR
5 changes: 4 additions & 1 deletion Runtime/Scripts/UnityPlatform/JsWebSocket/JsWebSocket.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if UNITY_WEBGL && !UNITY_EDITOR
using System;
using System.Net;

Expand Down Expand Up @@ -154,4 +155,6 @@ internal void OnWebSocketClosed()
}
}
}
}
}

#endif // #if UNITY_WEBGL && !UNITY_EDITOR
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
//
// Copyright (c) 2022 Sendbird, Inc.
//

#if UNITY_WEBGL && !UNITY_EDITOR
namespace Sendbird.Chat
{
internal enum JsWebSocketStateType
Expand All @@ -13,3 +10,5 @@ internal enum JsWebSocketStateType
Closed,
}
}

#endif //#if UNITY_WEBGL && !UNITY_EDITOR
2 changes: 1 addition & 1 deletion Runtime/Scripts/UnityPlatform/UnityPlatformApplication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Sendbird.Chat
{
internal class UnityPlatformApplication : IPlatformApplication
{
string IPlatformApplication.SdkVersion => "4.0.0";
string IPlatformApplication.SdkVersion => "4.0.1";
string IPlatformApplication.PlatformName => "Unity";
string IPlatformApplication.PlatformVersion => Application.unityVersion;
string IPlatformApplication.OsName => Application.platform.ToString();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.sendbird.chat",
"displayName": "SendbirdChat",
"version": "4.0.0",
"version": "4.0.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",
Expand Down