Skip to content

Conversation

@priyanshuone6
Copy link

Fixes #52

Clicking the X button on the Chatwoot modal triggers the deprecated error mentioned in the issue.

React Native 0.77.0 deprecated BackHandler.removeEventListener, which is still used by the version of react-native-modal bundled with Chatwoot. With Expo SDK 53 requiring React Native 0.79, this results in the reported error.

The latest version of react-native-modal resolves this issue. I have verified the fix by using npm overrides to force Chatwoot to use the updated version, and the modal now works as expected.

@1finedev
Copy link

+1

Copy link

@VenkateshEZWIIZ VenkateshEZWIIZ left a comment

Choose a reason for hiding this comment

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

saved

@VenkateshEZWIIZ
Copy link

please merge this

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.

BackHandler Error while closing Chatwoot

4 participants