You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes when I install a new version of the app, some values I retrieve are not up to date. The keys contain values from several days before, instead of the most recent values from a few hours before. As a simple example, consider this:
// after initializing the appconstnow=Date.now();// assume the value is 1000000000000NativeStorage.setItem('lastOpenTime',now);
a few hours later after I open the app again
NativeStorage.getItem('lastOpenTime',value=>{console.log(value===1000000000000);// trueconstnow=Date.now();// assume the value is now 2000000000000NativeStorage.setItem('lastOpenTime',now);});
So the idea is that for some reason the value saved for lastOpenTime reverts to 1000000000000 even after it's been updated to 2000000000000. Any idea as to what could be causing this?
The text was updated successfully, but these errors were encountered:
Sometimes when I install a new version of the app, some values I retrieve are not up to date. The keys contain values from several days before, instead of the most recent values from a few hours before. As a simple example, consider this:
a few hours later after I open the app again
the next day after I open the app again
So the idea is that for some reason the value saved for
lastOpenTime
reverts to1000000000000
even after it's been updated to2000000000000
. Any idea as to what could be causing this?The text was updated successfully, but these errors were encountered: