Skip to content

How do I wipe the persisted values? #20

@jehillert-ziosk

Description

@jehillert-ziosk

Redux persist had some helper functions that let you set the store back to it's initial state. I didn't see it in the api so I used this for AsyncStorage thining it would do the same thing.

          const keys = await AsyncStorage.getAllKeys();
          console.log(`${flushMsg}${keys}`);
          await AsyncStorage.multiRemove(keys);

I also tried AsyncStorage.clear()

Somehow that doesn't kill it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions