{"action":"opened","issue":{"url":"https://api.github.com/repos/calvinaquino/LNReader-Android/issues/189","labels_url":"https://api.github.com/repos/calvinaquino/LNReader-Android/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/calvinaquino/LNReader-Android/issues/189/comments","events_url":"https://api.github.com/repos/calvinaquino/LNReader-Android/issues/189/events","html_url":"https://github.com/calvinaquino/LNReader-Android/issues/189","id":68313048,"number":189,"title":"Update WebView behaviour for Android 5+ for mixed content","user":{"login":"Nandaka","id":836867,"avatar_url":"https://avatars.githubusercontent.com/u/836867?v=3","gravatar_id":"","url":"https://api.github.com/users/Nandaka","html_url":"https://github.com/Nandaka","followers_url":"https://api.github.com/users/Nandaka/followers","following_url":"https://api.github.com/users/Nandaka/following{/other_user}","gists_url":"https://api.github.com/users/Nandaka/gists{/gist_id}","starred_url":"https://api.github.com/users/Nandaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nandaka/subscriptions","organizations_url":"https://api.github.com/users/Nandaka/orgs","repos_url":"https://api.github.com/users/Nandaka/repos","events_url":"https://api.github.com/users/Nandaka/events{/privacy}","received_events_url":"https://api.github.com/users/Nandaka/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/calvinaquino/LNReader-Android/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-14T09:15:14Z","updated_at":"2015-04-14T09:15:14Z","closed_at":null,"body":" android doc:\r\nhttps://developer.android.com/about/versions/android-5.0-changes.html#BehaviorWebView\r\n\r\nCODE: SELECT ALL\r\nIf your app targets API level 21 or higher:\r\nThe 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.\r\nThe 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().\r\nIf 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.\r\n"}}