You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Android] mBackPressedCallback not re-enabled after hardware back handler is called #227
When React Native does not handle a back press (for example, when the navigation stack is already empty), setHardwareBackHandler disables mBackPressedCallback and manually dispatches the back event to the host Activity:
I’m not fully sure whether this behavior is intentional, but the issue I’m encountering is that once React Native declines to handle a back press, subsequent back presses are never delivered to React Native again.
Expected behavior
If React Native does not handle a back press, the event should be forwarded to the Activity, but React Native should still be able to receive future back press events.
Proposed fix
I applied the patch, and everything seems to be working as expected.
issue reproduced with the repo's sample app, dummy toast added in the native Activity to show when the native layer got a chance to respond to the close-app intent from user.
PR - #288
Activity
hurali97 commentedon Feb 17, 2026
Hi @lujjjh - Is it possible for you to share a reproducer? We can then quickly verify the behavior and if it is legit, then we would love a PR 👍
marcinszalski-callstack commentedon Apr 3, 2026
issue reproduced with the repo's sample app, dummy toast added in the native
Activityto show when the native layer got a chance to respond to the close-app intent from user.PR - #288
hurali97 commentedon Apr 9, 2026
CLosing as #288 is merged and released v3.5.1