Skip to content

Commit 994fad0

Browse files
committed
Document differences for now
1 parent 2e08640 commit 994fad0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

sqlcipher_flutter_libs/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,18 @@ that case.
9595
Alternatively, you can prevent other pods from linking sqlite3 by adding [this snippet](https://github.com/simolus3/drift/issues/1810#issuecomment-1119426006)
9696
to your podfile.
9797

98+
## Different behavior on different platforms
99+
100+
On Android, iOS and macOS, this package relies on dependencies managed by Zetetic (the authors of SQLCipher)
101+
to include SQLCipher in your application.
102+
As no such solutions exist for Windows and Linux, a custom build script is used there.
103+
This build script is inspired from the one used in `sqlite3_flutter_libs` and disables the [double-quoted strings](https://sqlite.org/quirks.html#double_quoted_string_literals_are_accepted)
104+
misfeature.
105+
The official SQLCipher builds don't do that.
106+
107+
To avoid your app relying on double-quoted strings in SQL, you should test your app on Linux or Windows before release if you
108+
target these platforms.
109+
98110
## Problems on Android 6
99111

100112
There appears to be a problem when loading native libraries on Android 6 (see [this issue](https://github.com/simolus3/moor/issues/895#issuecomment-720195005)).

0 commit comments

Comments
 (0)