localStorage persistance when app is closed?
Hi,
When my app opens I am checking for a localStorage variable that is set when opened (a boolean). The idea is to find out if this is the first time the user has opened the app. If I store a boolean using localStorage, will it persist the next time the app is opened (on iOS)?
var previouslyOpened = localStorage.getItem('Opened');
if (previouslyOpened) {
Apperyio.navigateTo('Logon', {});
} else {
Apperyio.navigateTo('Different_Page', {});
}
Thanks for any advice!