fix(Android): Don't log the cookie when downloading file. (#1224)

This commit is contained in:
trcoffman 2020-02-21 11:02:50 -08:00 committed by GitHub
parent 118663287a
commit 24702450f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -208,7 +208,6 @@ public class RNCWebViewManager extends SimpleViewManager<WebView> {
String baseUrl = urlObj.getProtocol() + "://" + urlObj.getHost();
String cookie = CookieManager.getInstance().getCookie(baseUrl);
request.addRequestHeader("Cookie", cookie);
System.out.println("Got cookie for DownloadManager: " + cookie);
} catch (MalformedURLException e) {
System.out.println("Error getting cookie for DownloadManager: " + e.toString());
e.printStackTrace();