trcoffman
a6010d93e0
`onFileDownload` is called with the URL that you can use to download the file. When RNCWebView detects that the HTTP response should result in a file download, `onFileDownload` is called. The client can then provide code to download the file. RNCWebView determines that a file download should take place if either of the following is true: 1. The HTTP response contains a `Content-Disposition` header that is of type 'attachment' 2. The MIME type of the response cannot be rendered by the iOS WebView |
4 年之前 | |
---|---|---|
.. | ||
Alerts.tsx | chore(example): Added three test examples: Alerts, Scrolling, and Background. | 4 年之前 |
Background.tsx | chore(example): Added three test examples: Alerts, Scrolling, and Background. | 4 年之前 |
Downloads.tsx | feat(iOS): Add onFileDownload callback (#1214) | 4 年之前 |
Injection.tsx | feat(iOS): WKUserScripts (e.g. injectedJavaScript) can now update upon props change; and can be configured to inject into all frames. (#1119) | 4 年之前 |
Scrolling.tsx | chore(example): Added three test examples: Alerts, Scrolling, and Background. | 4 年之前 |
Uploads.tsx | fix(Android): Don't show camera options for a file upload when they can not be used (#1210) | 4 年之前 |