What Should Mobile Apps Share? -Choosing iOS a...

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →

What Should Mobile Apps Share? -Choosing iOS and Android technologies in the AI era-

As the widespread adoption of AI transforms software development costs and styles, the approach to cross-platform development for mobile apps is also evolving. Full native development, Kotlin Multiplatform, Flutter, React Native, and Rust—which is gaining attention as a new option. We’ll introduce the characteristics of each approach and examples of technology selection by companies, examining them from the perspectives of development efficiency, specification consistency, quality, performance, and keeping pace with native technologies. Furthermore, by examining the implementation and validation of KMP and Rust using Avvy’s live streaming service as a case study, we will explore the differences in development efficiency enabled by AI and their application to mobile apps. As the cost of writing code evolves, we will consider what we should standardize and for what purpose, and reflect on technology selection for the future of mobile development.

Translated with DeepL.com (free version)

Ryosuke Shimizu (RIO)

December 04, 2026

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

34 slides
  1. EntameTech #3 / Dec 2, 2026 What Should Mobile Apps

    Share? Choosing iOS and Android technologies in the AI era 01
  2. Chapter 1 How AI Is Changing Mobile Technology Choices Four

    companies, four reasons to rethink the stack 02
  3. Shopify Why Shopify Returned to Swift and Kotlin Announced the

    return to native in September AI makes it easier to implement features twice AI uses one platform's code as a reference for the other. Use new OS features directly and spend less effort keeping up with framework updates. November: Reported on rebuilding the merchant app Shopify Engineering · Native strategy Shopify Engineering · Rebuild report 04
  4. Shopify · Reflex Reflex: Separate OS implementations, shared tests Shared

    test code (TypeScript) Bun test runner + Introspection Kit test SDK iOS PASS Android PASS Run Action → Read State → compare with expected values Standard input / output Newline-delimited JSON ↓ Action+JSON ↑ State after the action iOS Process on macOS ↕ Expose the ViewModel as a node ↕ Core(Swift package) ViewModel (Reducer), services, GraphQL Android Fixture CLI(Swift) Introspection Kit ↓ Action+JSON ↑ State after the action ← Inject values for external dependencies GraphQL responses, Keychain, feature flags, etc. HTTP blocked Process on the JVM CLI(Kotlin) ↕ → Introspection Kit Expose the ViewModel as a node ↕ Core (JVM module) ViewModel (Reducer), services, GraphQL The shared test checks expectations. The core runs the actual logic. Both OSes must pass before merging. Over 1,700 behavior tests run in about 4 min in CI on both. AI agents can use the same CLI. Shopify Engineering · Reflex 05
  5. Shopify · Reflex One Test Sets Stock to 40 on

    Both OSes Test code excerpt from the official article 1. Fixture fixes stock at 2 and stubs the network response await using session = createBehaviorSession({ fixtures: [fixture("Inventory.stockCount2")], }); // …Open the item and reduce its quantity to 0 (omitted) 2. SetQuantity sets the quantity to 40 User input, independent of the server response 3. In the Swift or Kotlin ViewModel, Reducer updates State await session.do({ action: "SetQuantity", payload: {quantity: 40}, expectation: ({state}) => expect(state.stockCount).toBe(40), }); Normal use View → Action → ViewModel → State Shopify Engineering · Reflex 4. Read updated State as JSON 5. stockCount must equal 40 Test Shared test → CLI → Action → same ViewModel → State Official inventory test · Abridged excerpt 06
  6. IVRy IVRy Went Native to Prioritize Call Quality Flutter and

    native SDK integration grew complex In-house Swift and Kotlin SDKs handled nearly all call processing From Flutter to SwiftUI and Compose About 50 calls and callbacks across the Flutter boundary Incoming calls crossed the OS, native code, and Flutter On Android, incoming calls while the app was closed required launching and managing a separate Flutter engine October 2026: Rolled out to all users on both OSes The native rewrite eliminated cross-Flutter state and event handling IVRy Tech Blog · Call app migration 07
  7. asken asken Shares Its Workflow with KMP and AI Kotlin

    Multiplatform (KMP) shares logic across both OSes OpenAPI spec → AI writes code and tests → Human PR review → Distribute → Integrate on both OSes → Android and iOS production (66 endpoints) AI generates code and tests from the API spec. People review, then automation distributes the shared library. asken engineering · DroidKaigi 2026 poster Original workflow diagram 08
  8. Underdog Underdog Shares UI Across Both OSes From Swift and

    Kotlin to React Native Migration report by Underdog Engineering One UI implementation reduces feature gaps between platforms. Fast Refresh Check AI-generated UI changes in the simulator and iterate quickly. Underdog Engineering · Migration report React Native · Fast Refresh 09
  9. Chapter 1 recap AI Is Changing the Value of Code

    Sharing 1 AI is changing the cost of implementing features twice Writing separate code for each OS may cost less than before 2 Sharing code still has value Consistent behavior / fewer places to edit / faster feedback 3 Teams can also share more than code Specs, tests, verification methods, and development workflows AI gives us a reason to rethink what to share 10
  10. Chapter 2 What Should We Share in the AI Era?

    From implementation to verification and integration 11
  11. 5 approaches × 8 criteria Five Approaches to Building Mobile

    Apps Criteria Kotlin Multiplatform Compose Multiplatform React Native Flutter ◇ Per OS ◇ Per OS • Shareable • Shareable • Shareable Business logic sharing ◇ Swift/Kotlin • Kotlin • Kotlin • JS/TS • Dart OS-specific features Direct SDK use Direct in UI / per OS Per-OS code Native Module Plugins OpenAPI target Swift/Kotlin Shared Kotlin Shared Kotlin JS/TS Dart UI feedback Preview/Live Edit² Preview/Live Edit² Hot Reload¹ Fast Refresh Hot Reload Logic tests Per-OS tests / shared tests possible Shared tests Shared tests JS tests Dart tests One per OS Shared + per OS Per OS after release Shared + per OS Mostly one + native Mostly one + native Build directly as a native app on each OS Android: Gradle dependency (e.g. AAR) iOS:Framework Direct integration / library distribution Build shared UI and logic per OS and ship with the app Bundle JS with Metro and ship with native code Compile Dart and ship with the engine UI sharing PR review scope Build and app integration Fully native Native UI + KMP First two rows: ◇ Per-OS implementation · • Shareable | JS/TS = JavaScript/TypeScript | ¹ Desktop JVM · ² Android only All approaches require testing on both OSes, signing, and store submission. Effort can vary by approach. JetBrains · Kotlin Multiplatform JetBrains · Compose Multiplatform 12
  12. Implementation and architecture Sharing UI and Business Logic Criteria Kotlin

    Multiplatform Compose Multiplatform React Native Flutter ◇ Per OS ◇ Per OS • Shareable • Shareable • Shareable Business logic sharing ◇ Swift/Kotlin • Kotlin • Kotlin • JS/TS • Dart OS-specific features Direct SDK use Direct in UI / per OS Per-OS code Native Module Plugins OpenAPI target Swift/Kotlin Shared Kotlin Shared Kotlin JS/TS Dart UI feedback Preview/Live Edit² Preview/Live Edit² Hot Reload¹ Fast Refresh Hot Reload Logic tests Per-OS tests / shared tests possible Shared tests Shared tests JS tests Dart tests One per OS Shared + per OS Per OS after release Shared + per OS Mostly one + native Mostly one + native Build directly as a native app on each OS Android: Gradle dependency (e.g. AAR) iOS:Framework Direct integration / library distribution Build shared UI and logic per OS and ship with the app Bundle JS with Metro and ship with native code Compile Dart and ship with the engine UI sharing PR review scope Build and app integration Fully native Native UI + KMP All five can generate from OpenAPI. The columns differ in how much generated code both OSes can share. All approaches require testing on both OSes, signing, and store submission. Effort can vary by approach. OpenAPI Generator JetBrains · Platform-specific implementations 13
  13. Verification and developer productivity The Development Feedback Loop Criteria Kotlin

    Multiplatform Compose Multiplatform React Native Flutter ◇ Per OS ◇ Per OS • Shareable • Shareable • Shareable Business logic sharing ◇ Swift/Kotlin • Kotlin • Kotlin • JS/TS • Dart OS-specific features Direct SDK use Direct in UI / per OS Per-OS code Native Module Plugins OpenAPI target Swift/Kotlin Shared Kotlin Shared Kotlin JS/TS Dart UI feedback Preview/Live Edit² Preview/Live Edit² Hot Reload¹ Fast Refresh Hot Reload Logic tests Per-OS tests / shared tests possible Shared tests Shared tests JS tests Dart tests One per OS Shared + per OS Per OS after release Shared + per OS Mostly one + native Mostly one + native Build directly as a native app on each OS Android: Gradle dependency (e.g. AAR) iOS:Framework Direct integration / library distribution Build shared UI and logic per OS and ship with the app Bundle JS with Metro and ship with native code Compile Dart and ship with the engine UI sharing PR review scope Build and app integration Fully native Native UI + KMP Preview renders a specific state. Hot Reload and similar tools update a running app. ¹ Compose: desktop JVM · ² Android only All approaches require testing on both OSes, signing, and store submission. Effort can vary by approach. JetBrains · Compose Hot Reload React Native · Fast Refresh Flutter · Hot reload Android · Live Edit Shopify · Reflex 14
  14. Build and integration How Each Approach Builds and Integrates Criteria

    Kotlin Multiplatform Compose Multiplatform React Native Flutter ◇ Per OS ◇ Per OS • Shareable • Shareable • Shareable Business logic sharing ◇ Swift/Kotlin • Kotlin • Kotlin • JS/TS • Dart OS-specific features Direct SDK use Direct in UI / per OS Per-OS code Native Module Plugins OpenAPI target Swift/Kotlin Shared Kotlin Shared Kotlin JS/TS Dart UI feedback Preview/Live Edit² Preview/Live Edit² Hot Reload¹ Fast Refresh Hot Reload Logic tests Per-OS tests / shared tests possible Shared tests Shared tests JS tests Dart tests One per OS Shared + per OS Per OS after release Shared + per OS Mostly one + native Mostly one + native Build directly as a native app on each OS Android: Gradle dependency (e.g. AAR) iOS:Framework Direct integration / library distribution Build shared UI and logic per OS and ship with the app Bundle JS with Metro and ship with native code Compile Dart and ship with the engine UI sharing PR review scope Build and app integration Fully native Native UI + KMP KMP can integrate directly into the Xcode build or ship as a dependency such as an XCFramework All approaches require testing on both OSes, signing, and store submission. Effort can vary by approach. JetBrains · iOS integration React Native · Release build Flutter · Architecture 15
  15. What the comparison shows Separate Code, Shared Verification Criteria UI

    sharing Business logic sharing OS-specific features OpenAPI target UI feedback Logic tests PR review scope Build and app integration Kotlin Multiplatform Compose Multiplatform React Native Flutter ◇ Per OS ◇ Per OS • Shareable • Shareable • Shareable ◇ Swift/Kotlin • Kotlin • Kotlin • JS/TS • Dart Fully native Native UI + KMP Teams can development speed Direct in UI / per OS Direct SDK use improve Per-OS code Native Module in more ways than sharing Swift/Kotlin Shared Kotlin Shared Kotlin code JS/TS Preview/Live Hot Reload¹ They canEdit² share Preview/Live tests andEdit² verification proceduresFast too.Refresh Per-OS tests / AI agents can work on the OS-specific implementations in Shared tests Shared tests JSparallel. tests shared tests possible Plugins Dart Hot Reload Dart tests One per OS Shared + per OS Per OS after release Shared + per OS Mostly one + native Mostly one + native Build directly as a native app on each OS Android: Gradle dependency (e.g. AAR) iOS:Framework Direct integration / library distribution Build shared UI and logic per OS and ship with the app Bundle JS with Metro and ship with native code Compile Dart and ship with the engine 5 approaches × 8 criteria | First two rows: ◇ Per OS · • Shareable | ¹ Desktop JVM · ² Android only All approaches require testing on both OSes, signing, and store submission. Effort can vary by approach. 16
  16. Avvy today Avvy's Mobile Architecture Android Jetpack Compose UI iOS

    SwiftUI UI ↓ Both apps use modules for each responsibility ↓ Avatars Shared business logic OS-specific features Unity KMP Native SDK Avatar rendering and animation Domain, use cases, API client Camera, mic, streaming, billing, etc. Streaming, viewing, gifts, events, auth, etc. ↓ API・Firestore ↓ ↓ Through SDKs ↓ Backend External services API and real-time data Streaming infrastructure, store billing, etc. Generate the KMP API client from OpenAPI Conceptual view of responsibilities. Calls between modules are simplified. 17
  17. Avvy's development harness A Shared AI Workflow Across Repositories Shared

    development harness avvydevelopment Fast Specs and design Break down tasks Parallel work Quality gates Track evidence Independent review Standard Deep Choose the workflow and depth of verification based on the change and its risk ↑ Shared workflow | ↓ Implementation and verification tools for each stack Server KMP Android iOS Unity API, database, API spec Shared logic and API client generation Jetpack Compose SwiftUI Avatar rendering and app integration API tests and type checks Unit tests and callers on both OSes Render previews and drive devices Snapshots and device interaction EditMode / PlayMode and physical devices Example: API change Server: Finalize and verify KMP: Update the client → the API spec and shared logic → Android and iOS: Implement in parallel → Verify integration on each OS Avvy shares both business logic and its AI development workflow. 18
  18. A typical UI feature workflow AI Implements, Verifies, and Opens

    the PR STEP 01 STEP 02 STEP 03 Read specs and split tasks Work across repos Visually verify the UI Issue・ Figma MCP ・Dig・ Decompose avvy-development and AI agents Figma MCP × Compose・SwiftUI Preview × Android CLI・Xcode Output Implementation plan and acceptance criteria Output Changes to Android, iOS, KMP, server, etc. Output Compare rendered UI with the design Review or CI finding → Fix Mismatch → Fix implementation STEP 06 STEP 05 Independent AI review and CI Open PR with evidence Separate AI reviewer and GitHub Actions gh pr edit --attach Output Independent quality check GitHub CLI Output Diff, checks, and video STEP 04 Verified Check app behavior Mobile MCP and platform tools Output Screenshots, interaction videos, and test results Example workflow. Use the steps relevant to the change, such as visual checks for UI changes. The speaker is trying independent AI review in their own workflow. --attach is a GitHub CLI feature the speaker uses via a personal helper skill at Avvy 19
  19. Chapter 2 recap Teams Can Share the Development Workflow as

    Well as Code Code Specs Design Test Workflow Keep consistent across OSes Business rules Behavior expected for each action Reference screens and component definitions Common inputs and expected results Verify, rerun, and review changes Productivity depends on more than code sharing. Sharing specs, verification, and workflows gives us more freedom to choose technologies that fit the product. 20
  20. Chapter 3 Options for Shared Logic — KMP and Rust

    Comparing live-battle scoring 22
  21. Chapter 3 Discord Plans Shared Logic in Rust iOS Android

    Desktop Native views Native views GPUI ↓ ↓ ↓ Shared Rust app logic Exact scope of sharing is undisclosed Existing Rust assets: infrastructure, audio, and parts of the client (since 2018) Discord's November 2026 announcement Move away from Electron on desktop and React Native on mobile Keep native UI on mobile and share app logic in Rust Use GPUI, a Rust UI framework, on desktop Goal: Share logic across mobile and desktop and integrate with Rust assets and desktop UI Status: Internal desktop build and mobile demo. Migration is still in progress Discord's choice links mobile and desktop through shared logic. It resembles Chapter 2's native UI + shared logic pattern (speaker's interpretation). See Whisker on P24 (Japanese appendix P34). Discord CTO post (Nov 4, 2026) Discord CTO · Native views Discord official video InfoQ (Nov 19, 2026) 23
  22. Chapter 3 Whisker: Build Native UI in Rust #[component] fn

    counter() -> Element { let count = signal(0) ; // State render! { View(style: css!( … )) { Text(value: computed(move || format!("Count: {}", count.get())), … ) View(style: css!( … ), on_tap: move |_| count.set(count.get() + 1) , ) { // Button: View with Text and on_tap Text(value: "+1", … ) } } } } Counter example from the official README (excerpt with speaker annotations) Official demo (separate example): code changes appear in the running app via hot reload Rust defines state and layout. Each OS renders native views (UIKit on iOS, View on Android). Pre-alpha: APIs may change Whisker README (counter example) Whisker architecture 24
  23. Chapter 3 Why Consider Rust Now? What Rust offers What

    AI changes Performance and resource efficiency Easier to implement and verify in unfamiliar languages Memory management without GC for frequent work like rendering, image and audio processing AI writes the code; tests and the compiler check it Safety through ownership and borrowing Look beyond the skills the team already has Catch memory misuse and data races at compile time Build alternatives and compare them Reuse of Rust assets AI makes Rust easier to consider. The technical merits drive the choice. Libraries, native engines, and desktop clients Kotlin also offers static typing and null safety; KMP supports desktop and web. The benefits above describe where Rust can be especially useful. The Rust Book · Ownership Kotlin Multiplatform 25
  24. Chapter 3 We Used AI to Build the Same App

    in KMP and Rust KMP Rust Compose SwiftUI Compose SwiftUI Android iOS Android iOS ↓ ↓ ↓ ↓ Via framework UniFFI Kotlin bindings UniFFI Swift bindings ↓ ↓ Direct call from Kotlin ↓ Generated by Kotlin/Native ↓ KMP Core(Kotlin) Rust Core Score, multiplier, and winner Score, multiplier, and winner Both use the same spec, inputs, expectations, and test scenarios Same UI; only the shared logic changed. Code, builds, and distribution: Japanese appendix P37 and P38. 26
  25. Chapter 3 / The app we built KMP and Rust

    Versions, Same UI Gift Adds points for the recipient and moves the meter Last 10 Seconds The same gift is worth 2× as much Finish Final scores determine the winner KMP version Rust version Experimental demo on iPhone: recordings of the same actions Standalone experiment, separate from Avvy's production scoring and billing 27
  26. Chapter 3 AI Built Both Versions. Neither Had a Clear

    Performance Edge. Criterion Result Example figures AI implementation All 6 implementations passed independent tests Headless Both were quick to verify Performance No clear advantage CPU and memory No improvement; higher in some conditions — Desktop Both implementations reused their logic on Mac — KMP 3/3・Rust 3/3 Generation: 7 min 38 s / 8 min 55 s 1.87 s / 1.52 s Core total: 0.328 / 0.342 s KMP / Rust. Results apply to this logic, device, and setup. Generation: median of 3 runs, excluding compilation and grading (Japanese appendix P62). Core total: Release, 30,000 gifts (P52). CPU/memory: P57. Desktop: P59. 28
  27. Chapter 3 Evaluate the Whole Architecture Send one at a

    time Before Kotlin →→→→→→→→ Rust Core 30,019 calls Send available events in batches of up to 32 After Kotlin ⟹ 1,404 calls ~83s End state received ~30s End state received Rust Core Even with a fast core, conversions and frequent calls across languages can bottleneck performance Separate control: Unity-embedded Debug build, Xperia, 30,000 events in 30 s, median of 3 runs per condition. Final scores matched in all runs. Call count may be one factor among several (list API, one at a time: ~95 s). Under a separate high load, the host's input queue filled and dropped events (Japanese appendix P56). Check performance and correctness. Timing breakdown: P53–P55. 29
  28. Chapter 3 / Speaker's view Where Could Rust Help Avvy?

    When Rust could be more valuable (general hypotheses) Decision today KMP makes sense today This comparison alone gives little reason for a full migration A native avatarrendering engine written in Rust Rust for real-time face tracking, image or audio processing A desktop UI built in Rust Business logic shared across mobile and desktop As the surrounding stack changes, so may the best choice for shared logic. General scenarios, separate from Avvy's plans 30
  29. Chapter 3 / Speaker's thought experiment · Hypothetical How Could

    More Rust Change the Stack? Hypothetical Desktop Today Compose SwiftUI Rust UI as an option Desktop Compose SwiftUI Separate from shared core ↓ KMP shared logic Existing avatar rendering ⇢ ↓ Rust real-time processing Rust Core Business logic (option) Rendering, images, audio (options) Platform Adapters / Native SDK Keep OS features as they are Possible gains: Rust components can connect directly with fewer language bridges, and share testing, builds, and dependency management. Mobile still uses FFI. The backend decides billing, scores, and winners. KMP and Rust can coexist. 31
  30. Chapter 3 recap The Best Choice Today Can Change 01

    02 03 This experiment gave us no compelling reason to switch Assets and platforms change what shared logic needs AI makes alternatives easier to build and compare AI built both versions. Neither had a clear performance edge. Rendering, real-time processing, and desktop The ability to revisit a language choice matters more than the initial pick Speaker's view only. Earlier comparison: Japanese appendix P46 and P60. 32
  31. Recap What the Three Chapters Show Chapter 1 Chapter 2

    AI changes the cost and value of sharing code Specs, tests, verification, and workflows can all be shared Separate OS implementations are more practical now Different implementations can use the same checks Chapter 3 Separate implementation from verification so you can revisit your choice Compare different technologies against the same criteria 33
  32. What Should Mobile Apps Share? Choose the UI that fits

    the experience. Share business logic where needed. Share specs, verification, and workflows across technologies. In the AI era, choosing a technology matters. So does designing for the freedom to choose again. 34

More Decks by Ryosuke Shimizu (RIO)

Other Decks in Programming