Hi
On the success of Logout service I am setting localStorate variable to null
and then on PageShow event of the page i am writting this JS
alert(localStorage.getItem('token'));
if(localStorage.getItem('token')==null || localStorage.getItem('token')=="")
{
alert("inside if ");
Appery.navigateTo('Login', {});
}
else
alert("inside else");
In the alert box i am getting token value as 'null' but still it is going in 'else'
can you pls chk!!
I have shared my project on a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a