Skip to content

Comments

Change BackHandler.removeEventListener usage to subscription.remove#428

Merged
guytepper merged 3 commits intomainfrom
back-handler-fix
Apr 5, 2025
Merged

Change BackHandler.removeEventListener usage to subscription.remove#428
guytepper merged 3 commits intomainfrom
back-handler-fix

Conversation

@guytepper
Copy link
Member

@guytepper guytepper commented Apr 5, 2025

React Native v0.77 removes BackHandler.removeEventListener in exchange of subscription.remove() (facebook/react-native#45892).

This prepares the app for the upcoming upgrade from v0.76.

Also in this PR an upgrade for action sheet, which uses that method (expo/react-native-action-sheet#339) -- Ended up landing in d0586f4

@guytepper guytepper requested a review from Copilot April 5, 2025 10:42
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

guytepper and others added 2 commits April 5, 2025 13:43
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@guytepper guytepper merged commit 2380984 into main Apr 5, 2025
1 check passed
@guytepper guytepper deleted the back-handler-fix branch April 5, 2025 10:44
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.

1 participant