Currently, I use the Nested Drawer navigator inside the Stack navigator screen. But when the screen containing the Drawer navigator is focused, it does not allow to go back via the hardware back button.
if if we try to override the backhander inside that screen the Subscription inside Drawer takes precedence.
If we can hide the following subscription behind a flag then Stack navigator will properly handle the hardware back button.
const subscription = enableBackHandler
+ ? BackHandler.addEventListener('hardwareBackPress', handleClose)
+ : undefined;