After uninstalling react-native-dotenv and removing it from the babel.config.js, consider clearing your cache before bundling. run npx expo start -c
npx expo start -c