-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
iOS + SQLCipher = SQLite.SQLiteException: not an error #1041
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@praeclarum or @sjlombardo any hint on this issue? |
Hello @elvenprogrammer:
|
Hi @sjlombardo thanks for the precise answer.
Makes sense, I just kept slite-net-sqlcipher
Not sure, but I tried: which again throws the not an error error. If I remove the key than I get a null which I think is to be expected?
Not sure again, as far as I can understand it seems to me slite-net-sqlcipher is bringing in I don't know if it makes sense but I tried to isolate more the problem by including the packages only in the iOS project. Tested quite a lot of combinations inside FinishedLaunching, without success, I think I'm doing something really stupid, but I can't figure out what.
|
Hello @elvenprogrammer
That is actually not expected. Regardless of whether a key is provided, if the SQLCipher is properly linked and loaded at runtime then I don't think your code is at fault, rather there is likely something in your project introducing another non-SQLCipher SQLite library (the system libsqlite). Are you using any other nuget packages that could be introducing a transitive dependency on |
Hi @sjlombardo And the repro project attached for you convenience. |
Hello everyone,
I'm having an issue when trying to enable SQLCipher in iOS (Android seems to be working fine).
Probably I'm missing some obvious step.
Steps to reproduce:
Any help is appreciated, I can share the project source if needed.
Thanks in advance
The text was updated successfully, but these errors were encountered: