0
votes

I'm a beginner in developing iOS apps with Xamarin and MVVMCross. MVVMCross fits perfectly on top of the Xamarin developing platform and its features are outstanding! I've watched several of the MVVMCross N=x tutorial videos on youtube, what helps me a lot to understand how to use the framework. The iOS app i'm currently working on should use a database encryption, to secure the data. Therefore i wanted to use the Xamarin SQLCipher component. And here come my problems into play:

As far as i know it is a platform specific library, but i wanted to write a MVVMCross-SQLCipher-plugin, like the SQLite Community Plugin, which is separated in a PCL core and a platform specific library. Any suggestions how i can do this or is it impossible because of the SQLCipher-architecture?

1

1 Answers

2
votes

We used the standard SQLite implementation included in MvvmCross and just swapped the binaries for SQLite to SQLCipher out and it works fine.

I believe all the calls are the in both binaries so there should be little else requried just make sure you set a password on the database when you do:

new SQLiteConnection(databasePath, password)