Using this plugin is as easy as using any other mobile plugin you'll find.
Pre-condition; have this plugin instaled ;-)
Usage:
Just make sure that you first use the CheckDialogsPlugin first before using the Dialog Client action.
The Native Dialogs Plugin has available four different client actions:
Alert
Shows a native alert.
Message: The message you want to display in the dialog
Title: Title of the Dialog
ButtonName: What the users will see as the button text
Success: True when no error occured during the process
ErrorMessage: Empty when no error occured, otherwise it will contain the error message
Confirm
Shows a confirmation native dialog.
Message: The message you want to display in the confirm dialog
Title: Title of the Confirm Dialog
ConfirmButtonName: What the users will see as the confirmation button text
DismissButtonName: What the users will see as the dismiss button text
IsConfirmButtonClicked: True when the confirm button is clicked. False if dismiss button is clicked
Prompt
Makes the device display a native dialog box with a prompt.
Button1Name: What the users will see as the first button text
Button2Name: What the users will see as the second button text
DefaultInputValue: What the users will see as the default textbox input value (optional)
TextEntered: What the users entered in the textbox input
Beep
Makes the device play a beep sound.
NumberOfBeeps: The number of times to repeat the beep
Note
Please be aware that when you test this in the browser (emulated) that this plugin won't work. So please use the FeedbackMessage that the platform already provides.
The Dialogs plugin has three input parameters:
Two output parameters are defined;