Skip to content

fix(ios): pass App Store appId when opening force upgrade link - #693

Merged
GonzaloGM merged 3 commits into
masterfrom
fix/ios-force-upgrade-app-store-id
Sep 23, 2026
Merged

GonzaloGM merged 3 commits into
masterfrom
fix/ios-force-upgrade-app-store-id

Conversation

@GonzaloGM

Copy link
Copy Markdown
Contributor

Summary

  • Fix the force upgrade modal "Actualizar" button on iOS by passing the required appId to @capawesome/capacitor-app-update's openAppStore().
  • Add a small openNativeAppStore() helper that supplies Carpoolear's App Store ID (1045211385) on iOS.
  • Update ForceUpgradeModal to use the helper for all App Store fallbacks.

Test plan

  • npm run test:unit -- src/utils/appUpdateStore.test.js --run
  • Build and run the iOS app on a device/simulator with a forced upgrade state
  • Tap "Actualizar" and confirm the App Store opens to Carpoolear's listing

The Capawesome App Update plugin requires appId on iOS; without it the
Actualizar button in the force upgrade modal fails silently.
Move the Carpoolear iOS App Store ID into .env.production so it can be
configured per environment instead of hardcoding it in app code.
@GonzaloGM
GonzaloGM merged commit dc1c123 into master Sep 23, 2026
2 checks passed
@GonzaloGM
GonzaloGM deleted the fix/ios-force-upgrade-app-store-id branch September 23, 2026 23:48
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