Package: @chatropic/react-native. Install with npm install @chatropic/react-native. Peer dependencies are react >= 18 and react-native >= 0.73.

Components

Both components accept the same props, except onBack, which only applies to ChatWidgetScreen.

Props

Helpers

createChatStorage()

Returns a storage adapter backed by @react-native-async-storage/async-storage that persists the session id and message history, so conversations resume across app launches.

Payload shapes

Delivered to onNavigate as the path string. The full payload the agent produces:
Paths are always relative and always come from your workspace’s navigation route registry.

Key formats

Quickstart

Copy-paste setup tutorial.

React Native SDK guide

Task-oriented integration walkthrough.