Work

2023–presentMobileLive

BugMapper

Offline-first field app for counting insect traps in commercial greenhouses.

BugMapper
See it liveWebsite ↗
Problem
Workers count insect traps across large greenhouses, by hand and often without a connection.
Action
Built the Expo field app: scan a trap's QR code to open its record, log counts and chemical applications, queue everything in SQLite offline and sync when back online. Encrypted file transfer to an on-site device, English and Turkish.
Result
In production. The client reports a trap now takes about 10 seconds to record, against 5 to 10 minutes for manual counts.
  • About 10 s per trap, against 5 to 10 min by hand (client figure)
  • Works offline, syncs when back online
  • In production in Kayseri, Türkiye
BugMapper, slide 1
BugMapper, slide 2
BugMapper, slide 3
BugMapper, slide 4
BugMapper, slide 5

The Problem

BugMapper is a precision pest management platform for commercial greenhouses, deployed in Kayseri, Türkiye. Staff walk the greenhouse, check insect traps, record counts and log treatments.

Done by hand, counting a trap takes minutes, and the signal inside a greenhouse comes and goes. The work can't stop when the connection does, and nothing recorded offline can be lost.

What I Built

I have been a contract engineer on BugMapper since September 2023, delivered through Jafrix Systems since 2025. I built the React Native (Expo) field app and contributed to the web dashboard where administrators review organisations and their deployments.

  • QR scanning. Scan a trap or location QR code with the phone camera to open its record: crop, trap type, field and past counts.
  • Trap list. Summary tiles for traps to count, ending soon and not counted yet, with traps near end of life flagged in red.
  • Counts and observations. Record trap counts and plant observations by sector, tunnel and row, then collect or finalise a trap on the same screen.
  • Treatments. Validated chemical-entry forms and an applications history per product and field.
  • Offline queue. Deployments and photos go into a local SQLite queue first and sync when the connection returns. Pending, in-progress and failed items are tracked separately, and staff can sync one item or all of them.
  • Files from the greenhouse. Encrypted file transfer between the app and an on-site device, with integrity checks, then upload to the cloud.
  • English and Turkish, with drawer navigation.

Key Challenges

Offline has to feel normal. Every count lands on the phone first, and a Pending Sync screen shows what is waiting, so a greenhouse with no signal loses nothing.

Failed uploads must stay visible. Trap actions and device files sync on separate paths. A failed photo upload never looks like a failed trap count, and failed items wait to be retried instead of disappearing.

Testing without the hardware. The on-site device is not always on hand, so I built a mock server for the file transfer, which lets the transfer and its integrity checks be tested without it.

Results

In production in Kayseri, Türkiye. The client reports that recording a trap now takes about 10 seconds, against 5 to 10 minutes for a manual count. The platform has been covered in the agricultural trade press, including Daily Sabah.

Stack Decisions

React Native with Expo and TypeScript for the field app. SQLite for the offline queue, so counts and photos stay on the phone until they sync. Zustand for app state, Firebase Authentication for sign-in and i18next for English and Turkish.

Building something in this space?

I ship mobile, web and AI products end to end, from the first screen to payments and store releases.

Get in touch