Skip to content

Commit 23c22cd

Browse files
jcguarinpenarandaflovilmart
authored andcommitted
Update README.md (#538)
Added note for React Native applications regarding the new function for setting the AsyncStorage
1 parent 3d7c97b commit 23c22cd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ For React Native applications, include `'parse/react-native'`:
3434
```js
3535
// In a React Native application
3636
var Parse = require('parse/react-native');
37+
38+
// On React Native >= 0.50 and Parse >= 1.11.0, set the Async
39+
var AsyncStorage = require('react-native').AsyncStorage;
40+
Parse.setAsyncStorage(AsyncStorage);
3741
```
3842

3943
## License

0 commit comments

Comments
 (0)