Menu

1 / 2

Agri Ops: building a farm app that never asks for the internet

DEV Community: dart·Stacklyn Labs·about 2 hours ago
#Ai8TQojz
#devtodart#devto#dev#crops#yields
Long article (995 words) — no AI summary yet.
Reading 0:00
15s threshold

The release build of Agri Ops doesn't request the INTERNET permission.

That one line in the Android manifest is the clearest summary of the app we could give you. Agri Ops is our Flutter app for farmers and small agri businesses: fields and soil types, crops from planting to harvest, harvest yields, and what every bit of farm work cost. Farms are where mobile signal goes to die, so we built it for airplane mode first. There's no backend, no account and no API key. Fonts are bundled. Nothing is downloaded at runtime.

Offline-first is the easy part to say. The interesting problems were the ones that come with it, because with no server there is no second copy of anything. Here's what we did about three of them.

Problem: the yields don't add up

A farmer logs one harvest in Kg because that's what the scale says. Another in Tons from the buyer's ticket. A third in Bushels, because that's how that crop is traded locally.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.