mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-22 08:53:24 +08:00
CB-10896: We never enabled cookies on the WebView proper
This commit is contained in:
parent
69a2a5b551
commit
eccde6c0c0
@ -37,6 +37,9 @@ class SystemCookieManager implements ICordovaCookieManager {
|
|||||||
webView = webview;
|
webView = webview;
|
||||||
cookieManager = CookieManager.getInstance();
|
cookieManager = CookieManager.getInstance();
|
||||||
|
|
||||||
|
//REALLY? Nobody has seen this UNTIL NOW?
|
||||||
|
cookieManager.setAcceptFileSchemeCookies(true);
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||||
cookieManager.setAcceptThirdPartyCookies(webView, true);
|
cookieManager.setAcceptThirdPartyCookies(webView, true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user