Creates and opens an alert modal on your mobile app.
When an app user selects an action button in the alert modal, the showAlert()
function returns a Promise that resolves to the alert's result.
Customize the alert modal's title and message, and choose which actions an app user can take when the modal appears.
Alert title.
Alert message.
Alert actions.