Skip to content

[ENHANCEMENT] Remove async storage from the core implementation #952

Closed
@matinzd

Description

@matinzd

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions