I'm going to have a large number of mp3 files in my app. Right now, this is what I do:
Use On Demand Resources so that the files will not affect the app size;
At first launch:
- If user is connected to WiFi, download all the files and store them in the app documents directory;
- If user is not connected to WiFi, ask him to download or download later.
Now my question is:
If the total files size reaches more than 300mb for example, it will be a problem since maybe the user will delete the app because he is running out of space. How can I solve this?
I was thinking about:
store my files online and play, but then everytime the user wants to play them, he will use mobile data. Or, if the user doesn't have data connection or he is in a place without signal, he won't be able to use the app;
compress the files in a zip, then unzip it when the user wants to play them and zip again;
ask the user which files he wants to download, and then remove them if he wants to download more.