react-native-webview/apple
trcoffman a6010d93e0
feat(iOS): Add onFileDownload callback (#1214)
`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
2020-04-29 09:09:22 -07:00
..
RNCWKProcessPoolManager.h feat(macOS): Make podspec compatible with macOS (#1328) 2020-04-24 19:54:17 +02:00
RNCWKProcessPoolManager.m feat(macOS): Make podspec compatible with macOS (#1328) 2020-04-24 19:54:17 +02:00
RNCWebView.h feat(macOS): Make podspec compatible with macOS (#1328) 2020-04-24 19:54:17 +02:00
RNCWebView.m feat(iOS): Add onFileDownload callback (#1214) 2020-04-29 09:09:22 -07:00
RNCWebViewManager.h feat(macOS): Make podspec compatible with macOS (#1328) 2020-04-24 19:54:17 +02:00
RNCWebViewManager.m feat(iOS): Add onFileDownload callback (#1214) 2020-04-29 09:09:22 -07:00