infil00p/cordova-crosswalk-engine

Set cookies on initialisation

Opened this issue · 1 comments

I want to know if it is possible to create cookies for initializing crosswalk before the URL is loaded ?
I tried to use XWalkCookieManager class in the onCreate method of CordovaActivity class but application crash at launch (Unsupported method setCookie) because i think it is not possible as long as crosswalk is not initialized. I also tried with android.webkit.CookieManager class ; the application starts but cookies are not present on javascript side.
The need is to create cookies before the page is loaded at startup.
Is this possible and how to do?
Thank you in advance for your explanations.