Skip to content

Dev ‐ Mobile Updates

Spencer Spenst edited this page Oct 2, 2024 · 16 revisions

Notes

  • Make changes to App.tsx
  • Update expo packages with npx expo install --fix: https://docs.expo.dev/workflow/upgrading-expo-sdk-walkthrough/
    • Delete /ios to regenerate everything
  • Increment version and build numbers app.json (version, buildNumber, versionCode)
  • Run npx expo prebuild to propagate these changes (https://docs.expo.dev/more/expo-cli/)
  • npx expo run:ios to test iOS changes locally
    • If there are issues building, try removing build/* and Pods/* from /ios, and run pod install in /ios
  • npx expo run:android to test Android changes locally
  • If all is working, create builds with EAS (https://docs.expo.dev/build/setup/)
    • NOTE: comment out google-services.json and GoogleService-Info.plist from .gitignore as these files are required during the build
    • eas build -p ios
    • For Android, download the .aab file and submit manually on the Google Play Console
    • For iOS, submit with eas submit -p ios
      • Verify with TestFlight and submit

Reference Code Changes