logo
24.2
search
No matching documents found.
list
search
No matching documents found.
logo

Kiosk, App mode

Modern browsers allow different modes to allow for more desktop-like experience when working with web applications. This section describes how to configure Webswing application to run in app mode and kiosk mode in Chromium-based browsers (Chrome, Edge, ...).

App mode (PWA)

App mode or Progressive Web App is used when you want to have a more desktop-like feel to the application. You can save a shortcut to the application (web page) and open it the same way as you open any other desktop application. The PWA loads your application in a special Chrome browser window with minimal GUI, without address bar and other standard browser controls. The application is branded based on your settings in Webswing app config.

To make the experience more desktop-like it is recommended to set Swing windows to undecoratedand always maximized.

See our video guide to learn how to create PWA in a few steps.

Create PWA

Kiosk mode

The kiosk mode is used when you want to run Webswing application in a kiosk environment, i.e. started fullscreen without the option to leave or switch the app. This is similar to the app mode, but it requires a few more steps.

Kiosk printing

Many kiosk applications provide printing functionality. Since Webswing app runs on a remote server it cannot directly connect to user's local printer. However there are few options how to print directly with Webswing:

  • print using WebUSB API directly to a USB printer (e.g. Zebra printer)
  • open a web page with automatically opened local print dialog (must be confirmed by user)
  • open a web page that automatically submits the printing dialog and prints to default printer (only wth --kiosk-printing)

See our video guide to learn how to run Webswing app in kiosk mode and use kiosk printing.

Run kiosk