Why We Built an Open-Source Mobile SDK for Frappe
What the field taught us, why we bet on Frappe, and why we gave our mobile framework away. Part 1 of a series on building technology for the field.
It starts at a doorway
Every piece of software we build at Dhwani starts far away from a laptop. It starts with a field worker at a doorway in a village, a phone in one hand, asking a family a set of questions. A household survey. A beneficiary registration. A follow-up visit that a donor report will depend on three months later.
That moment is where good data is born, or lost.
Now picture this. A programme manager realises the survey needs one more question. On the server, it takes two minutes to add. On the phone, nothing changes. Getting that question to the field means a new app version, a Play Store release, and weeks of chasing people to update on patchy networks. This is the story of how we fixed that, and why we gave the fix away.
The same form, built again and again
Surveys, registrations, attendance, monitoring checklists: different programmes, but underneath almost always the same thing. A form, some rules, an approval or two, an offline app and a sync back to a server.
And every time, someone built it again, fixing the same bugs for the third time. Across the sector, teams keep rebuilding this plumbing with money that should go to the programme itself.
Why we bet on Frappe
To build it once and well, we needed the right foundation: Frappe, the open-source framework built in India that also powers ERPNext. It fits the social sector almost perfectly:
- A form is data, not code. The server holds a full description of every form. For organisations whose work runs on forms, that is the right starting point.
- The plumbing is done. Logins, roles, permissions, approvals and APIs exist from day one.
- Teams can change forms themselves, often through configuration rather than code.
- It is open source, so costs stay sensible and nobody is locked in.
We set ourselves one firm rule: build on top of Frappe, never inside it. We don’t modify its core, so anything we build works on any standard Frappe site, including yours.

The form that changed, and the phone that didn’t
On the web, change a form once and everyone sees it. The field needs apps that run on budget Android phones and keep working at one bar of signal, or none for a day. Frappe didn’t offer that out of the box, so like most teams we rebuilt each form by hand inside the app.
It worked, until a form changed. Then the app showed the old version, and the phone and the server no longer agreed on what a record looked like.
Underneath sat the offline problems: syncs cut off halfway, a record edited on the phone and at the office at once, and data about vulnerable people, sometimes Aadhaar numbers, that should never sit unprotected on a phone that could be lost on a bus. These were not edge cases for us. They were everyday reality in the field.
What if the app never needed an update?
So we stopped asking how to update the app faster, and asked a different question: what if it never needed to be updated at all?
Frappe already knows everything about every form. Why copy that knowledge into the app by hand? Let the phone read the form from the server, just as the web does. The server stays the single source of truth, and the app simply follows.
A year of building
Over about a year, our engineering team built two pieces on top of Frappe:
- Frappe Mobile Control, a small app on the Frappe server. It’s the control room for the mobile experience: which forms appear on the phone, which app version is required, how people log in, even maintenance mode, all without touching the app.
- The Frappe Mobile SDK, a toolkit for building the mobile app itself. Point it at a Frappe site and it reads the forms and draws them on the phone, with login, permissions, workflows, offline storage and two-way sync.

Offline sync taught us humility. Interrupted syncs now resume where they stopped. When the phone and the server both change a record, neither change silently disappears. Attachments go first, so a record never points to a missing file. And data stored on the phone is encrypted, because the people behind it deserve nothing less.

The moment it all came together was almost boring to watch, which is exactly the point. Someone adds a field on the server. The phone syncs. The field appears. No new build, no Play Store, no chasing anyone to update. That quiet moment is the product.

In production, in the field
All of this now powers mForm, our mobile data collection platform. It runs in production on real phones, in places with little or no connectivity, and today supports data collection for more than 3 million beneficiaries across 10 states. When ground realities shift, programme teams adjust the form that day instead of waiting for a release, and field workers can work through a dead zone knowing their data will reach the server when the signal returns.
Why we made it open source
If every team keeps rebuilding the same forms, logins and offline sync, the most useful thing we could do was build it once, properly, and make it free. Anyone on Frappe who needs a mobile app for low-connectivity areas hits the same wall we did. It felt wrong to keep the ladder to ourselves. We also stand on Frappe, which exists because others chose to share their work. Giving back felt like part of the deal.
So both pieces are public: the SDK under the MIT licence, so anyone can build on it freely, and the server app under AGPL-3.0, so improvements to it stay open for everyone. We shared the journey at IndiaFOSS 2026, where our VP of Engineering, Deepak Batra, walked through it with a live demo on a real phone, and at Frappe Build 2026, where I presented the SDK to the Frappe community.
The SDK isn’t our only contribution. We have published six apps on the Frappe Cloud Marketplace, covering SMS messaging, cloud file storage, desk themes, short links and QR codes, scheme entitlements and LMS assessments. Two of our engineers, including me, hold Frappe Framework certificates issued by Frappe, and Deepak spoke on Frappe for Social Good at Frappeverse India 2025.

What going open source taught us
We thought making code public would take one click. Making it ready for strangers took much more.
- Write for someone with no context. Could a developer we’ve never met get an app running without messaging us?
- A version number is a promise. Proper releases and change logs: v1.0 in April 2026, and a 2.0 beta series since July 2026.
- Public code raises the bar. Stronger reviews, better tests, a fresh security pass, and better software for our own field teams.
Back to the doorway
It would be easy to tell this as a technology story. For us, it’s a field story. It’s about the field worker who shouldn’t have to think about app versions, the programme manager who should be able to fix a question today, and the family whose data deserves to be both accurate and safe.
Good data starts long before a dashboard. It starts at that doorway in the village.

If you build on Frappe, try it, break it, and help us make it better:
- Frappe Mobile SDK (MIT)
- Frappe Mobile Control (AGPL-3.0)
If you run field programmes and want this without building it yourself, we’d be glad to talk about mForm. Do reach-out to us at partnerships@dhwaniris.com
What’s the biggest headache your field teams face with data collection offline? Tell us in the comments.
#OpenSource #Frappe #Flutter #OfflineFirst #mForm #DataForGood #SocialImpact #DhwaniRIS Bhushan Barbuddhe Deepak Batra
← All insights
