Closed hardtmedia closed 3 years ago
Reading the changes in this: https://github.com/jepiqueau/angular-sqlite-app-starter/commit/a57a3f3bbddc05f8276486ea41e82d57ecae83ca
In combination with carefully reading https://github.com/capacitor-community/sqlite/issues/42 brought on the solution.
Thank you for your work :)
@hartmedia Thanks for using the plugin. Sorry for this, it took times so the documentation was not up-to-date. Now it is and the app-starter was alined with the new release of the plugin. If you still find something not really feel free to tell me
When loading the plugin for electron, as described in the readme,
CapacitorSQLPlugin.CapacitorSQLiteElectron
is undefined. Code Completion does not provide the suggestion forCapacitorSQLiteElectron
, hence the cast to "any".Imports:
Method to select the correct plugin
When I try the example service from the jeep starter project, there is no distinction between the platforms and so any action results in "Not implemented on Web Platform" (when running in electron).
Also, I can find no instance of "CapacitorSQLiteElectron" in the repo, thus questioning if this (still) exists?
I am working with Ionic 5 / Angular 10, access to the Project can be provided if needed.
Should it be an issue with versions, this is my package.json