Hello Friends 👋,

Welcome To Infinitbility! ❤️

React Native AsyncStorage is one of the most popular packages for storing data as a key, value pair but sometimes we think when we save our data in AsyncStorage then AsyncStorage where a store or save those data.

Today, we are going to know Where does AsyncStorage store data? And How much data can be store in AsyncStorage in react native?

Let start today tutorial

Where does AsyncStorage store data?

On iOS, AsyncStorage is backed by native code that stores small values in a serialized dictionary and larger values in separate files. On Android, AsyncStorage will use either RocksDB or SQLite based on what is available.

– React Native

How much data can be store in AsyncStorage in react native?

Current Async Storage’s size is set to 6MB. Going over this limit causes database or disk is full error.

If you want to increase limit add AsyncStorage_db_size_in_MB property to your android/gradle.properties:

Note: I’m not recommending to you because it will cause some unexpected errors

AsyncStorage_db_size_in_MB=10

Thanks for reading…