redux-remember icon indicating copy to clipboard operation
redux-remember copied to clipboard

How do I wipe the persisted values?

Open jehillert-ziosk opened this issue 10 months ago • 0 comments

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.

jehillert-ziosk avatar Feb 03 '25 19:02 jehillert-ziosk