BackHandler Error while closing Chatwoot

Open
#52 2 comments 4 reactions 0 assignees View on GitHub

@shaiunterslak is already working on this.

Since Jul 14, 2026.

  • #53 by @actualpriyanshu — closed without merging
  • #61 by @shaiunterslak — open

Assessment

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

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.

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!

Dominant language
JavaScript
Stars
81
Forks
54
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from chatwoot/chatwoot-react-native-widget

All issues in chatwoot/chatwoot-react-native-widget

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.