Ionic 3 Super starter template : How to display one time the tutorial page?


#1

Hi,

I would like to know how in the super starter template, TutorialPage just displays one time or if we click on ‘skip’ it is not display anymore when we launch the application on second time.

I search in the source code and I didn’t see where we test this condiction.

Could you please tell me how the archieve this?

thanks


#2

It sets a value ‘hasSeenTutorial’ in the storage in the tutorial.ts and check for this value after login.

this.storage.set('hasSeenTutorial', 'true');


#3

or you can use localstorage as well


#4

I’m looking tutorial.ts file but there are not

this.storage.set(‘hasSeenTutorial’, ‘true’);