Hi,
This is my very first post here. I’m very exited
I’m building an app which is some sort of catalog. This app is aimed for both, iOS and Android devices.
The total size of the app after building it for iOS is +130MB, I know there’s a limit of 50 MB for over-the-air downloads.
Obviously, the files that are making this app so big are images. I have an “image” folder wich is splited into four sub folders corresponding to the chapters of the catalog.
Looking for possible solutions I found the network.download() API as an option but I’m not sure how to implement it for my case.
What I’m planning to do is:
-
Upload the app top the AppStore and Google Play without the sub folders of the “images” folder
-
Upload those sub folders on a server as .zip files
-
Once a user downloads the app use network.download() API to download the .zip files from the server
-
Once the files are downloaded use the zip.uncompress() API to extract the photos of the sub folders to the “images” folder
Are these steps the correct path to follow?
Does these steps apply to Android too?
Are there other (better) solutions to implement?
Thanks in advance!