I am trying to show a welcome panel the first time a certain page is shown by using the following code in the "Page show" script:
if(localStorage.getItem('showwelcome') == 'true') {
Appery('welcomePanel').panel("open");
setTimeout(function(){
Appery('welcomePanel').panel("close");
}, 3000);
Code: Select all
localStorage.setItem('showwelcome','false'); }
This works fine if I make the .apk and download to android device. However, if I use the Appery.io Tester, the panel shows but does not go away after 3 seconds (I have to manually click to dismiss it).
Not a big deal, but may want to look into it. I wasted some time trying to debug why the panel won't go away, only to discover that the problem was not in my script, but in the Appery.io Tester.