Home / Insights / Flutter kiosk apps in production: lessons from Android deployments
Engineering guide

Flutter kiosk apps in production: lessons from Android deployments

We built Flutter kiosk apps for live events, on Android tablets and on an RK3576 totem running Android 14. This guide stays with Android and with what we saw on those devices.

Published 2026-11-09 · ICE Felix

To run a Flutter kiosk app in production on Android, make it the device's home app or use lock task mode, remove competing vendor software, bundle every asset, queue data offline and test across real reboots. Many of the failures we met came from the device, its firmware and its network, and few from Flutter.

What this guide is based on

Our event kiosks include a prize-wheel lead form for WLC and a touchscreen app built for a totem at tbi Grand Auto Expo. The hardware was Android 14 tablets and RK3576 totems with a 2160×3840 portrait panel. The totem we worked on was rooted and had no Google Mobile Services.

Two limits apply. These kiosks were built for events, so we have no long-run field data on panel ageing or heat. On 11 June 2026, the day before the expo opened, that totem moved from the Flutter app to a small native WebView shell that loads a web page full-screen. The Flutter notes below come from building and testing the app on the device before that change, and the device, network and boot notes apply to either kind of app.

Android and embedded Linux are different projects

Everything here is Android. We have not shipped Flutter on an embedded Linux kiosk, so take the Linux column as a contrast and verify it for your own hardware.

Android kioskEmbedded Linux kiosk
Flutter supportA listed target in Flutter's supported platformsThe table lists Debian and Ubuntu as desktop targets and has no embedded row
Who integrates the engineFlutter's standard Android embeddingYou choose or write a custom embedder
Boot, display, inputHandled by the vendor's Android image, including its faultsYours to assemble
Main riskVendor firmware and preinstalled softwareLong-term cost of the custom stack

Flutter's engine documentation says of custom engine builds: "We do not expect custom engine builds to be long-term sustainable." The same page recommends them only for platforms that are not supported out of the box, "for example in embedded hardware", and describes the embedder API, which has a stable ABI, as a separate route. Decide which of the two your project needs before committing a product to it.

Getting the device to boot into the app

Lock task mode or home app

Android's documented route for kiosks is lock task mode. It hides the Home and Overview buttons and blanks the status bar. "Only apps that have been allowlisted by a device policy controller (DPC) can run" in it, which makes it the right investment for a fleet under management. Screen pinning looks similar, but the person at the device can leave it.

We used the simpler route, suited to a small number of devices we provision on site. Android recognises a home app by the CATEGORY_HOME intent category. We declared it in the manifest, set our activity as the default with cmd package set-home-activity over adb, and confirmed the setting survived a reboot. Android's dedicated-devices cookbook covers doing the same from a device policy controller.

Remove what is already there

The totem came with a vendor player that kept taking focus until we disabled it with pm disable-user, which is reversible. It also came with a factory burn-in app that rebooted the device every three to four minutes. Before debugging your own app on new hardware, list every installed package and look at the recorded boot reason.

Small things that end a session

Rendering on a 4K portrait panel

Flutter's performance guide says "each frame must render approximately every 16ms to avoid jank" at 60fps. At the panel's native 2160×3840, our raster times were around 21ms. We rendered at 1080×1920 instead, using wm size 1080x1920, and let the panel upscale. That held 60fps and persisted across reboots.

For a demanding attract loop, our design choice was hardware-decoded video instead of animated widgets.

Physical reach matters as much as pixels on a tall totem. The top of the screen is out of comfortable reach, so everything touchable sat in the band from y 1050 to y 1850 of the 1080×1920 canvas. The upper area was for display only.

Touch input can be wrong at the hardware level

The touch digitizer on the totem was mounted with its axes swapped and mirrored. A rotation setting cannot correct a reflection, so no vendor option fixed it. We measured the mapping with a calibration drag and wrote a small native remapper that grabs the input device and injects corrected coordinates through uinput.

Apps could not get root on that userdebug image, so the remapper starts as an init service at boot. It is a device-level fix, and it stays reversible.

Some kiosk panels have a smaller fault: a constant offset. For those we added an in-app calibration screen with five targets, an offset applied to pointer events in the Flutter binding, and a diagnostic touch test in the operator menu. A drag from corner to corner on day one tells you which of the two problems you have.

Assume the network is intermittent

A font download that broke the taps

Our hardest bug looked like broken buttons. Back and other taps did nothing on the totem. The cause was the google_fonts package trying to download fonts at runtime over a connection that came and went. The failures raised unhandled exceptions on every frame, which cancelled the gesture arena, so taps never completed.

The package README describes runtime fetching as "ideal for development", usable in production to reduce app size, and says matching asset files take priority over HTTP. We bundled the fonts and removed the package. The rule we took from it: a kiosk must be able to draw every frame with the network unplugged.

Two ways to keep leads

DesignWhere we used itTrade-off
Local queue with retry, then an API with idempotent writesTotem app, using Hive and a small backendLeads survive outages, and you have a backend to run
Direct write to a cloud spreadsheetA short event deploymentNo relay to fail during the event, and a credential to protect on every device

Anything shipped in an APK can be extracted from the device. A credential in the app should reach the one resource it needs and be replaced after the event.

Plan for the boot race as well. The first network call often runs before the network is up, so it needs to fail quietly and retry. Our WebView shell retries every three seconds for this reason.

Remote access

Verify on the device, with the real artwork

The totem app had 33 passing tests, a clean analyzer and a working release build. A review on the physical device still found four layout bugs: overlapping filters, a keypad row cut off, another overlap and a logo collision in the header. The automated tests did not show them.

The prize wheel taught a similar lesson. Our model assumed one slot more than the printed artwork had, so the mismatch between slot and prize grew as the wheel went round. The fix came from counting the slots on the artwork and checking the mapping on the device. We added a diagnostic mode, enabled with a dart-define, in which each tap forces the next slot and shows its index.

What we have not solved

Checklist

If you need a kiosk like this built and operated, or an existing app kept running, we can help. We also publish flutter_virtual_keyboard, a customizable on-screen keyboard package, on pub.dev.

Frequently asked questions

Can a Flutter app run as an Android kiosk?

Yes. It can be set as the device's home app, or run in lock task mode when a device policy controller manages the device. Flutter does not need special support for either, though you should intercept Back in the app.

Should I use lock task mode or a home app?

Lock task mode is Android's documented kiosk route and suits managed fleets. A home app with competing launchers disabled is simpler for a few devices you provision yourself, and that is what we used.

Does a Flutter kiosk need a rooted device?

The app does not. Our totem was rooted, and that helped with provisioning. One fix needed system-level access: a touch digitizer mounted with mirrored axes, corrected by an init service.

Can Flutter render at 4K on an RK3576 at 60fps?

In our app it could not at native resolution: raster times were around 21ms against a budget of about 16ms. Rendering at 1080×1920 and letting the panel upscale held 60fps. Your result depends on how heavy your interface is.

Does this apply to Flutter on embedded Linux?

Only partly. The advice on offline behaviour, touch testing and verification carries over. Boot, display and engine integration are different problems, and we have not shipped Flutter on an embedded Linux kiosk.

Sources

Related

Planning a kiosk on real hardware? Tell us about the device.
Book a discovery call →
© 2026 ICE Felix — a brand of Whiz Media Center SRL.
Services · Work · Insights · About · Privacy & Cookies · Terms