The Partial Download component
When an application is installed by a user, all of its content is downloaded automatically. With the Download component, you can define content that will only be downloaded after user interaction. This is particularly useful for very large applications (containing a lot of videos, for example).
⚠️ This component is only compatible with native iOS & Android applications
To use this component, the first step is to define the content that will be downloaded later (downloadable modules). It could be a screen, a Group component, or a Multi-state component. Then, add the actions that trigger the download.
Create downloadable modules
To create downloadable modules, go to the Project properties.
Under Modules, click the Add button to create your downloadable modules. These modules are empty. You now need to associate content with them: a screen, a Group component, or a Multi-state component.
Associate content with the downloadable module
Once you have created your modules, you need to associate content with them.
Go to the properties of a screen, a Group, or a Multi-state component: a new property Downloadable Module appears, allowing you to choose one of the previously created modules.
This content will not be visible by default in your application, so you must associate a download action with it.
Add a download action
Insert a Download component where the download action will be triggered.
The Download component is a system component, so nothing will appear visually on your screen. In the Properties, select the downloadable module associated with the action.
Then, add a button in the interface and the action Act on a component > Download > Download to device.
Here are all the available actions:
- Download to device
- Cancel download
- Delete files
Trigger events are also available to inform the user of the download status. Select the Download component and add an action.
Here is the list:
- Not downloaded
- Downloaded
- Download complete
- Downloading
- Download error