Upgrade Version
Install the desired expo version (suggesting 1 major version bump from the previous one, fix it then continue to the next version if needed)
yarn add expo@~{DESIRED_VERSION_NUMBER}
Run expo install check
yarn expo install --check
Run expo doctor
npx expo-doctor@latest
Remove android and ios folder (if gitignored), then run prebuild again (if using dev client / dev build)
rm -rf ios android
(optional / if needed) reset package manager lockfile
rm -rf yarn.lock
yarn