Async-storage: AsyncStorage is not available in expo

Created on 8 Nov 2019  Â·  13Comments  Â·  Source: react-native-async-storage/async-storage

image
I installed react-native-community/async-storage and using App but got error in my picture! How do fix that?? Thanks you

Most helpful comment

wait expo support it

All 13 comments

How did you fix it?

wait expo support it

Using Expo, has anyone come across a solution to this other than sticking with the now-deprecated React Native _official_ AsyncStorage package?

Using Expo, has anyone come across a solution to this other than sticking with the now-deprecated React Native _official_ AsyncStorage package?

no not yet, I'm waiting for the developers to add a support for EXPO apps
In the meanwhile, you can use this -
import { AsyncStorage } from 'react-native'

looking forward resolving this issue.

looking forward resolving this issue.

Thanks man.
It would be great if you could prioritise it. As a beginner I'm more into expo for ease of configuration.

Up :)

Using Expo, has anyone come across a solution to this other than sticking with the now-deprecated React Native _official_ AsyncStorage package?

no not yet, I'm waiting for the developers to add a support for EXPO apps
In the meanwhile, you can use this -
import { AsyncStorage } from 'react-native'

If you use the above suggestion ^^ it will clear up most standard issue. Cannot guarantee for edge cases

up

any update? )

up

Is this a known issue? I am running Expo 37 and am running into this as well. I have tried all the steps listed in the Error screenshot and still nothing. Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

while-it picture while-it  Â·  51Comments

hms111111 picture hms111111  Â·  24Comments

StevenMasini picture StevenMasini  Â·  22Comments

sumanthyedoti picture sumanthyedoti  Â·  25Comments

Waqas-Jani picture Waqas-Jani  Â·  28Comments