You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We were using version 1.1.1 of powersync_core and we had a custom sqlite_cipher open factory that would attach databases on open. Now on the latest version it doesn't seem to be possible to do that because the behavior of the SQLCipherOpenFactory was moved to the _NativeCipherOpenFactory.
Is it possible to customize the default SQLCipher factory without recreating all the methods? (Open and PRAGMA statements)
The text was updated successfully, but these errors were encountered:
This was changed to re-use parts of the implementation between the native and the web factory here. Unfortunately the setup here is a bit weird in general (the web factory implementation has a different class hierarchy, so it's not easy to unify the two). We could look into adding conditional exports to expose the right type though.
A temporary workaround may be to copy _NativeCipherOpenFactory into your project to make the modifications there.
We were using version 1.1.1 of powersync_core and we had a custom sqlite_cipher open factory that would attach databases on open. Now on the latest version it doesn't seem to be possible to do that because the behavior of the SQLCipherOpenFactory was moved to the _NativeCipherOpenFactory.
Is it possible to customize the default SQLCipher factory without recreating all the methods? (Open and PRAGMA statements)
The text was updated successfully, but these errors were encountered: