I'm developing a React Native app which will easily exceed the 6mb limit. According to this, I should be able to use the method setMaximumSize, however I'm not sure of where or how I should invoke it in my project.
A practical example would be welcome.
EDIT: For anyone who needs this in the future here's how you do it:
// MainApplication.getPackages()
long size = 50L * 1024L * 1024L; // 50 MB
com.facebook.react.modules.storage.ReactDatabaseSupplier.getInstance(getApplicationContext()).setMaximumSize(size);
来源:https://stackoverflow.com/questions/38991073/react-native-async-storage-limit-on-android