Bryan Morrow
Posts: 0
Joined: Wed Aug 27, 2014 1:05 pm

Cookies not working in compiled version of my app.

Can anyone think of a reason why my complied app doesn't appear to store/retrieve cookie info? Works fine in the test environment but when I compile/install it on my Android phone cookies are not being set/retrieved.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Cookies not working in compiled version of my app.

Hi Bryan,

Why don't you store data in localStorage instead?

Bryan Morrow
Posts: 0
Joined: Wed Aug 27, 2014 1:05 pm

Cookies not working in compiled version of my app.

I tried using localStorage first, but that appears to only store info locally while the app is running. I'm trying to store a person's login info so they dont have to retype it each time they launch the app. Or perhaps I was using localStorage incorrectly and it does store data beyond the session it's active?

Edit/Update:
Ok, so I just played around with localStorage some more... and this definitely appears to be what I'm needing. I must have botched my first attempt at using localStorage and got it in my head that the data was erased when the app is closed. This appears to not be the case. Thank you Katya.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Cookies not working in compiled version of my app.

Hi Bryan,

Thank you for the update! Let me know if you need any help please.

Return to “Issues”