Created on 22 June 2018
icon_unfollowing
Login to follow
native-dialogs-plugin

Native Dialogs Plugin

Stable version 1.0.2 (Compatible with OutSystems 11)
Other versions available for 10
Uploaded on 10 May 2023 by 
native-dialogs-plugin

Native Dialogs Plugin

Documentation
1.0.2

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
  • Confirm
  • Prompt
  • Beep


Alert

Shows a native alert.

  • Input Parameters

          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


  • Output parameters

          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.

  • Input Parameters

          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


  • Output parameters

          IsConfirmButtonClicked: True when the confirm button is clicked. False if dismiss button is clicked

          ErrorMessage: Empty when no error occured, otherwise it will contain the error message



Prompt

Makes the device display a native dialog box with a prompt.

  • Input Parameters

          Message: The message you want to display in the confirm dialog

          Title: Title of the Confirm Dialog

           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)


  • Output parameters

          Success: True when no error occured during the process

          ErrorMessage: Empty when no error occured, otherwise it will contain the error message

          TextEntered: What the users entered in the textbox input



Beep

Makes the device play a beep sound.

  • Input Parameters

          NumberOfBeeps: The number of times to repeat the beep


  • Output parameters

          Success: True when no error occured during the process

          ErrorMessage: Empty when no error occured, otherwise it will contain the error message



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.


1.0.1

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 Dialogs plugin has three input parameters:

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


Two output parameters are defined;

Success: True when no error occured during the process

ErrorMessage: Empty when no error occured, otherwise it will contain the error message


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.


Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
Native Dialogs Plugin has no dependencies.