Page 1 of 1

local storage problem

Posted: Thu Mar 27, 2014 9:48 am
by v_kavvadias

Hi.
I have created an app and i have a onbeforeunload event which saves an array in localStorage.Then i have a load event which loads it.Everything works fine in appery tester but when i test it with a samsung galaxy android phone (with QR CODE scan)the data are not saved.Any ideas why this is happening?The Web Browser is the chrome browser.
Thanks in advance.


local storage problem

Posted: Thu Mar 27, 2014 10:29 am
by Maryna Brodina

Hello!

1) Check if all events are triggered (add alerts)
2) In desktop browser refresh localStorage and test again. Perhaps data in localStorage was saved before and now it doesn't work in desktop browser because earlier saved data is used.