Hello,

I need to make Crosswalk on Android (in a Cordova project) use some
cookies I gathered via an Apache HttpClient.
However I'm not sure how to achieve this. I tried experimenting with
the XWalkCookieManager but I think everything I do with the
XWalkCookieManager is ignored. Where would I initialize the cookie
manager?

//cookieStore contains the cookies I got via a request from the Apache
HttpClient.
 List<Cookie> cookies = cookieStore.getCookies();
 for (int i = 0; i < cookies.size(); i++) {
       Cookie cookie = cookies.get(i);
       cookieManager.setCookie(cookie.getDomain(),cookie.getValue());
  }

I would really appreciate any help, this is the only thing that
currently keeps me from using Crosswalk successfully.

Best,
Andreas
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to