CupThread React Native & Expo SDK - v0.1.0
    Preparing search index...

    Interface CupThreadContextValue

    Context value provided by CupThreadProvider to descendant SDK components.

    interface CupThreadContextValue {
        appConfig: PublicAppConfig | null;
        client: FeedbackClient;
        colors: ThemeColors;
        isLoadingConfig: boolean;
        locale: string;
        refreshConfig: () => Promise<void>;
        strings: CupThreadStrings;
        themeName: SdkTheme;
        userToken: string;
    }
    Index
    appConfig: PublicAppConfig | null

    Remote application settings and feature flags, or null while loading.

    Configured FeedbackClient instance for executing API operations.

    colors: ThemeColors

    Resolved color tokens currently applied to components.

    isLoadingConfig: boolean

    True while remote configuration is actively being retrieved.

    locale: string

    Active locale string (e.g. 'en', 'zh-Hans').

    refreshConfig: () => Promise<void>

    Re-fetches remote application configuration from the server.

    Resolved localized strings used by CupThread UI components.

    themeName: SdkTheme

    Resolved theme name (e.g. 'system', 'midnight', 'ocean').

    userToken: string

    Current active anonymous or user authentication token.