Hawk
Posts: 0
Joined: Mon Aug 04, 2014 11:23 am

The disclaimer suddenly stopped to pop up after I change the page name

Hi

I added the following JS to login/success service:

if (localStorage.getItem("accepted") !== "true"){ Apperyio.navigateTo("Disclaimer");}
else {Apperyio.navigateTo("pg2_HomePage");}

The dialog "Disclaimer" shows after I login. There are two options (I Agree, NO). For Agree button, I added on click:

result = true;
localStorage.setItem("accepted", result);
Apperyio.navigateTo("pg2_HomePage");

The disclaimer used to show when every first login after I open test page. Now, I updated the pages names, the only related ones are:

pg2_HomePage, became: pg200_HomePage
Disclaimer, became: dg110_Disclaimer.

However, the disclaimer stopped showing when I test. I checked all names, but nothing is wrong as far as I can see.

link: http://appery.io/app/mobile-frame?src...

Return to “Issues”