if your faceing an issue after upgrading to expo 52.
Simply upgrade
"@react-navigation/drawer": "^7.0.18", "@react-navigation/native": "^7.0.13", "@react-navigation/stack": "^7.0.18",
these and your navigation issue will be fixes.