How to use Ionic Storage to display my page only once for first time users

Hi all,

I am currently seeking for help on how to use ionic storage to display my page only once for my first time users. I am familiar with using local storage :

    ngOnInit() {

    const checkView = localStorage.getItem('pageDisplayed');
    if (checkView) {
        // here redirect
    localStorage.setItem('pageDisplayed', 'ok');


but I was told its not reliable. Hence, anybody can guide me on using ionic storage? Sample code will be helpful.

Thank you. Appreciate any help.