javascript-sdk icon indicating copy to clipboard operation
javascript-sdk copied to clipboard

[ENHANCEMENT] Remove async storage from the core implementation

Open matinzd opened this issue 1 year ago • 3 comments

Description

It would be ideal not to tightly integrate async storage within the SDK, allowing us to inject other types of storage options. There is an object called persistentCacheProvider, but it appears that even if we pass in persistentCacheProvider, the SDK still defaults to using async-storage. Perhaps lazy-loading async storage would be a better option, or not including it as a peer dependency at all.

Benefits

It is possible to use faster and more modern storage options in react native like mmkv or secure storage.

Detail

No response

Examples

No response

Risks/Downsides

No response

matinzd avatar Oct 25 '24 13:10 matinzd