Open jameskim917 opened 2 years ago
I am able to use the navigation on both Android and iOS. Here is the demo.
const { goBack } = useNavigation();
const items = [
{
text: 'Home',
icon: 'home',
onPress: () => {
goBack();
},
}
]
Do you think you're calling the navigation in the right place? Cannot repro and guess the problem with the current code snippets.
onPress is unable to navigate to another screen