Demostration of Async Storage package.json issue
To reproduce:
- Clone this repo
- Run
yarn
- Run
yarn start app ios
oryarn start app android
(either will demonstrate the issue and show the red screen of death)
To test the fix:
- Run
yarn start patchAsyncStorage
. This will replace the package.json entry"react-native": "src/index.js",
with"react-native": "lib/module/index.js",
in the@react-native-community/async-storage
package json file. - Run again either
yarn start app ios
oryarn start app android