Skip to content

tradle/react-native-async-storage-snappy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Nov 16, 2018
b42365c · Nov 16, 2018

History

10 Commits
Nov 16, 2018
Jan 18, 2017
May 29, 2017
Mar 21, 2017
Nov 16, 2018

Repository files navigation

SnappyDB-based backend for AsyncStorage

Android only for now

Install

yarn add react-native-async-storage-snappy

Link in the native dependency

react-native link react-native-async-storage-snappy

Usage

AsyncStorage currently doesn't provide a way of swapping out the backend implementation, so for now you can fork react-native and cherry-pick the commit from this PR

When it's merged, you will instead be able to do AsyncStorage.setBackend(AsyncSnappyStorage)

Contributing

PRs welcome!