FAQ
Common questions about Compose HotSwan. Can't find what you're looking for? Ask on Discord.
Not exactly yes. Maybe... a half. The Android. If your KMP project has an Android target, you can add the HotSwan Gradle plugin to the Android module by following the Install Guide. Hot reload will work on real Android devices just like a standard Android project.
iOS is not supported. The iOS runtime architecture is fundamentally different from Android's, and there are currently no plans to support it.
For desktop targets, JetBrains already provides a dedicated hot reload solution. HotSwan focuses on Android.
Flutter and React Native control much more of their runtime, which makes hot reload easier to implement. Native Android apps run on the ART runtime, which performs aggressive optimizations and treats class structures as mostly immutable after loading. Because of that, some changes cannot be safely applied at runtime. HotSwan focuses on enabling the most common iteration workflows within those constraints. See Limitations for the full details.
Because it handles a very tricky problem gracefully. Like a swan gliding on water — under the surface there is a lot of work happening, but from the developer's perspective it feels smooth. And of course, it is also a small nod to Hot Reload. Also, "HotDuck" didn't sound as good.