Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.

Storage interface should be kvstore, not "storeSignedPreKey" etc #16

Open
tristanhoy opened this issue Feb 27, 2017 · 1 comment
Open

Comments

@tristanhoy
Copy link

I can't see any reason why this signal-specific logic shouldn't be a part of the library itself.

The storage interface should simply have put/get/remove, allowing MUCH simpler integration with various storage backends.

@stwiname
Copy link

The problem with a KV store is that they often only let you store primitive data type. e.g. LocalStorage only lets you store strings.

Being able to know the data you are storing makes it much easier to convert between string and the desired object

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants