does anyone has experience with Ionic Vue and capacitor SQLite like with this package for example?
it only works on Android. iOS and Electron which makes it slow to debug and so far I couldn’t get it to run since I always get the exception TypeError: db.isExists is not a function . however I am using the example code from the git. the db connections looks like created correctly with
const db = await sqlite.createConnection("testNew", false, "no-encryption", 1);
but then the above error is thrown in any function which is called on db. however db is actually an successfully created db object
I don’t know how to progress. has anyone a working sample of Ionic Vue + SQLite with a query functionality or knows my problem? are there alternatives?
I am using Vue3 + capacitor-community/sqlite@2.9.9 + vue-sqlite-hook@1.0.0
I forgot to register the plugin in my main android activity (see package description). it looks like it works now. looking forward working with the package
Hello @farfalla in the link that you share, it states: “On Android, no further steps needed.” can you share where exactly you get this info? please I’m having this error too
I think the package and package description has changed because of the new @capacitor-community/sqlite master branch for capacitor 3 and its newest version 3.0.0-rc.2 - with that apparently no further steps are needed
if you are for some reason still want or need to use the older version like 2.9.16 I think you need the above code on Android to register the plugin in your main activity. I hope that helps