Data persistence when app is killed


#1

How to persiste asyncStorage? I’m reading that if i kill the app, all saved data on asyncStorage are done. This mean: new login request, a lot of fetch, etc.

There is no solution for this issue? Any plan?

A common case is to persist redux data and reload them on startup from device, how do you handle this case?


#2

AsyncStorage does persist between runs of the app.


#3

what about saving non text? (say image)
There are space limit on AsyncStorage?
How much secure is AsyncStorage? what about secret key? (a secret token that no user must see)


#4

Image is really just data in another form, you can save an image as a base64 string in AsyncStorage.

Look here for something more secure: https://docs.expo.io/versions/latest/sdk/securestore.html


#5

i have read that android have a 4mb size limit(sqlite version), this will make image saving impossibile on AsyncStorage…


closed #6

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