Skip to content

Warning: No localStorage exists to persist data to! #1398

Description

@palmtown

Hello Community,

I am using Gun with react-native as described at https://github.com/amark/gun/wiki/React-Native. However, when I start my app, I get the warning "Warning: No localStorage exists to persist data to!" although I am passing the store as "store: asyncStore({AsyncStorage})"

I checked IGun.d.ts file, and specifically GunOptions in GunOptions.d.ts, and there is no store key. It does list [key: string] as shown in Exhibit 1 below. However, it says it is for 3rd party modules, however, I do not see anything related to store at https://github.com/amark/gun/wiki/Awesome-GUN#plugins--helpers.

Any help/guidance would be greatly appreciated.

Exhibit 1
/** * allows you to pass options to a 3rd party module. Their project README will likely list the exposed options * @see https://github.com/amark/gun/wiki/Modules */ [key: string]: any;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions