BackEvent is not firing inside bottomsheet when system default back event is pressed
eagleblack opened this issue · comments
Nikhil commented
useFocusEffect(
React.useCallback(() => {
const onBackPress = () => {
console.log("Hey")
};
const subscription = BackHandler.addEventListener('hardwareBackPress', onBackPress);
return () => subscription.remove();
}, [])
);