RinggWidgetConfig controls how the widget looks and starts in your app; the agent’s prompt, voice and tools stay in the dashboard. Only agentId is required. Every other field falls back to a default generated from one source for all platforms, so the web, React Native and Flutter widgets behave identically when a field is left unset; theme values with no default listed fall back to the packaged Ringg palette. Pick your framework with the switcher next to the table of contents, and install the package first.
RinggWidgetConfig is the object you pass to <RinggWidget config /> from @ringg/react-native.Identity and auth
authorization and clientOrigin ship inside your app and can be extracted from it. Use the agent’s webcall public key. The config type also accepts xApiKey; never put your workspace API key there, because it isn’t limited to one agent or to your Allowed clients.Caller identity sent as
Origin, built with appOrigin(BUNDLE_ID). Required for real calls; see Caller identity.Panel content and mode
Replaces the default legal text shown before a conversation. Words in
text that match a key in links link to that URL.Variables
variables fill the agent’s variables. Values are sent as given, so strings, numbers, booleans, objects and arrays all work. Set them at controller creation; to change them for a new conversation, create a new controller.Theme
Colors take any CSS color string;primaryColor and agentBubbleColor also accept CSS gradients.Font family, resolved against fonts registered in your app. React Native does not fetch web fonts, so load the family through Expo Font or your native font assets first.
Buttons
PortableStyles is the cross-platform style subset: height, width, backgroundColor, padding, borderRadius. Arbitrary CSS is not accepted, because these values are applied to native views.Voice call view
Shows the audio visualizer during a call. If you pass your own
controller, pass room too.Feedback screen
Chat extras
Commands offered in the composer, merged with any the agent returns at call start. Each is
{ tool_type, command, display_name, description }.Sound played on an incoming reply. On React Native it plays only with a player wired through
ports; see notification sound.Web-only options
widgetPosition and innerWindowProps exist on the type because the config is shared with the web widget. They are ignored on React Native: the native layout places the trigger and panel, and there is no resizable window to size.