iOS: Dialogue for download of dynamic resources
Purple Apps
In this article, you will learn how the dialogue required by iOS to ask the user for permission before downloading dynamic resources and displaying the file size, works. iOS apps must display this dialogue once before the application can be launched for the first time. This dialogue is automatically enabled when you upgrade your Purple app to template 10.5 or higher.
If you want to apply this change for your Purple App, you have to rebuild the app. It demands a new submit in the apps store, to make the change visible to your users.
- Have an app created in Purple Manager
- Have at least 'App Admin' role in Purple Manager
After submitting your app with an App Template 10.5 or higher, when opening the Purple app for the first time, the following dialogue appears on the user's device:
Based on the system language set in the users' device, there is either an English or a German text displayed in the dialogue.
The default text is as followed and can be changed in the Localization Key
Localization Key | DE | EN |
---|---|---|
dialog_dynamic_resources_download_title_ios | Hinweis | Hint |
dialog_dynamic_resources_download_message_ios
| Für die Funktion der App müssen einige Daten heruntergeladen werden. ( X MB) | To ensure a fully functioning App, some data must be downloaded. (X MB) |
dialog_dynamic_resources_download_button_download_ios | Herunterladen | Download |
If you want to change or add text keys, you can learn more in this article about Translations in Purple Apps.
The 'X MB' is a variable that is automatically overwritten by Purple and indicates the file size of the dynamic resources in your Purple app.
As soon as the dialogue is enabled for the first time after the app start, the flow is as followed:
Screen: Dialogue for download of Dynamic Resources and their size for iOS
Screen: HTML screen before ATT Privacy alert (if enabled in Purple Manager)
Screen: ATT Privacy alert
Screen: Consent Management (CMP) Privacy Settings
Screen: App request for sending Push messages