Open
Description
Motivation
In some cases, it is important to know the current total size of the data stored in Async Storage. It would help to predict possible storage issues beforehand due to the storage limit set by React Native authors.
Description
Described in "Motivation" section.
New feature implementation
Possible methods in my mind:
- Natively (Android API/iOS API) calculate and retrieve the size;
- Iteratively (via JS) calculate the size of all keys and corresponding values and find the sum.