Skip to content

Commit

Permalink
Persist cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
José Redrejo committed Dec 19, 2023
1 parent b95191c commit 8510d08
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,10 @@ public boolean shouldOverrideUrlLoading(WebView view, String url) {

@Override
public void onPageFinished(WebView view, String url) {
CookieManager.getInstance().setAcceptCookie(true);
CookieManager.getInstance().acceptCookie();
CookieManager.getInstance().flush();

}
});
mLayout = new AbsoluteLayout(PythonActivity.mActivity);
Expand Down

0 comments on commit 8510d08

Please sign in to comment.