-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fix: remove do you want to download file.bin alert on iOS cp-7.61.0 #23383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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. |
MarioAslau
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
🔍 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.