feat: support SPM by using capacitor migration tool#673
feat: support SPM by using capacitor migration tool#673paulstelzer wants to merge 1 commit intocapacitor-community:masterfrom
Conversation
|
Here is a dev version for testing: |
|
Hi, I have tested it with encrypted data and works with no issues. |
|
Thank you for taking care of the further development of the plugin! Good luck with it. We have installed the development version, but we are getting SCALAR VIOLATION errors. Looking at GitHub, it seems that this problem was already solved in 2022 (see #319 ) Currently, we obtain values as follows Now we would have to do it this way (so that it also works on Android) Which is correct, option 1 or 2? Thanks EDIT: This indicates that somewhere in the iOS code, ios_columns is still being generated (likely in fetchColumnData or similar), but should be filtered out before returning results to the JavaScript layer.
Impact: This breaks API consistency between Android and iOS. Our workaround (Option 2) works but forces platform-specific handling in JavaScript, which defeats the purpose of a cross-platform plugin. |
Add support for SPM using the official capacitor tool https://github.com/ionic-team/capacitor-plugin-converter
All changes made by the tool. I am only adjusted the Package.swift to add ZIPFoundation and SQLCipher.
I have tested in my own project and it seems to work. Would be great if other could test it too. I am only tested with unencrypted data (not with decrypted data)
Fixes #568