SEMSEI IZSÁKLET'S TALK

CUE 02 / CASE STUDY

Kitchen label printer

An Android app that prints food-safety expiry stickers on Sunmi V2s handhelds in the restaurants' kitchens.

ROLE
Developer
WHEN
October 2025 to today
STATUS
In daily use
Expiry stickers coming out of a Sunmi V2s, with the print screen of the app.
Expiry stickers coming out of a Sunmi V2s, with the print screen of the app.

The problem

Every prepared ingredient in a kitchen needs a sticker that says when it was made, when it expires, and who made and checked it. If the expiry on that sticker is wrong in the late direction, food that should be thrown away stays in use.

The system

  1. 01DeviceSunmi V2s handhelds with a built-in label printer.
  2. 02AppKotlin with Jetpack Compose, Room and Ktor. Works offline and syncs labels when it can.
  3. 03Back officeA Strapi admin where each label has a name, a shelf life and a brand.
  4. 04DeliveryEvery push to main builds, signs and ships through Firebase App Distribution.
  5. 05FeedbackA QR-code form in the kitchens and a triage dashboard.

What I built

  • Stickers with prepared time, expiry time, shelf life and two signature lines, plus an optional on-package expiry.
  • A print queue with a guard against duplicate prints.
  • Hungarian, English, Romanian and Slovak, including translated product names.
  • End-of-day labels and four-section side labels rotated 90°.
  • One app for four brands: Simon's, Travis' Tenders, Buddy's and Smashy. Settings switch the colours and the launcher icon.

A sticker can only be early, never late

A handheld in one restaurant printed 13:07 → 16:07 on a two-hour label. The device resolved "now" in one UTC offset and the expiry in another, across a clock change. The fix prints the expiry with the smaller of the two offsets, and builds end-of-day labels straight from the local date. Across a real clock change the sticker can only show an earlier time, never a later one, which is the safe side for food.

Numbers

  • 4brands in one app
  • 4languages
  • 54labels in the back office
  • 55automated tests

Stack

  • Kotlin
  • Jetpack Compose
  • Room
  • Ktor
  • Sunmi PrinterX SDK
  • Strapi
  • fastlane
  • Firebase App Distribution

Lessons

  1. Time bugs need a rule about which direction is safe, not just a correct conversion.
  2. A restaurant only updates when updating is one tap.