Skip to content

feat(webchat/integrations): add react native guide#442

Merged
chloequijano-botpress merged 4 commits intomasterfrom
cq-add-react-native-webchat
Apr 2, 2026
Merged

feat(webchat/integrations): add react native guide#442
chloequijano-botpress merged 4 commits intomasterfrom
cq-add-react-native-webchat

Conversation

@chloequijano-botpress
Copy link
Copy Markdown
Collaborator

@chloequijano-botpress chloequijano-botpress commented Mar 30, 2026

Add guide for embedding webchat into React Native

Demo:
Demo

@mintlify
Copy link
Copy Markdown

mintlify bot commented Mar 30, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
botpress 🟢 Ready View Preview Mar 30, 2026, 8:19 PM

Copy link
Copy Markdown
Collaborator

@adkah adkah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM just a couple of comments!

Comment on lines +47 to +52
| Path | Purpose |
|------|---------|
| **`src/botpress/getBotpressWebchat.js`** | Builds `{ html, baseUrl }` for the WebView. |
| **`src/botpress/BpWidget.js`** | WebView component and event bridge (`onMessage`); blocks marketing site navigation on close. |
| **`src/botpress/BpWidget.d.ts`** | *(Optional, TypeScript only)* Types for `BpWidget`. |
| **`src/config/botpressConfig.js`** | Webchat URLs and optional `botId`. **Step 4** shows what goes inside `export const botpressConfig = { ... }`. |
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is good as-is since you have descriptions for each file but mintlify has a pretty nice component for this

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ohh sick yeah i forgot this existed cuz i remember seeing it in the ADK docs ~ ill try it out

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added the tree for a visual, still liked the table for giving context tho so feel free to lmk if i should change it

@chloequijano-botpress chloequijano-botpress merged commit c414063 into master Apr 2, 2026
4 checks passed
@chloequijano-botpress chloequijano-botpress deleted the cq-add-react-native-webchat branch April 2, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants