fix: remove do you want to download file.bin alert on iOS cp-7.61.0#23383
fix: remove do you want to download file.bin alert on iOS cp-7.61.0#23383weitingsun merged 3 commits intomainfrom
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsThe changes update the @metamask/react-native-webview patch file with two main modifications:
WebView Usage Analysis:
Risk Assessment:
Selected Test Tags:
Not Selected:
|
|



Description
Remove "do you want to download file.bin" alert on iOS
PR for react-native-webview-mm: MetaMask/react-native-webview-mm#74
Changelog
CHANGELOG entry: Fixed a bug where we prompt do you want to download file.bin alert
Related issues
Fixes: #20359
Manual testing steps
Screenshots/Recordings
Before
After
Not showing the alert

Can still download files

Pre-merge author checklist
Pre-merge reviewer checklist
Note
Suppresses the iOS "download File.bin" alert for data URLs and consolidates Android WebView permission handling into a single dialog with safer granting/cleanup.
application/octet-streamdata URLs by inferring extension early and ignoring.bin, preventing the "Do you want to download File.bin" alert.fileExtensionbefore decoding and reuse it.grantto avoid IllegalStateException; handle negative responses and pending system permission requests correctly.Written by Cursor Bugbot for commit 59d75e8. This will update automatically on new commits. Configure here.