Behind every mobile app that just works is a layer nobody sees. I build that layer.

Hi, I'm Imran, a mobile engineer with deep Android roots who has shipped apps with tens of millions of installs. My favorite pull requests are the ones that make every other pull request easier, whether a person or an AI agent writes the next one. They rarely make the release notes, but every sprint after them moves faster.

Under the hood

Android app modernization

Tightly coupled Android codebases become modular ones where every team owns its feature and ships on its own schedule.

I take tightly coupled Android codebases and turn them into modular ones where every team owns its feature and ships on its own schedule, without stopping feature work. Four principles hold it together: separation of concerns, dependency inversion, a single source of truth and unidirectional data flow.

Read: Breaking an Android monolith: the order that works →

:app
depends on ↓
:feature-homeuidomaindata
:feature-searchuidomaindata
:feature-profileuidomaindata
depends on ↓
:core-analytics
:core-network
:core-config
Illustration. In one big module, any class can depend on any other, so a change in one place can break something anywhere.Illustration. Arrows show compile-time dependencies. Features reach each other only through their domain module.

Kotlin Multiplatform

One shared Kotlin core under native UI, even for mature apps that have always shipped separately.

I build Kotlin Multiplatform frameworks that bring code sharing to a product's Android and iOS apps, including mature apps that have always shipped separately. The UI stays native on each platform. The logic underneath is written once.

  • Versioned XCFramework via SPM for iOS
  • SKIE bindings for Swift
  • Git submodule + composite build for Android

Read: Kotlin Multiplatform in two established apps →

Android app
iOS app
Native UI
Native UI
Business rules
Business rules
Networking and models
Networking and models
Caching and storage
Caching and storage
Illustration. Layer names are examples.

Engineering with AI

Context, skills and guardrails that turn an agent's speed into shipped features, not cleanup.

Any coding agent can generate code that compiles. On a large mobile codebase, that code can still cross module boundaries, ignore the patterns the team agreed on and quietly pile up review work. I build the harness around the agent so its speed shows up as shipped features, not cleanup.

Read: An AI harness for mobile engineering →

agent session · add filters to search

› reads AGENTS.md and the golden-path feature

› runs skill: create-feature-slice

› agent-verify.sh :feature-search

✓ compile, unit and architecture tests

✓ screenshots: light, dark, large font

verified in under a minute, ready for human review

Illustration of an agent working inside the harness.

Product delivery

From design through a staged rollout and the dashboards after launch.

Architecture matters because of what it lets a team ship. A good feature starts with the problem, not the screen, and I take it from design through build, a staged rollout and the dashboards after launch, owning Android and working closely with iOS and backend. The ones I enjoy most hide the hard part: screens product can rearrange without a release, flows that keep working with no signal, real-time camera and on-device AI, and AI features that behave the same on every platform.

Read: Offline-first flows →

DesignBuildRoll outMonitor
  • Server-driven UIno app release
  • Offline-first flowsno signal needed
  • Camera and on-device AIreal time
  • AI featurescross-platform

Quality

Crashes ranked by user impact, fixed at the root, guarded by a test.

I treat stability as an engineering problem, not a bug queue. I rank crashes and ANRs by how many people they reach, group them by root cause, and work the hard ones from traces and production data rather than guesses. Then I fix the whole class of bug, leave a lint rule or test behind, and ship in stages with the rates watched at every step.

Read: App stability is an engineering problem →

how I work a stability problem
  1. 1Rank by user impact
  2. 2Group by root cause
  3. 3Reproduce from traces
  4. 4Fix the whole class
  5. 5Add a guard: lint or test
  6. 6Staged rollout, watch the rates
Every fix leaves a check behind.

Security

Data protected at rest and in transit, in an app built to resist tampering.

I protect an app's data wherever it lives. At rest, encryption keys stay in the phone's secure hardware and sensitive data is encrypted before it touches storage. In transit, traffic is encrypted and pinned to the certificates the app trusts, so nobody in the middle can read it. And I make the app itself hard to tamper with: code obfuscated, integrity verified on the server and no secrets shipped inside it.

