-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to @react-native-community/async-storage #10
Comments
@alebedev you can pass in import asyncstorageDown from 'asyncstorage-down'
import levelup from 'levelup'
import AsyncStorage from '@react-native-community/async-storage'
const db = levelup('/does/not/matter', {
// the magic line:
db: location => asyncstorageDown(location, { AsyncStorage })
}) |
We use
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using AsyncStorage in react-native 0.60 gives a warning that it will be removed in next version. We should switch to @react-native-community/async-storage to fix this
The text was updated successfully, but these errors were encountered: