Record data on a Android App
-
Hi, I am a new quasar user and I am trying to create an android app.
I would like to store user preferences, but how? Coockies? Session? Vuex?
For a website I will have saved these values in database, but for an application?Could you tell me how to do it?
thanks in advance. -
Sorry, I’m answering myself, I found 2 tracks.
First: IndexedDB
https://developers.google.com/web/fundamentals/instant-and-offline/web-storage/offline-for-pwa
https://developer.mozilla.org/fr/docs/Web/API/API_IndexedDB/Using_IndexedDBSecond:
SQLite
https://forum.quasar-framework.org/topic/3002/sqlite-cordova-pluginI will use IndexedDB.
thank you -
@Shoooryuken Take a look at pouchDB as well. Very easy and uses indexedDB under the hood but is a lot easier to work with.
-
We are using dexie as a wrapper for IndexedDB in our Quasar app.