Repository navigation
Web: App Store button on the login and landing pages without VITE_APP_STORE_URL - #754
Merged
Merged
Conversation
…t VITE_APP_STORE_URL Staging sets only VITE_PLAY_STORE_URL, so the volunteer box on the login page showed only the Google Play button. The store links now fall back to the public listings (App Store id 6474194051, Play org.commitglobal.vic); an env value still wins.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On staging the „Acesta este un cont de voluntar” box on the web login page showed only the Google Play button: the store buttons only render when
VITE_APP_STORE_URL/VITE_PLAY_STORE_URLare set, and staging sets only the Play one.src/common/config/store-links.ts:APP_STORE_URLandPLAY_STORE_URLuse the env value when set, otherwise the public listings: https://apps.apple.com/ro/app/vic/id6474194051 (the App Store listing the 2.0 builds are uploaded to,ascAppIdinmobile/eas.json) and https://play.google.com/store/apps/details?id=org.commitglobal.vic.OpenAppBoxandLandinguse them, so both buttons always show.VITE_APP_STORE_URLcan still be added to the staging Amplify env (terraform-ngohub) later; it is no longer required.