Skip to content

mvayngrib/react-native-safe-async-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-safe-async-storage

Wrapper around AsyncStorage that writes large values to the filesystem using react-native-fs. This is to avoid the dread "android java.lang.IllegalStateException: Couldn't read row 0, col 0 from CursorWindow" when large values are stored using AsyncStorage.

Usage

npm install --save react-native-fs # peer dep
npm install --save react-native-safe-async-storage
rnpm link
import AsyncStorage from 'react-native-safe-async-storage'
// use as you would AsyncStorage
// large values are stored to fs.DocumentDirectoryPath + '/fsas'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published