setAcceptThirdPartyCookies on the webview for android is not working
if (android.os.Build.VERSION.SDK_INT >= 21) {
android.webkit.CookieManager.getInstance().setAcceptThirdPartyCookies(webview, true);
}
getting the following error
Failed resolving method setAcceptThirdPartyCookies on class com.android.webview.chromium.CookieManagerAdapter
I am Using:
Got it working with following code
if (android.os.Build.VERSION.SDK_INT >= 21) {
android.webkit.CookieManager.getInstance().setAcceptThirdPartyCookies(webview.android, true);
}
Does someone know how to apply this exactly setting in iOS? I have a Salesforce cookie integration that works ok on Android with this setting but In don't know how to make this on iOS...please help!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Got it working with following code