All Projects → n7olkachev → react-native-sync-storage

n7olkachev / react-native-sync-storage

Licence: other
Sync storage for react native

Programming Languages

javascript
184084 projects - #8 most used programming language

react-native-sync-storage

It is simple wrapper around AsyncStorage with sync get, set, remove methods and background syncing with AsyncStorage.

Usage

import storage from 'react-native-sync-storage'

...
await storage.init // somewhere where you can wait for loading storage
...
storage.get('property')
storage.set('property', 2333)
storage.remove('property')

Note that set and remove methods return promise which is resolved on syncing with AsyncStorage.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].