chatwoot / chatwoot/chatwoot-react-native-widget

BackHandler Error while closing Chatwoot

Open
#52 2 comments 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
79
Forks
54
PR merge metrics
No merged PRs in 30d

Description

When I attempt to close the Chatwoot Modal using the `x` button, I encounter an error message.

```
ERROR: Warning: TypeError: _reactNative.BackHandler.removeEventListener is not a function (it is undefined)
```

I am currently using Expo v53 with React Native 0.79.

Could you please look into this issue?
@muhsin-k

Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the error by closing the Chatwoot modal with the x button under Expo v53 and React Native 0.79. Start by tracing the modal close path and its use of React Native BackHandler, especially removeEventListener. Done means the modal closes without the reported TypeError.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.