chatwoot / chatwoot/chatwoot-react-native-widget

feat: exposing `onMessage` as a prop

Open
#56 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
79
Forks
54
PR merge metrics
No merged PRs in 30d

Description

Thanks for your work on this library! Is it possible to expose [`onMessage`](https://github.com/chatwoot/chatwoot-react-native-widget/blob/cd280c2/src/WebView.js#L89) as a callback prop similar to how on the web, you can listen to Chatwoot messages and hook in your own custom functionality?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in src/WebView.js at the onMessage handling referenced in the issue, then inspect how component props are defined and passed through the widget. Expose the callback as a React Native prop while preserving the existing message handling, and verify that consumers can receive Chatwoot messages for custom functionality.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.