#kotlinmultiplatform — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #kotlinmultiplatform, aggregated by home.social.
-
Lokksmith 2.0 is out! 🎉
Thanks to our contributors, persisted state (tokens, etc.) is now encrypted at rest. Tokens have always lived in app-protected storage — this closes a small remaining gap when cloud backups are enabled or on rooted devices.https://github.com/svenjacobs/lokksmith/releases/tag/v2.0.0
#Lokksmith #OIDC #OpenID #OAuth #Android #iOS #Kotlin #KotlinMultiplatform #KMP
-
I like Metro DI a lot, it's really well designed.
But I'm not using the experimental coroutines support because I don't really like how it's currently implemented.
Singleton suspend providers use yet another "SuspendLazy" custom implementation which looks overengineered.
I prefer injecting Kotlin's Deferred<T> when I need deferred initialization.
#Kotlin #KotlinMultiplatform
https://zacsweers.github.io/metro/1.4.2/coroutines/ -
I migrated the FOSDEM Companion Android app dependency injection from Dagger Hilt to Metro. Build times are faster as expected and the APK file is also 7KB smaller which is a nice bonus.
I was afraid I would miss Hilt-specific magical code generation features but I was able to create simple abstractions that provide a very close experience.
This experiment gave me enough material for a talk or a long blog post so expect to see more about it later. -
Room 3.0 stable is now available:
https://developer.android.com/jetpack/androidx/releases/room3#version_30_2Unfortunately the new implementation of LiveData instances in DAOs is less efficient than in Room 2: A DB query will be performed every time the screen becomes visible again even if the database didn't change (it now behaves like the Flow implementation).
https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:room3/room3-livedata/src/main/kotlin/androidx.room3.livedata/LiveDataDaoReturnTypeConverter.ktBut because it's pluggable, it should be possible to provide a better one as well as a caching Flow implementation.
-
I'm happy to announce that Lokksmith, my Kotlin Multiplatform OpenID Connect client library, has been released as 1.0.0 stable today! Almost exactly one year (09.06.2025) after the first public release 😅 It has been successfully tested and matured with apps with millions of users. The latest version also adds support for desktop (JVM) with a lot of help by @jptaszyk 🎉
https://github.com/svenjacobs/lokksmith/releases/tag/v1.0.0
#Kotlin #KotlinMultiplatform #KMP #Android #AndroidDev #ComposeMultiplatform
-
Also bisher fühl ich mich im #KMP #KotlinMultiplatform Universum schon deutlich wohler, als es mit #JavaScript jemals der Fall war.
So eine angenehme Sprache.
Hab von JetBrains aber auch nichts anderes erwartet.
-
This tutorial shows how to build a production-ready admin dashboard for Ollama that runs on Android and Desktop with about 95% shared Kotlin code. https://hackernoon.com/building-a-crossplatform-ollama-dashboard-with-95percent-shared-code #kotlinmultiplatform
-
Кэширование сетевых запросов в Ktorfit с помощью Ktor Plugins
Привет! Ktor постепенно становится полноценной альтернативой классической связке OkHttp + Retrofit. Его ключевые преимущества — кроссплатформенность, чистый Kotlin, асинхронность и корутины, а также высокая гибкость и управляемость. Кроме того, ожидается поддержка HTTP/3, чего, судя по всему, не планируется в OkHttp. Ktorfit же — это обёртка над Ktor, которая предоставляет более удобное API, практически идентичное Retrofit, что особенно удобно при миграции Retrofit —> Ktorfit. Короче, Ktorfit — это Retrofit для Kotlin Multiplatform. В этой статье я продемонстрирую алгоритм написания простого кэша запросов для Ktorfit, используя механизм Ktor Pluguns.
https://habr.com/ru/articles/956950/
#kmp #kotlin #multiplatform #kotlinmultiplatform #caching #ktor #ktorfit
-
🤔 Should ViewModels be shared across Android and iOS?
Or should the shared layer stop at business logic?
Gustavo discusses the architectural trade-offs here 👉
https://touchlab.co/kmp-view-models -
Let’s say I got inspired by the NFC pocket monster game they had on the #CCC 🤩 by far the coolest use of NFC tech. Built in #KotlinMultiplatform and ready for Android as well. It was actually super simple. I worked with Claude Code on a comprehensive spec and in 2-3 days of work I got quite far. Gonna extend the game, not sure how yet but I want it to get it in everyone’s hands!
-
Does anyone have experience with Kotlin Multi Platform? I’m thinking about building some cross platform framework to use in an iOS and Android app.
Are we there yet? Is it really usable? What’s your opinion?
-
Is TDD practical on Android? Is Clean Architecture over-engineering? 🤔
I sat down with James Cullimore to discuss the hard truths of the ecosystem in 2025.
We cover:
🛠️ The "Security" of Freelancing vs Full-time
📱 Why he bets on KMP over Flutter
🤖 Using AI Agents like "Junior"
💉 Why he prefers Koin (or nothing!) over HiltFull video available on YouTube:
🔗 https://youtu.be/xD61A8B_gdk#ADT #AndroidDevelopment #TechTalk #FreelanceLife #KotlinMultiplatform #AI #DeveloperCommunity
-
Gerne teilen, danke!
Du hast Lust auf einen Job mit Sinnstiftung? Wir bei connect2x bauen Open Source #matrix Messenger u. A. für das Gesundheitswesen.
Wir suchen SoftwareentwicklerInnen und UI/UX-ExpertInnen, aber sind auch offen für Initiativbewerbungen (z.B. Richtung Marketing oder Team- und Organisationsentwicklung). Du hast Erfahrung mit #Kotlin #KotlinMultiplatform #JetpackCompose #ComposeMultiplatform und kennst dich mit #matrix aus? Noch besser!
Meld dich gerne bei uns unter [email protected]
-
Finally, we can set Project view as default in Android Studio. This is really nice if you develop Kotlin Multiplatform project in Android Studio 🛠️📱
#AndroidDev #Kotlin #KotlinMultiplatform #AndroidStudio #iOSDev
-
#KotlinMultiplatform (KMP) is gaining traction as a #CrossPlatform alternative - enabling code sharing without losing native performance or user experience.
But what are the trade-offs?
📖 In this #InfoQ article, Rachit Jain explores the pros & cons in depth: https://bit.ly/4mM7BR0👉 Read now!
-
ImagePickerKMP is an open-source cross-platform library for capturing and selecting images on Android, iOS, and Kotlin Multiplatform with Compose. https://hackernoon.com/how-to-capture-and-select-images-in-jetpack-compose-and-kmp-with-imagepickerkmp #kotlinmultiplatform
-
ok so youtube knows me way too well and recommended me a talk from Chris Horner ( @chrishorner ) about replicating the #Persona5 IM UI in #kotlinmultiplatform and WELP im literally the perfect target
THEN I learned of this drawWithCache method and it sounds super cool
-
🚀 New in kotlinx-datetime v0.7.1!
✨ Type aliases for Instant & Clock → easier migration from kotlin.time
✨ Darwin fallback for missing timezone DB (via Foundation)
🛠 JVM date format compatibility restored🔗 https://github.com/Kotlin/kotlinx-datetime/releases/tag/v0.7.1
-
Version 1.1.0 of my library HTML Converter for Compose Multiplatform is now available!
It includes optional colored text support and targets all previously missing platforms: Javascript, WASM and native Mac OS.
https://github.com/cbeyls/HtmlConverterCompose/blob/main/CHANGELOG.md#version-110 -
Apple’s Liquid Glass📱 is here!
⚠️ Shared UI breaks when platforms shift
✅ Native UI with #KotlinMultiplatform is built to flexDM us for code-sharing strategies that survive change!
https://touchlab.co/contact-us#KMP #MobileStrategy #LiquidGlass #Material3 #mobileAI #NativeUI #iOSDev #AndroidDev
-
Stay tuned for more highlights from #Android Developers Backstage podcast: #KotlinMultiplatform: Have your code and eat it too -> https://youtu.be/DP7O_a8wIwQ?si=H5z57PjFP5bEhNP1
-
What's the killer feature of #KotlinMultiplatform according to Google's @yigit?
"𝘈𝘯𝘥 𝘵𝘩𝘦 𝘬𝘦𝘺 𝘩𝘦𝘳𝘦, 𝘺𝘰𝘶 𝘥𝘰𝘯'𝘵 𝘯𝘦𝘦𝘥 𝘵𝘰 𝘸𝘢𝘪𝘵 𝘧𝘰𝘳 𝘴𝘰𝘮𝘦𝘰𝘯𝘦 𝘦𝘭𝘴𝘦 𝘵𝘰 𝘸𝘳𝘪𝘵𝘦 𝘵𝘩𝘦 𝘯𝘦𝘵𝘸𝘰𝘳𝘬 𝘭𝘪𝘣𝘳𝘢𝘳𝘺 𝘴𝘰 𝘺𝘰𝘶 𝘤𝘢𝘯 𝘮𝘢𝘬𝘦 𝘵𝘩𝘪𝘴 𝘤𝘳𝘰𝘴𝘴-𝘱𝘭𝘢𝘵𝘧𝘰𝘳𝘮. 𝘠𝘰𝘶 𝘤𝘢𝘯 𝘫𝘶𝘴𝘵 𝘤𝘢𝘭𝘭 𝘵𝘩𝘦 𝘈𝘱𝘱𝘭𝘦 𝘧𝘰𝘶𝘯𝘥𝘢𝘵𝘪𝘰𝘯 𝘈𝘗𝘐𝘴 𝘧𝘳𝘰𝘮 𝘺𝘰𝘶𝘳 𝘒𝘰𝘵𝘭𝘪𝘯 𝘤𝘰𝘥𝘦."
-
Fresh off big #KotlinMultiplatform news @ #GoogleIO, Google’s showing up strong at #KotlinConf.
🎤 Production insights from Google Docs
🧠 Deep dives on memory, API design & IDEs
🧑💻 Live codelabs in Room 173📅 https://kotlinconf.com/schedule/?day=2025-05-23
📹 Main track is live-streamed ➡️ https://kotl.in/conf25-live -
Touchlab is the ground at #GoogleIO where #KotlinMultiplatform made headlines, and we’re here for it! 🚀
✅ Stable Jetpack libs (Room, DataStore, Paging)
🛠️ New #KMP tooling in Android Studio
📱 Google Docs on iOS runs KMP in production