Storage working good in browser, but no effect when working with android or ios

I am using ionic vue to build an app and wanna save tokens by Storage of Capacitor. The first test is good with browsers when I took their example put to App.vue to run.

But unfortunately when I work in android. That does not make any sense, event thought to make an alert when initializing the app without an alert come in.

Instead of using Storage from Capacitor. I am using back localStorage and this works pretty well in both browser and mobile.

May I have something wrong with the code or missing something?

OMG, I am so brain dead -_-

Finally I know that why Storage not working now. Cause I forget build and installed app to my phone again . I am so aplologize for borthering your guys. Bless have a good day.

1 Like