Skip to content

feat(mobile): in-app update prompt and version gating#381

Merged
Cedarich merged 1 commit into
StayLitCodes:mainfrom
zhero-o:feat/inapp-update-prompt-fresh
Jun 2, 2026
Merged

feat(mobile): in-app update prompt and version gating#381
Cedarich merged 1 commit into
StayLitCodes:mainfrom
zhero-o:feat/inapp-update-prompt-fresh

Conversation

@zhero-o
Copy link
Copy Markdown
Contributor

@zhero-o zhero-o commented Jun 2, 2026

  • Add GET /api/app/version backend endpoint (AppVersionModule) driven by APP_MIN_SUPPORTED_VERSION / APP_LATEST_VERSION / APP_UPDATE_URL env vars
  • Add useAppVersion hook with semver comparison and safe network-failure fallback
  • Add UpdatePromptModal: blocking for force updates, dismissible for soft updates
  • Integrate into _layout.tsx; force update renders before biometric unlock, soft update renders after unlock once per session
  • Fix pre-existing conflict markers in package.json and api.ts from main
  • Add expo-constants to mobile dependencies

Closes #366

- Add GET /api/app/version backend endpoint (AppVersionModule) driven by
  APP_MIN_SUPPORTED_VERSION / APP_LATEST_VERSION / APP_UPDATE_URL env vars
- Add useAppVersion hook with semver comparison and safe network-failure fallback
- Add UpdatePromptModal: blocking for force updates, dismissible for soft updates
- Integrate into _layout.tsx; force update renders before biometric unlock,
  soft update renders after unlock once per session
- Fix pre-existing conflict markers in package.json and api.ts from main
- Add expo-constants to mobile dependencies

Closes StayLitCodes#366
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Jun 2, 2026

@zhero-o Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Cedarich Cedarich merged commit b69a631 into StayLitCodes:main Jun 2, 2026
1 check passed
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.

[MOBILE] In-app update prompt + version gating

2 participants