mirror of
https://github.com/status-im/react-native.git
synced 2025-02-13 09:56:44 +00:00
Summary: When you forget to pass the value parameter to AsyncStorage.setItem the entire app would crash instead of showing a useful error message. The problem was that the error function used in the file expected a dictionary but was passed the value of the key which caused the crash. Closes https://github.com/facebook/react-native/pull/535 Github Author: Janic Duplessis <janicduplessis@gmail.com> Test Plan: Imported from GitHub, without a `Test Plan:` line.