Xamarin.iOS / Akavache / Encrypted Cache Working Example

1.5k views Asked by At

Does anyone have and is willing to share a working example of using Akavache in a Xamarin.iOS project (ideally without any other add on ui frameworks, as bare bones as possible) implementing a custom EncryptionProvider so that the Secure cache is actually encrypted.

To clarify, I would like the example to show the following:

  • use of Xamarin.iOS to build a simple iOS app
  • use of Akavache to cache data
  • use of Akavache's BlobCache.Secure or SQLiteEncryptedBlobCache with a custom EncryptionProvider implementation to keep the cached data encrypted when data is at rest

Thanks for your help.

Conclusion:

With the help of the example below I got my test solution working and am sharing it here for anyone that it might help in the future: https://github.com/dmitrysamuylov/xamarin-ios-akavache-secure-example

1

There are 1 answers

2
Shane Neuville On BEST ANSWER

Link to the sample I created

https://github.com/PureWeen/Akavache.Samples

I realize link only answers are usually frowned upon but I don't know if anyone wants my whole sample pasted into an answer :-)