Hardware back button is double handled #2752
Labels
Build test: success
Docs: not needed
Effort: small
Small effort story/task, estimated 0-2 days
Priority: immediate
Milestone
Describe the bug
Pressing the hardware backbutton is being double handled.
To reproduce
Steps to reproduce the behavior:
Expected behaviour
Should only go back once
Proposed Solution
backHandler
inutilities/navigation
needs to returntrue
, which means it has handled the event, otherwise if returns a falsey value,react-navigation
default kicks in (poping the stack again).Version and device info
Additional context
I remember fixing this already, must have lost hte commit somehow!
The text was updated successfully, but these errors were encountered: