Skip to content
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

AsyncStorage running out of space? #98

Open
isocra opened this issue Jul 28, 2021 · 1 comment
Open

AsyncStorage running out of space? #98

isocra opened this issue Jul 28, 2021 · 1 comment

Comments

@isocra
Copy link

isocra commented Jul 28, 2021

Hi @morrys

You helped me last year set up a connection to AWS Amplify and Apollo using your ApolloClient and ApolloCache in Expo and it's been working well.

However, I'm getting the following errors in production database or disk is full (code 13 SQLITE_FULL[13]), from AsyncStorage.

I thought that maybe they're coming from a different part of the app, but I've mostly ruled that out. Do you think it's likely to be coming from the ApolloCache? Are there any alternatives to using AsyncStorage in React Native (specifically Expo managed)?

Thanks!

@morrys
Copy link
Owner

morrys commented Jul 28, 2021

Hi @isocra,
have you tried this react-native-async-storage/async-storage#427?

If you need more space instead, there are alternative storage to my knowledge but honestly I don't have much experience with expo / react-native storage :/

At the moment, wora/cache-persist supports out-of-the-box only AsyncStorage but I have no problem helping you to create the necessary layer to support others (see for example IndexedDB, AsyncStorage)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants