fix: Update client type constant for Android in context management

- Renamed ClientTypeSDK to ClientTypeAndroid for clarity and consistency in client type definitions.
- Updated SupportedClientTypes map to reflect the change in client type naming.
This commit is contained in:
Max 2025-05-09 12:14:41 +08:00
parent dc54d17f2b
commit eb89272048

View file

@ -59,8 +59,8 @@ const (
// ClientTypeWeb is the client type for Web (Default UI)
ClientTypeWeb = "web"
// ClientTypeSDK is the client type for SDK
ClientTypeSDK = "android"
// ClientTypeAndroid is the client type for Android
ClientTypeAndroid = "android"
// ClientTypeIOS is the client type for IOS
ClientTypeIOS = "ios"
@ -82,7 +82,7 @@ const (
var SupportedClientTypes = map[string]bool{
ClientTypeAgent: true,
ClientTypeWeb: true,
ClientTypeSDK: true,
ClientTypeAndroid: true,
ClientTypeIOS: true,
ClientTypeJSSDK: true,
ClientTypeMacOS: true,