Solution is
"dependencies": {
"@react-navigation/drawer": "^6.6.3",
"@react-navigation/native": "^6.1.7",//remove this
"@react-navigation/native-stack": "^6.9.13",
"expo": "~49.0.8",
"expo-status-bar": "~1.6.0",
"react": "18.2.0",
"react-native": "0.72.4",
"react-native-gesture-handler": "~2.12.0",
"react-native-reanimated": "~3.3.0",
"react-native-safe-area-context": "4.6.3",
"react-native-screens": "~3.22.0"
},
Reinstall with this
npx expo install react-native-screens@2
expo start --clear
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: ["react-native-reanimated/plugin"],
};
};
Restart and Rescan the app