Assets (images, videos, etc.)
You can manage the assets required by your app within Ensemble Studio. These are typically files such as:
- image files (PNGs, JPEGs, SVGs, etc.)
- video files
- audio files
- JSON source for Lottie widget
When you build and deploy your app, these assets are included in your built output. These assets are loaded instantly in iOS and Android apps instead of downloading them over the network. This approach avoides any delay in displaying the assets.
Upload assets
Navigate to your app inside Ensemble Studio. Select Assets from the left menu. Click on Add assets and upload your file.
Reference an assets
- Click on the
...
icon of the asset. - Select
Copy path
. - Paste the path in the relevant widget. This is typically the
source
property of widgets such as Image.