Skip to content

How to use SQLCipher with SQLite net

Salvatore Peluso edited this page Dec 21, 2020 · 4 revisions

I recommending using sqlite-net-base, which is a NuGet packaging of SQLite-net without a dependency on a bundle. This helps avoid problems associated with having two bundles. This nuget package should be added to your portable library project but not to your app project.

In your app project, add a reference to the nuget package SQLitePCLRaw.bundle_e_sqlcipher

In your app startup code, call SQLitePCL.Batteries_V2.Init().