React child elements wrapped by the SDK context provider.
An instantiated FeedbackClient configured with your API base URL and application key.
OptionallocaleLocale identifier for UI text localization (e.g. 'en', 'zh-Hans', 'zh', 'zh-CN'),
or 'auto' to follow the device language.
With 'auto' (the default), the device locale is detected through
expo-localization or react-native-localize when the host app ships
either, then React Native core (SettingsManager / I18nManager, or
navigator.language on web), and falls back to 'en' when nothing is
detectable. An explicit tag always wins verbatim — pass one to force a
language (e.g. for an in-app language picker). The resolved value is
exposed as CupThreadContextValue.locale.
OptionalstringsCustom string overrides deeply merged on top of the active locale dictionary.
OptionalthemeOptional visual theme override (e.g., 'light', 'dark', 'midnight', 'ocean', 'forest', 'sunset', 'candy').
Defaults to remote app configuration or 'system'.
OptionaluserOptional custom user token string. If omitted, UserTokenStore.shared generates and manages a persistent device token and the provider follows later identity switches made via UserTokenStore.setToken / UserTokenStore.resetToken (login/logout). When provided, this prop always wins and store switches are ignored.
Props for configuring the CupThreadProvider.
Example