

























In my previous article, I shared how I built a cross-platform AI chat app using Kotlin Multiplatform (KMP) and Cursor:
👉 Building a Cross-Platform AI Chat App with Cursor + Kotlin Multiplatform
The benefits were obvious:
It looked like the perfect setup.
But when I started building OnlyBaby with AI tools, I made a surprising decision:
I didn’t use KMP for the whole app.
This wasn’t ideological. It was practical.
Here’s what happened — and what it taught me about app development in the AI era.

KMP offers something every developer dreams of:
When building a cross-platform AI chat app, it worked beautifully.
But real-world product requirements are rarely “beautifully symmetric.”
When building OnlyBaby, I ran into practical friction — not theoretical limitations, but development pain in real scenarios.
Let’s break them down.
When you choose KMP, you also choose:
That means:
In theory, this is fine.
In practice? It feels restrictive.
Especially when:
This was a big one.
I didn’t want a “lowest common denominator” UI.
I wanted:
And on Android:
KMP shines at shared logic.
But UI is where identity lives.
And I didn’t want to compromise that.
OnlyBaby needed deeper integration with Apple’s ecosystem:
These are not “nice-to-haves.”
They’re product-level features.
The deeper I went into iOS system integration, the more friction appeared.
This is where things broke down.
To share persistence data between:
I needed to use App Groups.
That’s normal in native iOS development.
But:
And here’s the painful part:
Even with Cursor, Codex, and Antigravity… it failed.
The AI agents did what they’re good at:
But instead of solving it:
At that moment, I realized something important.
AI agents have changed development completely.
With tools like, Cursor, Codex, Antigravity
I can:
So why am I still sacrificing user experience for cross-platform purity?
Before AI:
Now?
AI has:
That changes everything.
If AI can help me build:
Very quickly…
Then the main historical argument for full cross-platform weakens.
No.
I refined how I use it.
Instead of sharing the whole app, I share:
KMP now handles:
But not:
In other words:
KMP is responsible for logic — not experience.

Here’s what I believe will become common:
This hybrid model gives:
KMP isn’t the problem.
The assumption was.
In the AI era:
AI agents boost productivity.
So instead of forcing cross-platform everywhere, we can:
And that balance feels right.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。