React native Async Storage Limit on Android
问题 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())