Read: Hardening an Android app →

  • Data at rest
  • Data in transit
  • Certificate pinning
  • App integrity

Reusable building blocks

Small, stable APIs that several apps build on at once.

When several apps build on your code, every decision multiplies: a heavy dependency ships in all of them, and a breaking change breaks all of them. So I design SDKs, shared UI libraries and design systems as independent components with a small, stable public API, themeable UI, accessibility built in from the start, and upgrades that never break anyone.

Read: Building SDKs other apps can depend on →

Before: one SDK, all or nothing
core · network · UI · camera · analytics
After: take only what you need
corenetworkUIcameraanalytics

Automation

Every pull request checked in minutes, on the CI a team already uses.

I design the CI/CD pipelines that build, test and release the apps, on whatever a team already uses: GitHub Actions, Jenkins or Azure DevOps. Every pull request checks module boundaries, blocks banned dependencies and runs screenshot tests, so a broken rule fails within minutes instead of surfacing in review, and a release becomes a routine event instead of a project.

Read: Architecture guardrails for LLM-generated code →

pull request · checks

✓ build and unit tests

✓ architecture rules

✓ banned dependencies

✓ lint and screenshot tests

✓ package XCFramework

ready to release

People

Hands-on through a large rewrite, with a staged plan that grows engineers.

I can lead a team hands-on through a large rewrite: set the direction, take on the hardest parts myself and bring engineers who are new to the stack up to speed. I grow people with a staged plan, from fundamentals to a feature they own end to end, and it doubles as an onboarding toolkit for the next hire.

Read: Rewrite or modernize in place →

BasicsSmall fixesBoundariesEnd to end

Learnings

Lessons from building mobile apps.

Notes from real projects: what worked, what broke, and what I'd do first if I started again.

AI engineering Why platform engineering matters more when LLMs generate most of the code When code is cheap, the expensive part is everything it gets written inside: boundaries, shared cores, the build and the checks. AI engineering An AI harness for mobile engineering, from first principles Agents that do fine on a backend fall over on mobile, mostly because the feedback loop is slow and blind. How I make it fast enough for the agent to catch its own mistakes. AI engineering Teaching an agent your codebase: context files and skills What goes in a 100-line AGENTS.md, what I leave out, and when a reusable skill beats a longer prompt. AI engineering Architecture guardrails for LLM-generated mobile code LLMs generate code faster than anyone can review it. So I stop leaning on review and make the build say no. Case studyOn-device AI Inside LiteRT: a case study in on-device pose tracking Taking pose tracking from MediaPipe to LiteRT in Google Play services: what the runtime really does, the glue I had to own, and 12.5 MB off the app. App modernization Breaking an Android monolith: the order that works Four principles, applied in an order that keeps features shipping: core modules first, then data, domain and UI for each feature, connected only through domain contracts. Leadership Rewrite or modernize in place: the question that decides the plan Can feature work stop? The answer decides everything: a new app in a new repository, or modernizing in place behind bridges. Either way, buy-in comes first. Feature development Offline-first flows: letting users finish the job without a connection Save first, sync later, and make the sync safe to repeat. How I'd build an offline flow again. Kotlin and architecture Structured concurrency and Kotlin Flow at scale The handful of rules I keep coming back to for coroutines and Flow in a modular Android and KMP codebase. Kotlin Multiplatform Kotlin Multiplatform in two established apps Sharing code between two mature apps is a people problem with a build system attached. What to share, how to ship it and what it costs. Reusable building blocks Building Android SDKs other apps can depend on A small public API, modules people can pick, careful dependencies and deprecations that don't break anyone. Performance How I cut Android cold start time by 31% Startup is the one number every user feels on every launch. How to measure it honestly and where the time hides. Quality App stability is an engineering problem, not a bug queue Rank by users affected, group by root cause, read the ANRs you can't reproduce, and leave a check behind every fix. Security Hardening an Android app: Keystore and beyond What the Keystore protects, what it does not, and the settings that close the holes people leave open.