How Supernova built an iOS keyboard extension with Expo
A guest post on the Expo blog from Anirudh Coontoor, co-founder and CTO of Supernova, with Shubh Porwal and Sai Vasudatta, describes how the Bangalore-based team built Superflow. The app lets users speak in their mother tongue and get polished English in the field they're typing in. Its iOS keyboard extension is about 17,000 lines of Swift and lives in the same Expo project as the rest of the app.
Background
The team of five developers had not written native iOS or Android code before Superflow. They chose React Native and Expo because they already worked in TypeScript and React. Their first app, Supernova, has about 26 million downloads and 3.5 million monthly active users. Superflow was developed for about three months and is at a $1M revenue run rate. A third app, Sonic, is an AI call assistant.
Shared packages
The monorepo uses Bun workspaces and Turborepo. Shared packages cover login (phone number autofill, Truecaller, SNA), payments (UPI, gateways, RevenueCat), notifications, Sentry and custom telemetry, config plugins for native SDKs such as Razorpay and Singular, server-driven onboarding, a UI kit, an experiment system, and over-the-air updates with Expo Updates. On the backend, every request carries an app ID so users, subscriptions, payments and push tokens are scoped per app.
Native parts
On iOS, Superflow uses a custom keyboard; on Android, a floating bubble built as an overlay widget plus an accessibility service. Across both platforms there are roughly 68,000 lines of native code and 36,000 lines of native tests. Because a keyboard extension can't use the microphone, the main app handles recording. A custom Expo module manages recording, a Live Activity, and messaging between keyboard and app through a shared App Group. The extension is added with Evan Bacon's @bacons/apple-targets plugin, and Continuous Native Generation (CNG) generates the native projects. Widgets and support for Apple's on-device LLM were added the same way.
Telemetry and shipping
Agents wrote first drafts of the native code. Before Expo Observe launched, the team built telemetry into native code to track whether the widget appeared, whether text landed, and whether dictation worked. A single telemetry module shares an API across TypeScript, Swift and Kotlin, queues events in an on-device outbox, and forwards them to Axiom, with errors going to Sentry. This data surfaced Android widget failures affecting about 1,700 users in one case and about 2,500 users a week in another, plus an accessibility service that appeared enabled but had stopped running; the app now checks every 15 minutes.
JavaScript fixes ship as over-the-air updates, native changes go through tag-triggered builds on Expo Workflows, and Fingerprint distinguishes the two. Each PR runs 435 Swift and about 1,650 Kotlin tests, and agent-device lets agents drive the simulator to check their work. As the post puts it: "Choosing Expo hasn't cost us any native capability."
Open source
The team has open-sourced expo-phone-number-hint, expo-truecaller, and expo-ruler, which brings Spotify's Ruler to Expo. Ruler helped cut Supernova's Android download from 63 MB to 33 MB, and Shubh upstreamed an option so that from SDK 58 apps can turn off React Native's GIF and WebP decoders in expo-build-properties.
Links
Source: expo.dev