Scope of Local storage variable
Posted: Wed Jan 02, 2013 11:17 am
If I define a local storage variable in one screen, will the next page which is launched from this page have access to that variable? Or do I need to set in again?
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
If I define a local storage variable in one screen, will the next page which is launched from this page have access to that variable? Or do I need to set in again?
Hello! localStorage variables shoul be available on each screen. You don't need to set it again.
Thank you, let me try it, somehow it is not appearing while I am calling the REST service with that, so was doubting this. May be there is some other issue. Let me check.