Environment:
React Native: 0.77.0
React Navigation: 7.0.15
react-native-screens: 4.11.1
Target: Android 16 (API level 36
Issue: Android 16 introduces a new predictive back gesture system. On some screens in my app, pressing the hardware back button does not navigate to the previous screen as expected; instead, it exits the app.
What is the recommended way to handle hardware back navigation in React Native apps targeting Android 16+, especially when using React Navigation 7? Is there a proper migration path to handle the predictive back gesture?