SQLite DB file is not encrypted in Xamarin.iOS project

34 Views Asked by At

I am using sqlite-pcl library to encrypt my local db using SQLCipher. In the followign image, the ExecuteDBCode gets called from AppDelegate class and left side you can see the nuget packages added to the project. When I run the code on iOS simulator, the Encrypted.db file is created but it's not encrypted. I can explore it on DB browser without any password.

enter image description here

I am using legacy Xamarin.iOS project and running on iPhone 14 simulator and running on 16.4 version.

0

There are 0 best solutions below