Remote application settings and feature flags, or null while loading or after failure.
Configured FeedbackClient instance for executing API operations.
Resolved color tokens currently applied to components.
Last configuration fetch failure, or null when the last attempt succeeded (or is in flight).
True while remote configuration is actively being retrieved.
True once CupThreadContextValue.userToken reflects the persisted token (or the explicit prop). Token-dependent fetches should wait for this to avoid attributing early requests to a throwaway identity.
Active locale string (e.g. 'en', 'zh-Hans', 'pt-BR') — the resolved
result of the provider's locale prop: 'auto' resolves to the detected
device locale, or 'en' when none is detectable.
Re-fetches remote application configuration from the server.
Clears any previous configError, resets loading state, and retrieves fresh application settings and branding from the server.
Resolved localized strings used by CupThread UI components.
Resolved theme name (e.g. 'system', 'midnight', 'ocean').
Current active anonymous or user authentication token.
When no explicit userToken prop is provided and an async storage adapter
(AsyncStorage / SecureStore) is configured, this is an empty string until
the persisted token has been recovered — see CupThreadContextValue.isTokenReady.
The provider also follows later identity switches made through
UserTokenStore.setToken / UserTokenStore.resetToken
(e.g. login/logout), so this value stays in sync with the store.
Context value provided by CupThreadProvider to descendant SDK components.