So, I have a rather complex navigation stack tree… to simplify, say I have
- Stack A: screen 1, 2, and 3
- Stack B: screen 1, 2, and 3
- Stack C: screen 1, 2, and 3
From B1 or B2, I can jump to C1. Like almost anything can jump in to the top of any stack. The problem is, when I come from B2 to C1, hitting the back button on Android, it’ll go to A1. Instead of going back to B2.
Nothing from BackHandler docs have anything to go back to B2. It just either prevent going anywhere, or ask to exit the app.
I’m using latest stable React Navigation. Also tried this backhandler package without luck.