Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Time limit for localStorage

Could I ask if there is a time limit for localStorage, and with any app using localStorage?

Also, at what point does this variables within it get destroyed??

I ask, because I cannot find a way to get around the iOS device id changing if a user removes the app, and re-installs it. I really need a constant linked to the app ?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Time limit for localStorage

I believe every browser/mobile browser might have slightly different limits. It's best to check with the browser you are using.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Time limit for localStorage

Hello,

[quote:]
Could I ask if there is a time limit for localStorage, and with any app using localStorage?

Also, at what point does this variables within it get destroyed??
[/quote]

https://getsatisfaction.com/apperyio/...

[quote:]
I ask, because I cannot find a way to get around the iOS device id changing if a user removes the app, and re-installs it. I really need a constant linked to the app ?
[/quote]

In such case you could use DB to store user information. http://docs.appery.io/tutorials/build...

Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Time limit for localStorage

On my iOS, when i remove the app and re-install it, it over writes the old device id, rather than creates a new row. Does this happen to all iOS devices ?

Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Time limit for localStorage

Also as you make the app and turn it into a binary, what browser default do you use as a template ?

Asking me what browser I use, I find a little odd !

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Time limit for localStorage

Could you show us how do you save device ID? The list of supported browsers:
http://docs.appery.io/getting-started...

Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Time limit for localStorage

I no longer save it. Because it did not work on iOS with it changing.

But I would like to know how I put a constant while the app is installed, to save people having to log into the app every time ?

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

Time limit for localStorage

Hi Addy,

You can use cookies with time limit: https://developer.mozilla.org/en-US/d...

Return to “Issues”