Alerts are useful components for displaying important messages while users are in the app itself
A one button alert, also known as a notification, displays a message and one button to confirm user has viewed the message
To set one up, simply fill in the following simple
properties. The Cancel Button Text only needs to be filled out for a two-button alert. You can use blocks to start an event when
Property | Description |
---|---|
Title | The title of the alert |
Message | The subtitle of the alert |
Confirm Button Text | The text of the button |
Cancel Button Text | LEAVE BLANK |
Two button alerts have two buttons, one that dismisses the notification and one that can be programmed to start an event
To set one up, simply add the following simple
properties
Property | Description |
---|---|
Title | The title of the alert |
Message | The subtitle of the alert |
Confirm Button Text | The text of the right confirm button; If the danger switch is turned on, the text will be in red (iOS only) |
Cancel Button Text | The text of the left cancel button |
If you want to start an event from a confirm button, you will want to add the blocks below:
Using the Advanced
properties, it is possible to add buttons to an alert for more sophisticated use cases
Property | Description |
---|---|
Title | The title of the alert |
Message | The subtitle of the alert |
Text Advanced |
The text of the button |
Style Advanced |
The style of the button; ok is a confirm button, cancel is a cancel button and destructive is a confirm button with text in red (iOS only) |
If you want to start an event from a confirm button, you will want to add the blocks below: