Offline Assets (images and media that work offline)
This feature allows you to include media in your app that can be used offline, such as images, audio, or video. (Not available with all plans)
To add offline assets to your app, first you need to put them in a .zip file.
Select the items you want in your app, and zip them together.
Note that you are zipping the files together without a folder. If you use a folder, you will need to add that to your assets path like this: assets/my-folder/my-file.jpg.
Next, visit the app customizer, go to the Settings tab, and scroll down to this field:
Click Upload File, and select the zip file from the previous step. Save, then rebuild your app.
Using Offline Assets
When you build your app, the files will be included in the app in 'assets' folder. You can include a relative path to your files on a custom HTML page, for example in an image tag.
Example of using an image file in the assets folder:
If you zip a folder, the path would be relative to that folder. For example: assets/folder/file-name.png.
To play audio or video files included in offline assets, please use our Media Player.
To add a custom logo to your header, please see this article.
If you want to add more files you will need to include them in your zip file, re-upload the zip, and then rebuild your app.
We do not recommend uploading large amounts of offline assets, as this will cause your app to increase in size, and slow download times for your app users.