title: Unable to download Blob file type in WebView on Android
body: <p>I want to download the file from webview but getting error every time that ( can only download HTTP/HTTPS URIs: blob:<a href="https://." rel="nofollow noreferrer">https://.</a>.)</p>
  
  <p>I'm using this in my code:</p>
  
  <pre><code>ngOnInit() {
          let webview: WebView = this.webViewRef.nativeElement;
  
          if (isAndroid) {
  
              webview.on(WebView.loadStartedEvent, function () {
                  webview.android.getSettings().setBuiltInZoomControls(false);
                  webview.android.getSettings().setJavaScriptEnabled(true);
                  webview.android.getSettings().setJavaScriptCanOpenWindowsAutomatically(true);
                  webview.android.getSettings().setAllowFileAccess(true);
                  webview.android.getSettings().setPluginsEnabled(true);
                  webview.android.getSettings().setAllowContentAccess(true);
                  webview.android.getSettings().setAllowFileAccess(true);
                  webview.android.getSettings().setAllowFileAccessFromFileURLs(true);
                  webview.android.getSettings().setAllowUniversalAccessFromFileURLs(true);
                  webview.android.getSettings().setDomStorageEnabled(true);
                  webview.android.getSettings().setDefaultTextEncodingName("utf-8");
  
                  webview.android.setDownloadListener(new android.webkit.DownloadListener({
                      onDownloadStart(url, userAgent, contentDisposition, mimetype, contentLength) {
                          let request = new android.app.DownloadManager.Request(android.net.Uri.parse(url));
                          request.setMimeType(mimetype);
                          let cookies = android.webkit.CookieManager.getInstance().getCookie(url);
                          request.addRequestHeader("cookie", cookies);
                          request.addRequestHeader("User-Agent", userAgent);
                          request.setDescription("Downloading file...");
                          request.setTitle(android.webkit.URLUtil.guessFileName(url, contentDisposition, mimetype));
                          request.allowScanningByMediaScanner();
                          request.setNotificationVisibility(android.app.DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);
                          request.setDestinationInExternalPublicDir(android.os.Environment.DIRECTORY_DOWNLOADS, android.webkit.URLUtil.guessFileName(url, contentDisposition, mimetype));
                          let dm = utils.ad.getApplicationContext().getSystemService(android.content.Context.DOWNLOAD_SERVICE);
                          dm.enqueue(request);
                      }
                  }));
              });
          }
  </code></pre>
  
  <p>please help me in this.
  Thanks</p>