Hi! I’m building a simple console app to test/debug an issue with access tokens. The application is basically a copy of this example: Authentication | Chat .NET SDK | Sendbird Docs
When I run the code, it fails, with the message “Operation is not supported on this platform.”
string userId = "###";
string accessToken = "###";
SendBirdClient.Init("###");
SendBirdClient.Connect(userId, accessToken, (User user, SendBirdException e) =>
{
if (e != null)
{
Console.WriteLine(e.Message);
return; // Handle error.
}
// The user is connected to the Sendbird server.
Console.WriteLine("It works!");
});
The error returned in the response: