Questions tagged [akavache]

Akavache is an asynchronous, persistent (i.e. writes to disk) key-value store created for writing desktop and mobile applications in C#. Think of it like memcached for desktop apps.

Akavache is an asynchronous, persistent (i.e. writes to disk) key-value store created for writing desktop and mobile applications in C#. Think of it like memcached for desktop apps.

91 questions
1
vote
2 answers

How to subscribe new value in Akavache?

I'm using Akavache's GetAndFetchLatest method and I have created dependency services to communicate with Akavache's method. I'm calling akavache from service layer successfully when i directly reference. For subscribing MyMod result = null; …
Dhruv
  • 90
  • 10
1
vote
0 answers

Xamarin.Forms - Akavache how to recreate Sqlite3 connection after BlobCache.Shutdown()

I want the user to be able to leave the App and to come back as many times as he wants. Saving its data in the cache each time the app is sent background. When my App on Xamarin.Forms goes "OnSleep()" the following code is…
Jeff
  • 31
  • 5
1
vote
0 answers

The latest version (6.0.20) of Akavache seems to be partly broken when used in Xamarin.iOS?

I was originally trying to fetch and cache an image using BlobCache.LocalMachine.LoadImageFromUrl(someURL), but I found that it just stopped responding after I called this method. (Yes, I've set BlobCache.ApplicationName, I even called…
raymond_u
  • 11
  • 1
  • 1
1
vote
1 answer

What is new in Akavache v6.0.17-beta that i can tap(I cant find the release note)

What is new in Akavache v6.0.17-beta that i can tap(I cant find the release note) I am have been waiting for any update on this great library.
Chrisgate
  • 50
  • 5
1
vote
1 answer

Could not find Akavache GetObjectAsync method

I've installed akavache Nuget package (tried v5.0 and v6.0.0-alpha and I am using .NET Standard), but don't have access to GetObjectAsync mentioned in many examples through the web. (Even on the official page). I am considering this is rather not…
Agat
  • 4,577
  • 2
  • 34
  • 62
1
vote
1 answer

What does "linked out by Xamarin" mean?

In the Akavache docs, it says... Add the following class anywhere in your project to make sure Akavache.Sqlite3 will not be linked out by Xamarin What does "linked out by Xamarin" mean?
Ian Warburton
  • 15,170
  • 23
  • 107
  • 189
1
vote
2 answers

Reading Akavache cache from Swift

I'd like to load Akavache data from Swift. I've found myapp.db{-wal,-shm} files under Library/Application Support/MyApp/BlobCache and can read myapp.db, but I'm not sure how to read key-values from the other files. Is there some documentation…
David Siegel
  • 1,604
  • 11
  • 13
1
vote
2 answers

Circular dependency detected when installing Nuget package, Akavache 6.0.0-alpha0038

I'm getting a 'Circular dependency detected' error when I'm trying to install Akavache 6.0.0-alpha0038 into my Xamarin.IOs project in Visual Studio 2017. This is the error in detail, Error Circular dependency detected 'akavache 6.0.0-alpha0038…
Rizan Zaky
  • 4,230
  • 3
  • 25
  • 39
1
vote
1 answer

Possible bug in Akavache in Xamarin.Forms / Xamarin iOS

Implementation of Akavache works on Android debug and release and iOS debug mode. However, it crashes on iOS release mode. The exception thrown, intercepted from Raygun, is The type initializer for 'Akavache.Sqlite3.Internal.SQLiteConnection' threw…
Mr. 笑哥
  • 283
  • 1
  • 5
  • 15
1
vote
1 answer

Akavache or Sqlite is crashing When Calling in OnStart method

When I use the code below in my xamarin.forms project to check if User object exist in akavache cache, I am getting the exception below. the same code or any akavache query works somewhere else but crashes in onStart method only. I believe that I am…
1
vote
0 answers

Delete record from local storage using Akavache

I have a record that I store locally on the device and I have a button that deletes the record from local storage. When the user presses the button, this method is called and the record is removed from device locally (by invalidating the guid). I'm…
Euridice01
  • 2,510
  • 11
  • 44
  • 76
1
vote
0 answers

Akavache 5.0 values are null

I am using Akavache 5.0 with Xamarin.Forms. Out of nowhere my cache stopped working. I am using Blobcache.LocalMachine to save a key with an object. For the last year it has worked and now on restart of the app it still has the keys stored and…
rleffler
  • 430
  • 6
  • 15
1
vote
1 answer

Akavache security override not working

As you know akavache has issues with its secure storage on iOS and Android. I am trying to override the secure storage used by Akavache. I've been following the example given by Kent to solve this…
cfl
  • 999
  • 1
  • 14
  • 34
1
vote
1 answer

how to update/insert/delete item in akavache list object?

Should I use akavache as a primary local database in my xamarin forms application or a cache database on top of another sqlite database? Because I cant find any example of how to update, insert, delete data in akavache object. For example, …
Emil
  • 6,411
  • 7
  • 62
  • 112
1
vote
5 answers

Akavache loss information on IOS

We are using Akavache on project, in Android everything works great but on iOS we had some issue that is if we save a key value in the cache like this: public async void Salvar(Login login) { await BlobCache.LocalMachine.InsertObject("login",…