Skip to content

chore(mobile): upgrade Expo SDK 54 and fix external-device runtime#13

Merged
mnaimfaizy merged 1 commit intomainfrom
chore/expo-sdk-54-upgrade
Mar 4, 2026
Merged

chore(mobile): upgrade Expo SDK 54 and fix external-device runtime#13
mnaimfaizy merged 1 commit intomainfrom
chore/expo-sdk-54-upgrade

Conversation

@mnaimfaizy
Copy link
Owner

@mnaimfaizy mnaimfaizy commented Mar 4, 2026

Summary

  • upgrade mobile app to Expo SDK 54-compatible dependency set
  • align React/React Native/navigation packages to eliminate duplicate context/runtime conflicts
  • fix external-device API URL resolution (avoid localhost/10.0.2.2 on physical devices)
  • add dev:mobile:external tunnel workflow for Expo Go QR use
  • update mobile test setup for React 19 compatibility

Key Changes

  • apps/mobile/package.json and root package.json: SDK 54 dependency alignment
  • apps/mobile/services/api.ts: robust base URL resolution + developer warnings for unreachable local URLs on devices
  • apps/mobile/project.json and root scripts: improved external-device startup path
  • apps/mobile/components/__tests__/ThemedText-test.tsx: migrate brittle snapshot assertion to stable RTL assertion
  • remove obsolete snapshot file for ThemedText

Validation

  • npx expo-doctor@latest (from apps/mobile) -> 16/16 checks passed
  • yarn nx test mobile -> passing
  • yarn dev:mobile:external -> QR and exp://... tunnel URL shown
  • API connectivity path verified against local endpoint (/api/settings) and mobile URL fallback logic

Notes

  • This branch includes lockfile changes required for SDK 54 alignment.
  • Existing workspace warnings unrelated to this change (general peer warnings) are not addressed in this PR.

@mnaimfaizy mnaimfaizy self-assigned this Mar 4, 2026
@mnaimfaizy mnaimfaizy merged commit e6c0cf2 into main Mar 4, 2026
10 checks passed
@mnaimfaizy mnaimfaizy deleted the chore/expo-sdk-54-upgrade branch March 4, 2026 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant