fix: hide download URL in in-app browser guide
All checks were successful
Deploy Staging (terry-wallet-login) / deploy (push) Successful in 1m3s

Stop exposing the internal /apnew/api/.../download URL in the guide. The dialog no longer renders the file URL or copies it to the clipboard; instead the user copies the current page link (window.location.href) and opens it in their system browser, then taps download again — which uses the real fetch+blob path. Updated step copy and intro in all 7 locales to match the new flow.
This commit is contained in:
TerryM
2026-06-05 19:15:10 +08:00
parent 356d8a0207
commit 3275aff121
8 changed files with 66 additions and 62 deletions

View File

@@ -266,15 +266,16 @@ export const enDict: Dict = {
backToHome: "Back to Home",
inAppDownloadTitle: "Please open in your system browser to download",
inAppDownloadIntro:
"Your current in-app browser cannot download files. Copy the link below and open it in your system browser the file will save directly.",
"Your current in-app browser cannot download files. Open this page in your system browser, then tap download again.",
inAppDownloadIntroNamed:
"{browser} cannot download files directly. Copy the link below and open it in your system browser the file will save directly.",
"{browser} cannot download files directly. Open this page in your system browser, then tap download again.",
inAppDownloadStepCopy:
'Tap "Copy link" below — that is the direct file download URL.',
'Tap the menu (top-right) and choose "Open in default browser".',
inAppDownloadStepOpen:
"Open your system browser (Safari, Chrome, etc.) and paste the link into the address bar.",
"If that option is missing, tap “Copy page link” below and open it in Safari, Chrome, or another browser.",
inAppDownloadStepDownload:
"The file will start downloading to your downloads folder automatically.",
inAppDownloadCopied: "Link copied",
"Once the page opens in your system browser, tap the download button again to save the file.",
inAppDownloadCopyPageLink: "Copy page link",
inAppDownloadCopied: "Page link copied",
inAppDownloadCopyFail: "Could not copy the link, please copy it manually",
};