Error code if the phone runs out of storage ? #1020
Unanswered
ziadsarour
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm planning to use sqflite in my app because I need to handle a large compressed JSON file (~180mb).
Previously, every time the app was started, this file was unzipped then stored in a static method to keep it during the whole app lifetime (it's a list of products, so I always need it).
It was working great on iOS but when I've tested on Android it just gets out of memory (even with android:largeHeap).
So I've decided to :
For it to be reliable, I need to know when the phone runs out of storage, so I can notifiy the user to free up some storage to complete db inserts.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions