Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 910 Bytes

File metadata and controls

51 lines (36 loc) · 910 Bytes

Recovery Approach (If Setup Breaks Again)

Follow this order exactly.


1. Set Node Version

Use Node 20 LTS for Expo SDK 53.


2. Clean Install

rm -rf node_modules .expo android/app/build
yarn install
npx expo install --fix

3. Rebuild Dev Client

adb uninstall paketta.seller
npx expo run:android
npx expo start --dev-client

4. Release Build

cd android
./gradlew clean
./gradlew assembleRelease --refresh-dependencies

Things to Keep in Mind

Changing Node versions always requires:

Dependency reinstall

Native rebuild

Expo SDK versions must match native modules

Always run npx expo install --fix after upgrading or reinstalling

Routes must export default components

If a route file exists and exports undefined, the release build will crash

Route groups must match screen names exactly

(home) is not the same as home