---
title: iOS: Dialogue for download of dynamic resources
slug: experience/ios-dialogue-for-download-of-dynamic-resources
description: 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. 
docTags: 
createdAt: 2022-10-11T13:27:26.000Z
---

Purple Apps

***

## Summary

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.

:::hint{type="info"}
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.
:::

***

## Preconditions

- Have an app created in Purple Manager
- Have at least 'App Admin' role in Purple Manager

***

## Explanation

### Dialog

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:

::Image[]{src="https://api.archbee.com/api/optimize/ygR6KtT9QI_R0u3uKTJsm/JaNG3X4XcxUZagILLfkys_img-9850.PNG" size="48" width="1125" height="2436" position="center" caption="Dialogue for download of Dynamic Resources and their size for iOS" alt="Dialogue for download of Dynamic Resources and their size for iOS" showCaption="true"}

### Default text

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&#x20;**                                                                 | **EN**                                                                  |
| ----------------------------------------------------------- | ---------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| dialog\_dynamic\_resources\_download\_title\_ios            | Hinweis                                                                      | Hint                                                                    |
| dialog\_dynamic\_resources\_download\_message\_ios<br />    | 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](docId\:K1Qrr0QAzr_8ow4QkrK7J) 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.

### Flow after initial App start

As soon as the dialogue is enabled for the first time after the app start, the flow is as followed:

::::WorkflowBlock
:::WorkflowBlockItem
Screen: **Dialogue for download of Dynamic Resources and their size for iOS**

::Image[****]{src="https://api.archbee.com/api/optimize/ygR6KtT9QI_R0u3uKTJsm/GWVg4kBJOgyWkA9rowWBV_img-9850.PNG" size="50" width="1125" height="2436" position="center" caption="Dialogue for download of Dynamic Resources and their size for iOS" alt="Dialogue for download of Dynamic Resources and their size for iOS" showCaption="true"}
:::

:::WorkflowBlockItem
Screen: **HTML screen before ATT Privacy alert&#x20;**(if enabled in Purple Manager)

::Image[]{src="https://api.archbee.com/api/optimize/ygR6KtT9QI_R0u3uKTJsm/PLgsvKBq3PZJdkrwNYoKh_ccf4cd92-9336-4a64-91e3-ca9e1e23d868.png" size="50" width="1125" height="2436" position="center" caption="HTML screen before ATT Privacy alert" alt="HTML screen before ATT Privacy alert" showCaption="true"}
:::

:::WorkflowBlockItem
Screen: **ATT Privacy alert**

::Image[]{src="https://api.archbee.com/api/optimize/ygR6KtT9QI_R0u3uKTJsm/R915BQBjHSy2ha5SoExj8_img-9851.PNG" size="50" width="1125" height="2436" position="center" caption="ATT Privacy alert" alt="ATT Privacy alert" showCaption="true"}
:::

:::WorkflowBlockItem
Screen: **Consent Management (CMP) Privacy Settings**

::Image[]{src="https://api.archbee.com/api/optimize/ygR6KtT9QI_R0u3uKTJsm/rAcygt-_9hTc_SRczOYVG_bc3584bb-fd36-459f-949e-16d2b91dd35a.png" size="50" width="1125" height="2436" position="center" caption="Consent Management (CMP) Privacy Settings" alt="Consent Management (CMP) Privacy Settings" showCaption="true"}
:::

:::WorkflowBlockItem
Screen: **App request for sending Push messages**

::Image[]{src="https://api.archbee.com/api/optimize/ygR6KtT9QI_R0u3uKTJsm/fKd8HRNvCHTAFsIrz8wfK_0faa9899-d6e3-4069-a091-1fe16bb29adc.png" size="50" width="1125" height="2436" position="center" caption="App request for sending Push messages" alt="App request for sending Push messages" showCaption="true"}
:::
::::

