Skip to content

Conversation

@col3name
Copy link

Pull Request: Add “View Sample” fallback for multi-send CSV on /droppage (WebView fix)

Summary

This PR adds a “View Sample” fallback button to /droppage so users inside the MyTonWallet in-app WebView (Android/iOS) can access the multi-send sample CSV.
Downloading via Blob + a.click() is blocked in WebViews, so the sample file could not be downloaded previously.


What’s changed

  • Added “View Sample” button on /droppage
  • Opens a modal (or inline view) showing the full multi-send sample CSV
  • Allows users to copy the CSV manually
  • Normal download behavior kept for browsers where it works
  • Improves UX for users accessing multisend through the MyTonWallet old design → Multi Send flow

Why

Users opening multisend from inside the MyTonWallet app (old design → long press Send → Multi Send) were unable to download the required sample CSV because:

  • WebViews block blob: URLs
  • WebViews block programmatic downloads (a.click())

This PR ensures they can still access the CSV content.

Screenshot 2025-11-20 at 04 16 56 Screenshot 2025-11-20 at 04 16 50

Related Issue

Fixes: #307

@netlify
Copy link

netlify bot commented Nov 20, 2025

👷 Deploy request for mtw-opensource pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit fe0a0c2

@netlify
Copy link

netlify bot commented Nov 20, 2025

👷 Deploy request for mtw-giveaway pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit fe0a0c2

@netlify
Copy link

netlify bot commented Nov 20, 2025

👷 Deploy request for mytonwallet-tma pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit fe0a0c2

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.

[MultiSend] Can't download multi-send sample CSV inside Android/iOS MyTonWallet WebView

1 participant