It’s helpful if you could share your sample to reproduce it. Thanks, Junwei
From: Nicolay Aarstad Wildhagen [mailto:[email protected]] Sent: Tuesday, December 08, 2015 4:21 PM To: Fu, Junwei Cc: [email protected]; Zhang, Belem Subject: Re: [Crosswalk-help] Fwd: Crosswalk webview plugin with cookie clearing and large SQLite database Hi, It works fine without the Crosswalk Cordova plugin. I am testing on Cordova Android 5.0.0 with a Motorola Symbol MC40 on Jelly Bean 4.1.1. Once i execute the window.cookies.clear() function the application crashes and I am not able to see any error in the chrome inspect console. Med vennlig hilsen/Best regards, Nicolay Aarstad Wildhagen SAP Certified Associate Head of SAP user experience [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]<mailto:[email protected]> Strandveien 10, 1366 Lysaker 2015-12-08 4:21 GMT+01:00 Fu, Junwei <[email protected]<mailto:[email protected]>>: Hi, Is it work finely without Crosswalk Cordova plugin? @Belem, could you please help to verify it? From: Nicolay Aarstad Wildhagen [mailto:[email protected]<mailto:[email protected]>] Sent: Monday, December 07, 2015 7:00 PM To: Fu, Junwei Cc: [email protected]<mailto:[email protected]> Subject: Re: [Crosswalk-help] Fwd: Crosswalk webview plugin with cookie clearing and large SQLite database 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 [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]<mailto:[email protected]> Strandveien 10, 1366 Lysaker 2015-12-07 3:48 GMT+01:00 Fu, Junwei <[email protected]<mailto:[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]<mailto:[email protected]>] Sent: Friday, December 04, 2015 3:55 PM To: Fu, Junwei Cc: Nicolay Aarstad Wildhagen; [email protected]<mailto:[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]<mailto:[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]] On Behalf Of Nicolay Aarstad Wildhagen Sent: Friday, December 04, 2015 4:45 AM To: [email protected]<mailto:[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
