ResizeDesktopWindow

Purpose:

Resize a Desktop installed PWA window. Otherwise it has no effect.

Category:

PWA

Syntax:

ResizeDesktopWindow width height
width

Window width

height

Window height

Example:

ResizeDesktopWindow 320 480


PreventInstallPrompt

Purpose:

Prevent default PWA install prompt (use on Project > Events) Return var will store true when the application is ready to be installed and will remain false if the application is already installed or the web browser does not allow installing a PWA.
Use this command to design your own "Add to screen" design. You should show your own design only If [result Var] == true

Category:

PWA

Syntax:

PreventInstallPrompt [result var]
result var

Variable to store if the app is ready to be installed.

Example:

PreventInstallPrompt [ReadyToInstall]


Sample app:
https://www.visualneo.com/tutorials/installscreen



ShowInstallPrompt

Purpose:

Prompt the user to install the PWA. Use in your own "Add to home screen" design within a button. Use in conjuntion with PreventInstallPrompt.

Category:

PWA

Syntax:

ShowInstallPrompt

Example:

ShowInstallPrompt


IsInstalled

Purpose:

Returns true if the PWA is installed, otherwise returns false.

Category:

PWA

Syntax:

IsInstalled [result var]
result var

Variable to store the user response.

Example:

IsInstalled [myvar]