Re:Swift on Android: Full Native App Development Now Possible
by nicoburns on Saturday January 03, 2026 @07:37PM
(#46483475)
Interestinggg. How does binding Java/Kotlin code into Swift work?
(we're trying to do something very similar with Rust instead of Swift)
Re:Swift on Android: Full Native App Development Now Possible
by mihael on Saturday January 03, 2026 @09:20PM
(#46484142)
It works primarily through the jni-kit library, which handles JNI bindings between Swift and Java/Kotlin. You can check out the full docs here:
https://docs.swifdroid.com/jni-kit/
On top of that, the IDE also auto-generates required Java/Kotlin classes on the fly, for example, for Activities.
Re:Swift on Android: Full Native App Development Now Possible
by satvikpendem on Saturday January 03, 2026 @11:20PM
(#46484868)
For Dioxus?
I was looking into something similar, on Flutter it uses FFIgen and JNIgen, might be something to look into on the Rust side. From what I've seen, it's quite difficult from pure Kotlin to Rust, as I was looking for the equivalent of the flutter_rust_bridge package when experimenting with Compose Multiplatform, as I have some crates I need to use, but I ultimately gave up because it was not straightforward at all.
Re:Swift on Android: Full Native App Development Now Possible
by lukeh on Sunday January 04, 2026 @04:14AM
(#46486344)
Another approach is swift-java, which uses Swift macros and also supports Panama.
Re:Swift on Android: Full Native App Development Now Possible
by pjmlp on Sunday January 04, 2026 @04:01PM
(#46492159)
Panama will probably never make it to Android, given Google's behaviour on updating Java support.
Re:Swift on Android: Full Native App Development Now Possible
by liuliu on Saturday January 03, 2026 @07:25PM
(#46483386)
One thing useful for Swift is it's native interop with C / C++ libraries. These are often presented as SwiftPM or Bazel dependencies. How do you handle SwiftPM dependencies?
Re:Swift on Android: Full Native App Development Now Possible
by fingerlocks on Saturday January 03, 2026 @08:17PM
(#46483746)
Probably using the compiler flags directly?
I’ve never heard of a Bazel dependency in Swift, and precompiled c++ was a huge pain in SwiftPM a year ago. I work on ObjC++/Swift/Metal as my day job and just use a Makefile because it’s easier
Re:Swift on Android: Full Native App Development Now Possible
by canadiantim on Saturday January 03, 2026 @07:17PM
(#46483315)
Congrats, I've definitely been looking to just centralize with Swift. Great work!
Re:Swift on Android: Full Native App Development Now Possible
by w10-1 on Sunday January 04, 2026 @12:07AM
(#46485116)
The threshold question is crossover: what Android development experience is required for Swift developers, and what Swift experience is required for Android/Kotlin developers? By saying "without touching XML, Java, or Kotlin", are you implying that Swift developers without Android experience could be successful?
Then the questions is: roughly what percentage of Kotlin or Flutter apps could be writable in Swift? Today and next year?
Under the hood, projects are powered by SwifDroid, a framework I built that handles the Android application lifecycle, activities, fragments, and UI widgets (Android, AndroidX, Material, Flexbox) while automatically managing Gradle dependencies. The IDE compiles Swift, generates a full Android project ready for Android Studio.
This is the first public release. Both tooling and framework are open-source and MIT-licensed.