Nowadays, AsyncStorage is not a part of “react-native” core anymore, and so it is not possible to apply $reactNative.AsyncStorage.clear()
in the debugger console.
In the script I am using import AsyncStorage from "@react-native-async-storage/async-storage";
, but what should I do in the debugger?
How do I clear AsyncStorage in the debugger now?
($@react-native-async-storage/async-storage.AsyncStorage.clear()
doesn’t work.
I guess because it’s the wrong syntax when I use “@” or “-”)