Akavache initialisation issue
I am currently working on xamarin forms application development. i am facing issue in intializing akavache. when i initialise akavache InMemoryCache is getting created. all the below caches are null.
- BlobCache.LocalMachine
- BlobCache.UserAccount
- BlobCache.Secure
I used below code to initialise securecache,
BlobCache.ApplicationName = "xamarinAkavacheTest"; var fsprovider = Locator.Current.GetService<IFilesystemProvider>(); var root = fsprovider.GetDefaultSecretCacheDirectory(); var dbName = "mysecrets.db"; var path = Path.Combine(root, dbName); var encryptedCache = new SQLiteEncryptedBlobCache(path);
where i get System.NullReferenceException: 'Object reference not set to an instance of an object'
Can you guide me how to initialise each cacheMemory.?
I am using visual studio 2019. akavache 6.8.1 Running in IOS simulator iphone 11 pro 13.0
Hey @TcMarsh31 :wave:,
Thank you for opening an issue. We will get back to you as soon as we can. Also, check out our Open Collective and consider contributing financially.
https://opencollective.com/reactiveui
PS.: We offer
prioritysupport for all financial contributors. Don't forget to addprioritylabel once you start contributing :smile:
An advanced, composable, functional reactive model-view-viewmodel framework for all .NET platforms!