Activation Selection Screen¶
The Activation screen is used in the activation process, asking users to select the location of the application configuration, either from the Discovery Service or by scanning a QR code.
There are two types of activation screen, as shown in the image below. One screen lets the user choose which method to use for activation, either the Discovery Service or using a QR code scan. The Discovery Service allows the user to input a discovery email domain from which to get the application configuration.

Example¶
ActivationSelectionScreen(
activationSelectionScreenSettings = ActivationSelectionScreenSettings(
title = R.string.title,
description = R.string.description,
discoveryButtonCaption = R.string.discovery_button,
qrButtonCaption = R.string.qr_scan_button
),
discoveryServiceButtonClickListener = {
...
},
qrCodeButtonClickListener = {
...
}
)
data class ActivationSelectionScreenSettings(
@StringRes val title: Int = R.string.activation_selection_title,
@StringRes val description: Int = R.string.activation_selection_desc,
@StringRes val discoveryButtonCaption: Int = R.string.activation_selection_discovery_button,
@StringRes val qrButtonCaption: Int = R.string.activation_selection_qr_button,
val illustrationSettings: IllustrationSettings = IllustrationSettings(
iconId = com.sap.cloud.mobile.fiori.theme.R.drawable.img_sap_systems
)
)
data class IllustrationSettings(
@DrawableRes val iconId: Int? = null,
val contentScale: ContentScale = ContentScale.Fit,
val illustrationSize: IllustrationSize = IllustrationSize.L
)
ActivationSelectionScreenSettings has a reference to IllustrationSettings, which is used to configure the icon on this screen.
Last update: April 5, 2024