react-native-debugger icon indicating copy to clipboard operation
react-native-debugger copied to clipboard

DevMenu - AsyncStorage not working (Android)

Open wuifdesign opened this issue 7 years ago • 4 comments

React Native Debugger app version: 0.9.6 React Native version: 0.58.3 Platform: Android Is real device of platform: No Operating System: macOS


"Clear AsyncStorage" isn't working and clicking "Log AsyncStorage content" produces following error:

RNDebuggerWorker.js:1 Uncaught (in promise) TypeError: Cannot read property 'map' of null
    at v.showAsyncStorage.e (RNDebuggerWorker.js:1)
    at <anonymous>

wuifdesign avatar Feb 19 '19 14:02 wuifdesign

It already fixed in https://github.com/jhen0409/react-native-debugger/commit/55c3c195264de16d4261e1ee888e047614e250dd (It not only for 0.59), I'll release it later.

jhen0409 avatar Feb 19 '19 23:02 jhen0409

@jhen0409 I am facing the same issue when I run my app on an android device. AsyncStorage doesn't work. Can you help me out and provide a fix?

abhirup03 avatar May 30 '19 06:05 abhirup03

The same issue happens on iOS too

React Native Debugger app version: 0.9.10 React Native version: ^0.59.9 Platform: iOS Is real device of platform: No Operating System: macOS

I'm also using @react-native-community/async-storage: ^1.5.0

MrOggy85 avatar Jun 26 '19 03:06 MrOggy85

I also had this problem react native debugger app version: react native version: 0.58.6 platform: ios

domingogogo avatar Jul 11 '19 03:07 domingogogo