Dave Troxel
Posts: 0
Joined: Fri May 09, 2014 1:07 pm

I only want the Disclaimer page to show once.

Once the disclaimer page has been accepted, I want it to not come back and the startscreen to be the default moving forward. Can that be done? Thanks.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

I only want the Disclaimer page to show once.

Hello Dave

Sure, you can do it.
Just add checking is it accepted for startScreen load event.
E.g.: save accept result in localStorage variable "accepted". If accepted it is true, else - false. And check in in load event:
pre
if (localStorage.getItem("accepted") !== "true"){
Apperyio.navigateTo("Disclaimer");
}
/pre

Dave Troxel
Posts: 0
Joined: Fri May 09, 2014 1:07 pm

I only want the Disclaimer page to show once.

I'm not sure I follow you. Please explain to me what it is I put where. I have created a local storage variable called 'accepted'.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

I only want the Disclaimer page to show once.

Hello Dave,

Could you please detail what issues do you have?

Return to “Issues”