Skip to content

tradle/react-native-async-storage-snappy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

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!