AsyncStorage is stuck by some request.

At recent days, I notice some request would stuck the pending of AsyncStorage when the app start, on Android, SDK 33. If the request hang up, it would take about 1 or 2 minutes to get the result of AsyncStorage. If I turn on the VPN, it takes 1 or 2 seconds.
By the way, Fetch request is OK when AsyncStorage was stuck. Is there another way to storage local data without that problem?

1 Like

Hey @ivyhaswell,

It might be worth checking out the community repo for the AsyncStorage module and see if this is a known issue.

As for an alternative for local storage, you could try using Expo’s SecureStore module. https://docs.expo.io/versions/v33.0.0/sdk/securestore/

Cheers,
Adam

1 Like

I replace it with SecureStore, and it runs good now. thanks.

Glad to hear it! Best of luck moving forward!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.