local storage vs cookies base store #1528
Unanswered
Aksoom-Hussain
asked this question in
Help and Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, recently I develop the capacitor.js hybrid app and use nuxt.js as frontend in app and use pinia store to manage all data store, and face bug in clearing the persistence data in the store,
I found that the nuxt3, pinia use the cookies store not the local storage which lead to application issue regarding web SDK issue in iOS as safari have issue with that reading cookies inside app and android app, if user login the security token are store and never get deleted on logout as on restarting app it still login as no token clear is there any way to use the local store option or the plugin for preferences store plugin for app storage like in capacitor use native store instead of cookies
src https://capacitorjs.com/docs/apis/preferences
Beta Was this translation helpful? Give feedback.
All reactions