-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
Hi there,
when running the app in release mode on .NET 8/MAUI iOS you can't read or write from the database.
Analyzing the issue I figured out that it's related to MAUI setting <UseInterpreter>
to false
on release to increase performance. Setting it to true
will fix the issues with the database.
Can we somehow make sure that sqlite-net-sqlcipher also works without the interpreter enabled on iOS? It massively degrades the performance of the app.
Packages I'm using:
<PackageReference Include="sqlite-net-sqlcipher" Version="1.8.116" />
<PackageReference Include="SQLitePCLRaw.core" Version="2.1.5" />
<PackageReference Include="SQLitePCLRaw.provider.sqlite3" Version="2.1.5" />
<PackageReference Include="SQLitePCLRaw.bundle_green" Version="2.1.5" />
<PackageReference Include="SQLitePCLRaw.provider.dynamic_cdecl" Version="2.1.5" />
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlcipher" Version="2.1.5" />
Discussion on the MAUI Repository regarding this issue: dotnet/maui#13019
Metadata
Metadata
Assignees
Labels
No labels