Drawing the sheet…

Soumen Pal

Software Engineer (Mobile) at Zynetic · Delhi NCR · Mobile · Android · iOS · KMP

I build the layers apps stand on.

I'm a mobile engineer who keeps ending up under the UI — the SDK every screen calls, the code other developers build on. At Zynetic that meant creating Beacon SDK, which now carries push and in-app messages for our EV-charging app, and the Bluetooth layer that talks to our chargers. Outside work it means Compose Multiplatform, this page included.

How I build

An app is an experience

Not a UI and some API calls. It's the haptic tap when a page settles, the animation that answers your thumb, the small touches that make other apps feel bland next to it.

Performance before pixels

If it drops frames, it isn't finished, however good it looks. Smoothness is part of the design, not something to fix after it.

Measured, not guessed

I read Perfetto traces over ADB frame by frame, on budget phones as well as flagships, and keep going until the timeline is calm.

Chapter 1 · 2022 — 2023

Hello, world

It started in my first semester at Lovely Professional University, with C++ — I was sure templates were the best idea anyone ever had — and a five-week Coursera course in HTML, CSS and JavaScript.

Then came Java, and DSA every day on GeeksforGeeks. In a 14,000-student intake, breaking into the top 4,000 on the campus leaderboard felt like a big deal. In 2023 I was selected for the Google Developer Student Club at LPU as an Android developer, and built my first app — fighting view binding the whole way.

“A steady rate of speed is more valuable than taking two steps at a time.”

From a 2022 post about the stairs to my room

First apps

Chapter 2 · 2024

Learning in public

2024 is when I started building out loud. Every few weeks, a new post: a tip calculator in Compose, Dagger's scopes explained with two hash codes, QUOTIFY with Retrofit and MVVM — then QUOTIFY again, rebuilt on Room and coroutines.

STOCK UP searched stocks across NYSE, BSE and NSE. ApyLock blocked the apps that steal your time. Our team built Veggito for the college round of Smart India Hackathon 2024. And because I wanted to know what happens on the other side of the API, I learned Ktor, then Spring Boot — my first backend, an employee-management API, took five days. Somewhere in there I started opening Perfetto traces over ADB just to see where the frames went, and it became a habit I never dropped.

“Doing a course is not enough; you also need to practice. That's the key, and I learned it the hard way.”

From a 2023 post

Learning by building

Chapter 3 · Early 2025

First PR, first job

My first pull request to Kiwix — moving the Help screen to Jetpack Compose — was closed. I reworked it, and #4217 was merged in February 2025.

After a few months of grinding DSA, I went back to building: Habito, a local-first habit app with scheduled goals and reminders. I also stopped avoiding the Canvas API and drew my own charts instead of reaching for a library. Then, through LPU's placement drive, I joined Zynetic as a Junior Application Developer intern. A month in, the first lesson from the front line: production builds will break, and R8 will be involved.

First merged PR

Kiwix Android #4217: Moved the Help screen to Jetpack Compose. Merged in February 2025, after the first attempt (#4174) was closed.

Chapter 4 · 2025 — now

Joining Zynetic

I joined Zynetic in June 2025 as a Junior Application Developer intern and was handed the whole mobile ecosystem: the EV-charging app on Android and iOS, from architecture and features to testing, store releases, crash and bug triage in Firebase — everything between dev and production.

In May 2026 the internship became a pre-placement offer and a full-time role as Software Engineer: the same apps, the same ownership, bigger problems.

Shipping taught me what side projects couldn't. A payment gateway's callback can arrive late, so sometimes the right answer is a calm confirmation screen. And an onboarding animation can go from 3 MB to 1.1 MB, draw on its first frame and hold 120 Hz on a budget phone — if you take the designer's Lottie apart and rebuild it in Compose, matched to their frames pixel by pixel.

“Motion design isn't only the designer's job. The developer decides whether an animation feels physical in your hand.”

From a 2026 post on the onboarding animation

Two phases, one ecosystem

Junior Application Developer · Internship

Jun 2025 — May 2026

Software Engineer · Full-time · pre-placement offer

May 2026 — now

Apps I've shipped

Zynetic – EV Charging Network

Zynetic · Intern → Software Engineer

EV charging for drivers: find a charger, scan to charge, follow the session live, top up a wallet and manage RFID cards.

Android · iOS · 2025–now

Google Play · App Store

Operations App

Zynetic · Intern → Software Engineer

Field app for Zynetic's engineers: assigned tasks, site assessments with dynamic forms, and site visits.

Android · iOS · 2025–now

Google Play

Z1 by Zynetic

Zynetic · Intern → Software Engineer

Companion app for Zynetic chargers, built on the BLE stack in Fig. 2: pair a charger, then set it up from your phone.

Android · iOS · 2025–now · In development

Performance before pixels

The onboarding animation above, the way I look at it: frame by frame against the 120 Hz budget. The designer's file made the first frame wait while it parsed; drawn in Compose, the scene is there on its first frame and every frame stays under budget.

Chapter 5 · 2026

Under the UI

One morning our ANR rate jumped from 0.1% to 40% — on flagship phones. The cause was a third-party push SDK whose own threads were blocking each other. We shipped a workaround within hours, but the real fix depended on someone else's release schedule.

So we built our own: Beacon, a Kotlin Multiplatform SDK where we know where every thread runs. Moving our apps over was mostly a find-and-replace. The Bluetooth stack that pairs a phone with a charger comes from the same instinct: own the layer that can freeze your app.

“When a dependency can freeze your app and only someone else can fix it properly, it might be time to own that piece yourself.”

From a 2026 post on why we built Beacon

Where my work sits

Push, live notifications and in-app messages for Android and iOS from one Kotlin Multiplatform library. It sits between the platform and the apps above it.

SDKs & libraries

Beacon SDK

Part 01 · built at Zynetic

A Kotlin Multiplatform client for Beacon, our self-hosted messaging platform: push, live notifications and in-app messages on Android and iOS. Its API mirrors OneSignal SDK 5, so moving an app over is a search-and-replace.

Targets Android · iOS · Rev 1.2.2 · Since 2026

implementation("org.zynetic.beacon:beacon-core:1.2.2")

beacon-compose

Compose Multiplatform UI for Beacon: renders in-app messages and the push-permission prompt. Android · iOS · Rev 1.2.2

Beacon Web SDK

Dependency-free JavaScript and a service worker that bring Beacon push to the browser. Web

Talking to a charger over Bluetooth

The part I'm proudest of, designed and built from scratch during my internship: a Kotlin Multiplatform BLE stack that finds EV chargers, pairs with them and changes their settings from a phone. The logic is written once; the radios stay native — Android's GATT stack and iOS CoreBluetooth behind one expect/actual transport.

The stack

  1. L5 · UI: Compose screens & sheets. Chooses icons, words and units.
  2. L4 · State: ViewModels. One per screen and per settings sheet.
  3. L3 · Domain: Repositories. Exceptions become Result values here.
  4. L2 · Protocol: Protocol client. One function per command. Owns the session; frames in, typed replies out.
  5. L1 · Transport: Android · BluetoothGatt / iOS · CoreBluetooth. expect/actual, one link for the whole app.

One connection, start to finish

  1. Scan: nearby chargers
  2. Connect: 20 s limit
  3. Prepare: discover · notify
  4. Handshake: open the session
  5. Verify: charger password
  6. Ready: commands allowed

At Ready, the command loop: One command at a time: register the reply listener, write, wait for the reply (10 s), return a typed result.

From any state, the way out: Timeout, rejected write or a lost link: disconnect and reset — always, in a finally block — then rescan, or reconnect once automatically.

Installer: set up a charger

  1. Find the charger by serial number or QR code.
  2. Connect and verify the charger's password.
  3. Keep the session alive across every settings screen.
  4. Each sheet reads, edits and saves with a single write.
  5. After a save, reload only the value that changed.

Customer: pair your charger

  1. Scan for nearby chargers, or type a serial number.
  2. Wait a short settle window, then offer one charger or a list.
  3. Pair and verify — or reconnect a known charger automatically.
  4. Remember the charger for next time.
  5. Hand the live connection to the home screen.

Notes on the design

One command in flight, on purpose

The charger's protocol has no request IDs, and an error reply doesn't say which command failed. A mutex and a single reply slot are the only correct way to match replies; speed comes from keeping the link open and negotiating bigger packets instead.

Listen before you write

The reply listener is registered before each write and cleared with compare-and-set, which fixed fast replies arriving before anyone was listening.

iOS off the main queue

CoreBluetooth callbacks run on their own serial queue with atomic state. The main queue had been acting as a hidden lock; moving off it removed a data race, a deadlock and UI stutter during long reads.

Old callbacks can't kill a new connection

Every callback checks it belongs to the current session, and the live charger is derived from "verified and connected", so a dropped link never leaves a stale session behind.

A protocol firewall

Protocol types stay behind a mapping layer, so screens never see raw frames and a value the app doesn't recognise is never written back to the charger.

Chapter 6 · 2025 — 2026

Writing it down

I started writing on Medium in 2025 — DataStore on iOS, US_ASCII on Kotlin/Native, cinterop with Stripe — and kept posting the smaller lessons: api versus implementation, ViewModels versus callbacks, and removing SwiftKlib by writing my own .def files.

When an SDK I depend on falls behind, I say so constructively and send what I can upstream: a write-up and video on making Razorpay work in single-Activity Compose apps, and Swift Package Manager support plus an Xcode 27 fix for Network International's iOS SDK.

Writing on Medium

All posts on Medium

Open source

Chapter 7 · Today

Busy learning and growing

Lately I think in modules. I restructured our EV app into eight layers the build enforces, where no feature can depend on another; BookAMovie, my Spring Boot side project, is a modular monolith built the same way. In between: experiments like a modifier-based Liquid Glass for Compose Multiplatform on iOS.

I've proposed a talk on cross-platform hardware in KMP: BLE, workers and native interop. If you're building something that needs the layers underneath to hold, I'd like to hear about it.

“Sometimes the technical debt you created out of convenience becomes the best opportunity to level up.”

From a 2026 post

Building now

How I structure things

Modules in the app, a modular monolith on the server — for the same reason: a team should be able to work on one part without stepping on the others, and the build should refuse a wrong dependency before a reviewer has to.

The app · eight enforced layers

  1. L7 · Hosts: androidApp, iosApp. Platform entry points, flavours, signing
  2. L6 · Shell: composeApp. Navigation, every nav graph, DI wiring
  3. L5 · Features: home, scan to charge, wallet, bookings, rfid, profile, + 8 more. Independent: no feature depends on another
  4. L4 · UI: shared:ui, shared:maps. The UI kit
  5. L3 · Design: shared:designSystem. Theme, type, colours, resources
  6. L2 · Logic: shared:logic. Only what two features must share
  7. L1 · Core: platform, database, networking, auth, messaging, widget. No Compose; one owner per library
  8. L0 · Common: core:common. Config, logging, validation

The server · BookAMovie, a modular monolith

app: The one Spring Boot process: Flyway, Postgres, Actuator

Need a layer built? Let's draw it up.

Appendix A

Problem solving

An accepted answer isn't the end of a problem for me. For every one, I ask three questions — and the answers are what stay with me long after the code.

  1. Why is it like this?
  2. Where can I use it again?
  3. How can it help me understand further, and deeper?

LeetCode · soumenpal3241

GeeksforGeeks · soumenpal2341