Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a crash in RCTAsyncLocalStorage when the value is not a string.
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 facebook#535 Github Author: Janic Duplessis <janicduplessis@gmail.com> Test Plan: Imported from GitHub, without a `Test Plan:` line.
- Loading branch information