Description
I am trying to get some clarity on how I can use Akavache for multiple users on the same phone for the same app.
I am currently using BlobCache.LocalMachine, and I am getting and setting cached data using GetOrFetchObject( key ) and InsertObject( key ). The data consists of text and images. What I am noticing is that the key here is just a generic identifier that I am giving to the data, hence regardless of who logs into my app, the data is getting refreshed based on the same key, not proprietary to that user.
BlobCache.UserAccount is just a different location of the db, but doesn't take into account which user is actually using the app.
Is there a way to globally assign a userID or something to the data being saved? If not, what should the approach be to save multiple user's data using akavache on the same device?