Kiosk Browser for MDM

Managed configurations

Set up Kiosk Browser for MDM in your MDM.

Add the app from managed Google Play, then set it up with your MDM's managed configurations.

Your MDM may call them:

  • Microsoft Intune: App configuration policies
  • Workspace ONE: Application configuration
  • SOTI MobiControl: Managed App Config
  • Android Management API: managedConfiguration

Sending settings

  • Settings you send are locked on the device. The app's Settings show them as "Set by your MDM", and they can't be changed on the device, by the automatic configuration URL or by web pages.
  • Changes apply straight away, and the app reloads the Kiosk URL.
  • To unlock a setting, stop sending it. It keeps its last value.
  • Invalid values are ignored, and the setting stays unlocked.
  • To license a device, send your licence key in licence_key.

Managing settings from a file

To manage settings outside your MDM, host a JSON file of settings and send its address from your MDM.

  1. Create the file. It uses the same keys and values as the managed configurations, for example:
    {
      "kiosk_url": "https://example.com/",
      "custom_app_title": "Reception",
      "show_app_icon": false
    }
    To build it, set the values under All settings and copy them as Standard JSON.
  2. Host it at a web address your devices can reach, starting with https://.
  3. In your MDM, set automatic_config_url to that address. The app downloads the file straight away.
  4. To change settings, edit the file. The app downloads it every 15 minutes. To change how often, set automatic_config_download_frequency to between 15 and 1440 minutes.
  • Settings your MDM sends always win, and the file can't change them. Lock the settings that mustn't change in your MDM, and manage the rest in the file.
  • Unknown keys and invalid values in the file are ignored.
  • To license devices from the file, include licence_key. It activates a licence on devices that don't have one.
  • To start from a device that's already set up, open Settings > Admin > Create Automatic Configuration File. It uploads the device's current settings to a temporary public link, and you can leave passwords out. The file doesn't include the automatic config URL or the licence key.
  • To apply a changed file on a device straight away, open Settings > Admin > Download Automatic Config.

Serial numbers

To pass the device's serial number to your web app:

  1. Set device_serial to your MDM's serial number placeholder, on its own (see the table below).
  2. Add %KIOSKSERIAL% to the Kiosk URL, for example https://example.com/kiosk?serial=%KIOSKSERIAL%. The app inserts the serial number, URL-encoded.

Your pages can also read it with Android.getSerialNumber() when javascript_interface is on.

MDMSerial number placeholder
Microsoft Intune{{SerialNumber}} in the JSON editor, or Variable: Serial number in the configuration designer
Omnissa Workspace ONE UEM{DeviceSerialNumber}
SOTI MobiControl%SERIALNUM%
Ivanti Neurons for MDM${deviceSN}
Ivanti EPMM$DEVICE_SN$
ManageEngine%serialnumber%
Samsung Knox Manage${DeviceSerialNumber}

This works on fully managed and dedicated devices. On Android 12 and later, work profiles on personal devices don't provide the serial number.

Kiosk mode

To lock devices to the app, add it to your MDM's kiosk mode (dedicated device, single-app or lock task mode). The app pins itself when it opens: Home and Recents are disabled, and only your MDM can end kiosk mode. You can still open Settings with the settings password. If the app closes unexpectedly, your MDM's kiosk mode reopens it.

Barcode scanners

  • Scanners with keyboard output: no setup needed. Each scan is typed into the field that has focus.
  • Zebra: in DataWedge, turn on Intent output, set the intent action to com.procoit.kioskbrowsermdm.BARCODE_SCAN_EVENT and set intent delivery to "Broadcast intent".
  • Honeywell: in Data Processing Settings, turn on Data Intent, set Action to com.procoit.kioskbrowsermdm.HONEYWELL_SCAN_EVENT, leave Category, Package name and Class name blank, and turn off Wedge.
  • Each scan arriving twice? Turn on ignore_scanner_broadcasts.

