I currently have a large .sqlite data store with long string text. This is about 160 MB and will grow to around 200 MB when I finish. This is a read-only dataset.
Now I just put this file in my package and read it at runtime. However, this means that the application requires you to download 160 MB. Not optimal.
One solution is to gzip this file, send the gzipped version in the bundle, unzip it when you first start it and place it in the Documents / folder. This means that you download much less, but the total size of the application used on the device is (gzip'd size + ungzip'd size), which is also clearly not optimal.
I want to use the gzip solution, but after the first launch of the application, I want to uninstall the .gz version. Is it possible? How do I achieve this? What would be another good solution?
source share