Akavache
Akavache copied to clipboard
SQLite is not restored on iOS after an application restart
Hi, I am facing an issue with akavache on Xamarin iOS.
When I stop then relaunch the application, the BlobCache is empty.
Things I've checked :
- AkavacheSqliteLinkerOverride.cs is in the App project
- BlobCache.EnsureInitialized(); is called
- everything works at runtime ( get / insert objects in the cache )
- BlobCache.Shutdown is called
- BlobCache.LocalMachine.GetType() returns Akavache.Sqlite3.SQLitePersistentBlobCache
- The SQLite database is persisted ( I have checked the file with akavache explorer and I can find my keys/values in the db file )
Thngs I've tried :
- instantiate my own SQLitePersistentBlobCache with a given path
What could be wrong with my app ?