Add the messenger to your mobile app
Updated Nov 9, 2026
Available on: Starter, Growth, Pro, Enterprise. This feature is in beta: it is still being built and may change.
Your customers can chat with you from inside your own app. The app shows the messenger full screen in a web view, with the same features and the same conversation as on your website.
Native messenger SDKs for iOS, Android, React Native and Flutter are written and in private beta: they wrap the same messenger and add push, the unread count and the camera. They are not in the public package registries yet, so talk to us if you want one. The web view approach below needs no SDK and works in any app today.
How it works
- Your app opens
https://app.chaosdesk.io/messenger/embed?key=WIDGET_KEY&locale=enin a web view. Take the widget key from Admin Center, Channels, Messenger. - The page opens the messenger in embedded mode: no launcher, the conversation fills the screen, and the header has a close button.
- Your app calls
zE(...)in the web view, for exampleloginUserso the conversation is the customer's on every device. - The messenger sends events back to your app:
open,close(dismiss the web view),unreadMessages(for a badge) and the result ofloginUser.
Keep the web view's data store persistent (the default) so the history survives app restarts.
Sign the customer in
Get the JWT from your own backend, the same way your website does. Never put the signing secret in the app. See Identify signed-in users in the messenger.
Code samples
The messenger SDK reference has the bridge names for iOS (WKWebView), Android (WebView) and React Native, and small samples for each.
Related
Was this article helpful?
Still need help?
Submit a request