To receive scans in a JavaScript callback, turn on javascript_interface (it's off by default) and call Android.useJavaScriptCallbackGenericScanner(true) from your page. Each scan is passed to your page's barcodeScanResult(data) function. This works for every scanner that sends scans by intent, including Zebra and Honeywell.

All settings

General 8 settings

Kiosk URL

Text
kiosk_url

The page the kiosk opens. You can use %KIOSKIDENTIFIER%, %KIOSKSERIAL%, %KIOSKTITLE%, %LOCALCONTENT% and %LOCALSTORAGE%.

Default: Not set

Kiosk Title

Text
custom_app_title

Default: Kiosk Browser for MDM

Device Serial Number

Text
device_serial

Usually set by your MDM, using its serial number placeholder. Replaces %KIOSKSERIAL% in the Kiosk URL.

Default: Not set

Idle Page Timeout

On/off
enable_timeout

Enables page timeout

Default: On

Used when "Idle Page Timeout" is on

Timeout (minutes)

Choice
idle_timeout

Reload kiosk home page URL every x minutes when idle

Default: 5

Used when "Idle Page Timeout" is on

Timeout: Always Reload

On/off
idle_timeout_always_reload

Reloads the home page even if the device has not been used

Default: On

Reload on Screen On

On/off
reload_on_screen_on

Reloads the home page when screen is turned on

Default: Off

Display 5 settings

Theme

Choice
theme

Select theme colour

Default: Blue

Colour Navigation Bar

On/off
colour_navigation_bar

Replace default colour (black) of navigation bar using theme colour

Default: Off

Lock Screen Orientation

On/off
lock_rotation

Lock to portrait or landscape

Default: Off

Used when "Lock Screen Orientation" is on

Orientation

Choice
rotation

Default: Landscape

Full Screen Mode

On/off
fullscreen_mode

Hide system/navigation bar

Default: Off

Toolbar 22 settings

Always Hide Toolbar

On/off
hide_action_bar

CAUTION: Prevents access to settings via the toolbar unless show toolbar on swipe down is enabled, otherwise access settings via multi-tap method

Default: Off

Show Toolbar on Swipe down

On/off
display_toolbar_swipe_down

Displays toolbar on swipe down from top edge of the screen

Default: On

Show App Icon

On/off
show_app_icon

Shows the app icon at the top left of the toolbar

Default: On

Used when "Show App Icon" is on

App Icon Reloads Home Page

On/off
icon_loads_home_page

Loads home page when pressing app icon (top left icon)

Default: On

Show Address Bar

On/off
show_address_bar

Shows an address bar in the toolbar in place of the title. Only web addresses can be opened, and the Allow/Block List still applies

Default: Off

Allow Search from Address Bar

On/off
allow_search_from_address_bar

Text that is not a web address is searched for using the Search Provider URL

Default: On

Search Provider URL

Text
search_provider_url

Search terms are added to the end of this URL

Default: https://www.google.com/search?q=

Browser Controls

On/off
show_browser_controls

Show browser controls (home, back/forward etc…)

Default: On

Used when "Browser Controls" is on

Home Icon

On/off
show_home_icon

Default: On

Used when "Browser Controls" is on

Refresh Icon

On/off
show_refresh_icon

Default: Off

Used when "Browser Controls" is on

Back Icon

On/off
show_back_icon

Default: On

Used when "Browser Controls" is on

Forward Icon

On/off
show_forward_icon

Default: On

Bookmarks Icon

On/off
show_bookmarks_icon

Default: Off

Bookmarks

Text
bookmarks

Bookmarks to show when tapping bookmarks icon, separate urls with a comma

Default: Not set

Bookmark Names

Text
bookmark_names

Define user friendly names to show when tapping bookmarks icon, separate names with a comma

Default: Not set

Bookmarks Bar Title

Text
bookmarks_title

Title to display in the header of the bookmarks bar

Default: Bookmarks

Custom URL Icon

Text
custom_toolbar_url

Creates custom toolbar icon with a URL of your choice

Default: Not set

Barcode Scanner Icon

On/off
barcode_scanner

Shows a scan button in the toolbar. A scanned web address opens; anything else is sent to the Barcode Redirect URL

Default: Off

Barcode Redirect URL

Text
barcode_redirect_url

When scanning barcodes that do not contain a URL redirect to page such as http://www.mywebsite.com/stock.php?productcode=

Default: Not set

Encode Barcode Data

On/off
barcode_redirect_url_encode

URL-encode scanned data before adding it to the Barcode Redirect URL, for barcodes containing characters such as &, # or spaces

Default: Off

Show Restart Browser

On/off
show_restart_app_menu

Shows the Restart Browser menu item, allowing the user to restart the browser

Default: Off

Hide Overflow Menu Items

On/off
hide_menu_items

Hides the toolbar menu, including Settings. Settings can then only be opened by multi-tap

Default: Off

Page & Content 18 settings

Page Zooming

On/off
page_zooming

Enables pinch zooming/double tap

Default: On

Overview Mode

On/off
overview_mode

Loads overview of page, remember to enable Use Wide Viewport

Default: On

Use Wide Viewport

On/off
use_wide_viewport

Should the browser enable support for the "viewport" HTML meta tag or use a wide viewport

Default: On

Initial Zoom Level

Choice
initial_zoom

Zoom level when a page first loads. 0 leaves it to the page

Default: 0

User Agent

Choice
user_agent

Display website using default device user agent, force desktop mode or provide custom string

Default: Default

Custom User Agent

Text
user_agent_custom

Specify your own user agent string (user agent must be set to custom)

Default: custom

Clear Cache

On/off
timeout_cacheclear

Clears cache on idle timeout or home page reload

Default: On

Used when "Clear Cache" is on

Clear WebStorage

On/off
timeout_storageclear

Clears WebStorage on idle timeout or home page reload

Default: On

Clear Cache (page load)

On/off
cacheclear_page_load

Clears cache immediately when any page has finished loading

Default: Off

Clear Cookies

On/off
timeout_cookieclear

Clears cookies on idle timeout or home page reload

Default: On

Clear Forms

On/off
timeout_formsclear

Stops the keyboard and Autofill remembering what visitors type, so it isn't suggested to the next visitor

Default: On

Custom Error Page

On/off
custom_error_page

Display custom error page if URL cannot be displayed. Use page: #DEFAULTSTORAGE#index.htm

Default: Off

Used when "Custom Error Page" is on

Redirect to Custom Error Page

On/off
redirect_custom_error_page

When a page returns an error code above 400, loads the custom error page with ?statuscode= and the code added, so the page can show it

Default: Off

Custom Access Denied Page

On/off
custom_denied_page

Display custom access denied page if access to the URL is denied. Use page: #DEFAULTSTORAGE#index.htm

Default: Off

Ignore Certificate Errors

On/off
ignore_certificate_errors

Ignores all certificate errors when loading a website via https

Default: Off

Cache Mode

Choice
cache_mode

Defines the way cache is used, by default the cache is checked and content is re-validated as needed

Default: LOAD_DEFAULT

Prevent Uploads

On/off
prevent_uploads

Prevents upload of any files

Default: Off

Prevent Downloads

On/off
prevent_downloads

Prevents download of any files

Default: Off

Hardware 6 settings

Keep Screen On

On/off
keep_screen_on

Keeps the screen on permanently (disabling uses system sleep values)

Default: Off

Used when "Keep Screen On" is on

Prevent Screen Power Off

On/off
prevent_screen_power_off

Turns the screen straight back on if someone switches it off

Default: Off

Use Device Back Button

On/off
use_device_backbutton

On: Back goes to the previous page. Off: Back is passed to Android, as in any other app

Default: On

NFC

On/off
nfc_enabled

Allow scanning of NDEF tags (urls only)

Default: Off

Default Camera

Choice
default_camera

Sets default camera for barcode scanning

Default: Back

Ignore Barcode Scanner Broadcasts

On/off
ignore_scanner_broadcasts

Ignores barcode scans that hardware barcode scanners broadcast to the app

Default: Off

Connectivity 2 settings

Reload on Network Connect

On/off
reload_network_change

Reloads the Kiosk URL when the device connects or switches network

Default: On

Delayed Load on Startup (seconds)

Choice
delay_load_on_startup

Attempt load Kiosk Url after x seconds, useful if waiting for WiFi to connect

Default: 0

Allow/Block List 7 settings

Enable Allow List

On/off
allow_list_enabled

Access specified URLs only (takes priority over block list)

Default: Off

Used when "Enable Allow List" is on

Deny Kiosk Url

On/off
allow_list_deny_kiosk_url

Denies access to Kiosk Url to allow more granular control via allowed urls setting

Default: Off

Used when "Enable Allow List" is on

Allowed URLs (comma separated)

Text
allow_list_urls

Allowed web addresses, comma separated. example.com allows that site and its subdomains; example.com/shop allows only that path

Default: Not set

Enable Block List

On/off
block_list_enabled

Deny specified URLs only

Default: Off

Used when "Enable Block List" is on

Blocked URLs (comma separated)

Text
block_list_urls

Blocked text, comma separated. Any address containing an entry is blocked

Default: Not set

Redirect to Home Page

On/off
allow_block_list_redirect

Redirect to home page when URL is not in Allow List or URL is in Block List

Default: Off

Troubleshoot Allow/Block List

On/off
allow_block_list_troubleshoot

Displays toast message for each denied page (allow list) or allowed page (block list) to assist with troubleshooting.

Default: Off

Scheduled Restart 2 settings

Scheduled Browser Restart

On/off
app_restart

Restart the browser daily, back on the Kiosk URL with session cookies cleared

Default: Off

Used when "Scheduled Browser Restart" is on

Restart Time

Text
app_restart_time

Time to restart the browser each day, in 24-hour HH:mm format, for example 03:00

Default: 21:00

Advanced 14 settings

Automatic Config Url

Text
automatic_config_url

Automatically download configuration every x mins (default 15) via Url (JSON)

Default: Not set

Automatic Config Download Frequency (minutes)

Number
automatic_config_download_frequency

Controls how often the configuration url is checked for changes (15 mins or more)

Default: 15

Prevent keyboard form submission

On/off
prevent_submit_keyboard

Prevents user from accidentally submitting a form when pressing Go on software keyboard

Default: Off

Hide Progress Bar

On/off
hide_progress_bar

Hides progress bar when loading pages

Default: Off

Require Password

On/off
require_password

Requires password to access settings

Default: On

Multi-tap for Settings

On/off
multitap_settings

Opens Settings when the screen is tapped quickly the number of times set below. Stays on while the menu or toolbar is hidden, so Settings can still be reached

Default: On

Used when "Multi-tap for Settings" is on

Number of taps

Choice
multitap_count

Number of taps required for multi-tap

Default: 4

Use Hardware Acceleration

On/off
hardware_acceleration

Disabling forces software mode and will stop videos from playing, resolves some performance issues on some devices

Default: On

Allow JavaScript Interface

On/off
javascript_interface

Allow use of built in JavaScript Functions

Default: Off

Pause JavaScript Timers on Sleep

On/off
pause_javascript_timers_on_sleep

Default: On

Hide Alert Dialogs

On/off
prevent_alert_dialogs

Prevents browser generated alert dialogs from displaying

Default: Off

Barcode Scanner Timeout

Choice
barcode_scanner_timeout

Timeout in seconds before barcode scanner activity is considered idle and should close

Default: 1 Minute

Allow Intents

On/off
allow_intents

Allow launching of other apps through web links using intents such as tel: etc

Default: Off

Allow Popup Windows

On/off
allow_popup_windows

Allows common authentication or social sharing popup windows to function, use with caution

Default: Off

Admin 3 settings

Settings Password

Text
settings_password

Default: 0000

WiFi Settings Password

Text
wifi_settings_password

Typed at the Settings password prompt, opens Android's Wi-Fi settings instead. Does nothing until changed from the default

Default: ChangeW1f1

Enable Logging

On/off
enable_logging

Records app activity, including page addresses, and uploads it to ProCo IT for support. Stops after 24 hours. Use only when support asks

Default: Off

Licensing 1 setting

Licence Key

Text
licence_key

Activates this licence key on the device, if it doesn't already have an active licence

Default: Not set