Setup a native app

iOS: Dialogue for download of dynamic resources

8min

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.

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:

Dialogue for download of Dynamic Resources and their size for iOS
Dialogue for download of Dynamic Resources and their size for iOS


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

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.

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:

1

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

Dialogue for download of Dynamic Resources and their size for iOS
Dialogue for download of Dynamic Resources and their size for iOS

2

Screen: HTML screen before ATT Privacy alert (if enabled in Purple Manager)

HTML screen before ATT Privacy alert
HTML screen before ATT Privacy alert

3

Screen: ATT Privacy alert

ATT Privacy alert
ATT Privacy alert

4

Screen: Consent Management (CMP) Privacy Settings

Consent Management (CMP) Privacy Settings
Consent Management (CMP) Privacy Settings

5

Screen: App request for sending Push messages

App request for sending Push messages
App request for sending Push messages