Hi,
Thank you very much for addressing the issue. The help is highly
appreciated!
I tried installing the bez4pieci cookies plugin and replace the
Cookies.java with the github version at
https://github.com/bez4pieci/Phonegap-Cookies-Plugin/pull/7.
The device did not recognize the following code and the console gives me
undefined of the window.cookies.clear() function. Am I doing this test
correctly, please?
window.cookies.clear(function() {
console.log('Cookies cleared!');
});
Med vennlig hilsen/Best regards,
*Nicolay Aarstad Wildhagen*
SAP Certified Associate
Head of SAP user experience
[image:
https://ci5.googleusercontent.com/proxy/bBLrqXQtFduwfEPBHwb2kx-mI_pqQN0A6vltvpX2nOOax8IuRKTP5GvlYGgrBRD15O09EnKsBj0cQDZIV7ctlqWIFkwY3XcE2LLyV3B1R8M=s0-d-e1-ft#http://s5consulting.no/wp-content/uploads/2014/10/logo.png]
Phone: +47 93 03 93 04
Email: [email protected]
Strandveien 10, 1366 Lysaker
2015-12-07 3:48 GMT+01:00 Fu, Junwei <[email protected]>:
> I sent a PR to remove all cookie with XWalkCookieManager in
> https://github.com/bez4pieci/Phonegap-Cookies-Plugin/pull/7
>
>
>
> You can try to verify it.
>
>
>
> *From:* Nicolay Aarstad Wildhagen [mailto:[email protected]]
> *Sent:* Friday, December 04, 2015 3:55 PM
> *To:* Fu, Junwei
> *Cc:* Nicolay Aarstad Wildhagen;
> [email protected]
> *Subject:* Re: [Crosswalk-help] Fwd: Crosswalk webview plugin with cookie
> clearing and large SQLite database
>
>
>
> Hi,
>
>
>
> Thanks for the quick reply.
>
>
>
> Is the XWalkCookieManager accessible with javascript?
>
>
>
>
>
>
>
> Med vennlig hilsen/Best regards,
>
> *Nicolay Aarstad Wildhagen*
>
> SAP Certified Associate
>
> Head of SAP user experience
>
>
>
>
> Den 4. des. 2015 kl. 04.11 skrev Fu, Junwei <[email protected]>:
>
> Ø Is there any way to clear cookies within the crosswalk webview?,
>
> Could you please try to use XWalkCookieManager
>
> XWalkCookieManager cookieManager = new XWalkCookieManager();
>
> cookieManager.removeAllCookie();
>
>
>
> Ø SQLite cordova plugin cordova-sqlite-storage about 40MB of records
> over about 350 000 lines
>
> @Hengzhi will investigate it.
>
>
>
> *From:* Crosswalk-help [
> mailto:[email protected]
> <[email protected]>] *On Behalf Of *Nicolay
> Aarstad Wildhagen
> *Sent:* Friday, December 04, 2015 4:45 AM
> *To:* [email protected]
> *Subject:* [Crosswalk-help] Fwd: Crosswalk webview plugin with cookie
> clearing and large SQLite database
>
>
>
> Hi,
>
>
>
> I have implemented the crosswalk webview plugin in my Cordova CLI project
> for my client and have two issues. Any help is highly appreciated! This is
> on Android 4.1 for the Motorola MC40 handheld barcode scanner.
>
>
>
> I would like to clear cookies and am currently not able to use the plugin
> i previously used,
> https://github.com/bez4pieci/Phonegap-Cookies-Plugin.git, as the
> crosswalk app will crash on the cookie.clear command. Is there any way to
> clear cookies within the crosswalk webview?,
>
>
>
> Furthermore I am trying to write, with the SQLite cordova plugin
> cordova-sqlite-storage about 40MB of records over about 350 000 lines,
> however the app crashes on the SQL insert or replace after the ajax call
> has received all the data. Low amounts of data seems fine. Is this a memory
> issue or is there any way to resolve this? Without the crosswalk plugin
> this works fine.
>
>
>
>
>
> Thanks for any help!
>
>
>
>
>
>
>
> Med vennlig hilsen/Best regards,
>
> *Nicolay Aarstad Wildhagen*
>
> SAP Certified Associate
>
> Head of SAP user experience
>
>
>
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help