Added
- 📷 Set up a tablet by scanning a QR code (#452). On the welcome screen of the first launch, Scan a setup QR code (not shown on Android TV) reads a code made on freekiosk.app/setup-qr. The code carries the page, the lock, the start at boot, the orientation, the brightness and the status bar, and, if its maker chooses, a PIN and a REST API key; it can also carry a "valid until" date. The app shows what the code would change and applies nothing until the user taps Use this setup; a code without a PIN leads to the usual choice of a PIN on the device. The code is not signed: the date is a guard against a forgotten code, not a protection. Only
freekioskandurlare required, unknown fields are ignored, the limit is 2,000 characters. The scanner now ships its own code-reading model (about 2.4 MB more in the APK) instead of downloading it through Google Play Services, so scanning also works on a tablet without Google services, and so does the Cloud enrollment scan, which had the same dependency. Checked on an Android 15 emulator with Google Play services turned off, with codes made by the website generator; not checked on a physical tablet. - 🌏 Japanese. Settings > General > Language now lists 日本語, ten languages in all, and a device set to Japanese (
ja_JP) gets Japanese when no language is chosen. All 1,435 texts ofen.jsonare translated, and so are the strings Android itself shows (values-ja, with the one plural form Japanese has). A glossary keeps each setting under one name. Translated with AI (Claude) and read against the English line by line in a second pass; no native speaker has reviewed it yet. Not checked on screen: the app was not built or run, only the files and the locale tests' rules. - 📱 Settings in the provisioning QR code. The admin extras of the setup-wizard QR can now carry any ADB configuration key (
pin,url,mqtt_*, ...) next to the cloud enrollment keys. They are stored during provisioning and applied once on the first launch, through the same checks as the ADB command, so a tablet is ready as soon as it is scanned. Withoutpin, nothing is applied. Checked by the author on a factory-reset Galaxy Tab A11 (Android 16) scanning a real QR code, and by us on an Android 15 emulator (stored settings written by hand: with and withoutpin); 46 unit tests. Not tested: the path before Android 12 (onProfileProvisioningComplete), and a QR code that also carries a cloud enrollment. See ADB Configuration. - ⭐ Play Store build: a support banner, then Google's rating dialog. After 5 openings of the settings (behind the PIN, never on the kiosk screen) a banner says where to write when something is wrong (
support@freekiosk.app); it comes once and closing it is final. After 15 openings and a week of use, Google's own in-app review dialog is requested, at most 3 times and 30 openings apart. The two never come in the same visit, and neither depends on what the person answered: Google forbids asking for an opinion before its rating card. Advanced > About has a permanent "Rate FreeKiosk" button, which opens the store page, and a "Contact support" button; on a tablet in Lock Mode, where Android refuses the mail app and the store, these buttons and the banner copy the address or the link instead and say so. Only-Pplaystorebuilds carry the Google Play library; the GitHub and cloud builds have none of this. The thresholds are starting values, not measured ones. - 🌍 The texts Android itself shows are translated (#420): the boot screen, the description of the accessibility service in Android's settings, and the names and texts of the notifications of the background services (kiosk watchdog, remote camera, keep-alive, external-app overlay, screen wake). They follow the language of the device, in the 8 languages of the app (German, Spanish, French, Italian, Dutch, Polish, Brazilian Portuguese, Simplified Chinese), and stay English in any other. Until now they were English whatever the language.
- 📘 An OpenAPI description of the REST API:
docs/openapi.json, 56 paths and 102 operations with their parameters, bodies, answers and the authentication (X-Api-Keyheader or Basic password) (#357). A test reads the server's route table and fails when a route, a method, a POST-only endpoint or the "Allow remote control" check no longer matches the file. - 🖼️ An image can stay on screen with no end (#230): a default image duration of 0 in the Media Player settings keeps the current image (a single picture, or a live MJPEG stream) on screen instead of moving on. Until now the duration went from 1 to 3600 seconds, and when it ran out the player loaded the item again, so a stream that never ends showed its loading spinner every hour at best. With several items, 0 stops the playlist on the first image, so use it for one image; a duration set on an item itself still applies.
- 📶 NFC tags in Lock Mode, as an opt-in. Android hands a scanned tag to its app through a screen of the system NFC service, which Lock Mode refused, so a tag that triggers an app (a Home Assistant tag, for example) did nothing (#254). Settings > Security > Allow NFC Tags In Lock Mode (ADB
--ez allow_nfc_tags true, off by default, Device Owner only) adds that service to the lock task whitelist. The app the tag opens must be a managed app too. Whitelisting is per package, so every screen of the NFC service can then appear over the kiosk: only turn it on if you control the tags. - 🔐 Trusted certificates, by SHA-256 fingerprint. Settings > Advanced > Trusted certificates lists the self-signed certificates a tablet trusts in advance, and the
trusted_cert_fingerprintsADB key sets the same list. The warning dialog only asks once per certificate and only on the page itself, which does not work for a tablet nobody is in front of or for a host reached only as a sub-resource. Only an exact fingerprint match is trusted, there is no "accept everything" path, so the same code ships in the Play Store build. "Clear accepted certificates" leaves this list alone (#424, #143). - 🧭 A guided first launch on Android (also on Android TV). On a device where nothing is configured, FreeKiosk now opens a short setup wizard instead of the welcome screen with the default PIN
1234: the page address (checked:https://added when missing,javascript:,data:and other schemes refused), your own PIN (4 to 6 digits, typed twice; it replaces1234), keep it running (start at boot, battery optimisation), lock (Android screen pinning, or Not now), then a "Your kiosk is ready" screen that explains how to get back to the settings (N taps with a practice zone that follows the real tap count and timeout, Volume Up x5; Back x5 on a TV). Nothing is saved before Start the kiosk. The first screen also offers Connect to FreeKiosk Cloud (asks for the PIN, then opens the cloud settings) and I know FreeKiosk: open all the settings (the previous behaviour). The wizard never shows on a device that has any setting, a PIN, a cloud enrolment, a QR enrolment waiting or an ADB configuration waiting, so updates and provisioned fleets are untouched. All texts exist in the nine languages. Checked on an Android 15 tablet emulator (fresh install, ADB-provisioned fresh install, update of a configured install, update of an empty install, cloud path, advanced link, Back key, relaunch, settings gesture with the chosen PIN, the default1234refused after the wizard) and on an Android 16 TV emulator driven with the remote only (every step, Back x5 then PIN); 45 unit tests. Known limits: on a TV without Device Owner the lock cannot be chosen (Android shows no pinning prompt there; the wizard says so). The runtime permission prompts of the first start (camera, location, nearby devices, notifications) still come before the wizard. Not tested on a physical device, nor on a Play Store build (-Pplaystore).
Fixed
- 🚀 The first-launch wizard now asks for what "Start FreeKiosk when the device restarts" needs (#453). The wizard turns the option on by default but never asked for Display over other apps; without it Android blocks the start after a restart and the device stays on its launcher (
BAL_BLOCKin the log). The last screen now shows a card when the option is on, the device is not Device Owner and the permission is missing: an Allow button that opens the system screen (checked again when the user comes back) or, on a TV, theadbcommand. It applies to the classic wizard and to the QR code. Checked on an Android 15 emulator: after granting through the button and restarting, FreeKiosk started by itself; not checked on a Device Owner device. - 🔒 The lock screen comes first when a PIN, pattern or password is set and "System screen-lock compatibility" is on (reported in #444). After the screen was switched off and on with the power button, the kiosk was drawn over the lock screen, so the credential was never asked. In that case FreeKiosk no longer asks Android to show it over a secure lock screen. With the option off, nothing changes. Tested on an Android 15 emulator without Device Owner; not tested on a real device, nor before Android 8.1.
- 🔍 Web Page Zoom above 100 % in Home Assistant mode no longer makes a full-screen page scroll (#439). The mode zoomed the page body, and CSS zoom also enlarges what a page sizes with viewport units: a dashboard laid out with
100vh(Home Assistant's Sections view) became the zoom factor taller than the screen and scrolled by the difference, 120 px at 115 % on an 800 px screen. Like zooming out since #382, it now gives the page a mobile viewport the zoom factor narrower and scales it up, so the dashboard still re-flows its columns and100vhis the screen height again. Standard mode above 100 % is unchanged. Checked on a Fire HD 8 (Android 9, 1280 x 800 CSS px) with a test page holding amin-height: 100vhgrid: at 115 % the page was 920 px tall and scrolled by 120 px before, and fits the screen exactly with the change, still reflowed from 4 to 3 columns. Covered by a Jest test of the injected zoom script (fails without the change). - ⏲️ The Restart Button's hold time shows in seconds again (reported in #223). Settings > General > Restart Button > Long-press duration showed "500s" for 5 seconds: the slider fell back to its default display, which treats the value as a fraction and shows it as a percentage. It now shows "5s". Display only; the stored value and the hold time itself were always right.
- 🌑 The dim screensaver's fade no longer flashes black at full brightness. With Fade Out set, the black layer sometimes showed fully black for a moment, while the brightness was still at its full level, before fading in from transparent (about one activation in four on the test tablet). The layer faded with the native animation driver, and a view that had just mounted sometimes showed the end value first; a fade cut short by a wake also reported its value back after the reset, so the next one could start from there. The fade now runs on the JavaScript side, which costs nothing while the screensaver is showing. Checked on a Fire HD 8 (Android 9) by recording the brightness during the flashing runs: the brightness ramp itself always ran cleanly from full to the screensaver level, so only the layer was at fault; with the change, no flash in 11 days of daily use.
- 📡 Five MQTT commands did nothing:
restart_ui,lock,keyboard_key,keyboard_comboandkeyboard_text. They were sent to JavaScript, which has no case for them, and ended in Unknown command in the log. They now run on the native handler that already serves them for the REST API and the cloud. - 📖 Docs: removing Device Owner over ADB does not work on a release build. The FAQ, the installation guide and the ADB guide gave
adb shell dpm remove-active-admin com.freekiosk/.DeviceAdminReceiveras a way to remove Device Owner, and the FAQ as a way past a forgotten PIN. Android only accepts that command for an app builtandroid:testOnly: on the released app it fails withSecurityException: Attempt to remove non-test admin(checked on an Android 15 emulator with 2.0.0, with and without Device Owner set from the command line). The three documents now point to Settings > Advanced > Remove Device Owner (PIN needed), and to a factory reset when the PIN is lost. Not checked: a physical device, and other Android versions. - 📖 Docs: the MQTT guide says only what Nabu Casa documents about MQTT (#418, #431), the tables of contents of the REST, MQTT and ADB guides are rebuilt from their real headings (#425), and the README links the iOS app and says FreeKiosk Cloud also enrolls iPads and iPhones (#440, #441).