jan created CB-8026:
-----------------------
Summary: Apps targeting LOLLIPOP or later default to disallowing
third party cookies
Key: CB-8026
URL: https://issues.apache.org/jira/browse/CB-8026
Project: Apache Cordova
Issue Type: Bug
Affects Versions: 4.0.0
Reporter: jan
Priority: Blocker
Apps that target KITKAT or below default to allowing third party cookies. Apps
targeting LOLLIPOP or later default to disallowing third party cookies.
https://developer.android.com/reference/android/webkit/CookieManager.html
Android 5.0 changes the default behavior for your app.
If your app targets API level 21 or higher:
The system blocks mixed content and third party cookies by default. To allow
mixed content and third party cookies, use the setMixedContentMode() and
setAcceptThirdPartyCookies() methods respectively.
The system now intelligently chooses portions of the HTML document to draw.
This new default behavior helps to reduce memory footprint and increase
performance. If you want to render the whole document at once, disable this
optimization by calling enableSlowWholeDocumentDraw().
If your app targets API levels lower than 21: The system allows mixed content
and third party cookies, and always renders the whole document at once.
https://developer.android.com/about/versions/android-5.0-changes.html#BehaviorWebView
....
I tried to set "acceptThirdPartyCookies", but without any success yet. If
someone can post a quick workarround I would be very happy ;-)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]