[Problem/Question]
I ran sample of Unity SDK (GitHub - sendbird/sendbird-chat-sdk-unity: Sendbird Chat SDK for Unity for enablement of a rich, engaging, scalable, and real-time chat service.)
and built it to WebGL. It works on Chrome browser (Windows, Android) but has this issue when running on Firefox browser (Windows, Android), Safari (iPhone).
[Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api-…sendbird.com/v3/open_channels?limit=20&show_frozen=False&show_metadata=False. (Reason: header ‘user-agent’ is not allowed according to header ‘Access-Control-Allow-Headers’ from CORS preflight response)]
[Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api-…sendbird.com/v3/open_channels?limit=20&show_frozen=False&show_metadata=False. (Reason: CORS request did not succeed). Status code: (null).]
[SDK Version]
SDK version 4.1.0
Firefox version: 133.0.3 (64-bit)