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.
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.
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
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'.
Hello Dave,
Could you please detail what issues do you have?