Cross-platform
onestore.link for Kotlin Multiplatform Mobile apps
One universal link for your KMM app โ iOS + Android.
Kotlin Multiplatform Mobile (KMM) is gaining serious traction โ JetBrains' bet on truly shared business logic between iOS and Android. Your shared codebase deserves a shared share link. onestore.link is that link.
Without onestore.link
- Two different store URLs hardcoded in your shared module
- Platform-specific URL logic leaking into common code
- Mismatched share experiences between iOS and Android users
With onestore.link
- A single string constant in shared code
- Platform routing done at the URL layer, not in your KMM module
- Identical share experience on both platforms
How it works with KMM
No SDK, no rebuild, no native config change. Just a URL.
- 1
Publish your KMM app
Build and ship to both stores. Note the App Store and Play Store URLs.
- 2
Create your slug
Generate the link on onestore.link with both store URLs.
- 3
Reference the URL from common code
Store the URL as a constant in `commonMain` and share it from your `expect/actual` share function.
Optional: share from inside your app
onestore.link is just a URL โ you don't need to add anything to your KMM app to make it work. If you also want a share button inside your app that sends users the universal link, here's the typical pattern in KMM:
Share from your common code (`shared/`):
// shared/src/commonMain/kotlin/Share.kt
expect fun shareUrl(url: String)
// shared/src/androidMain/kotlin/Share.android.kt
actual fun shareUrl(url: String) {
// ACTION_SEND intent with url
}
// shared/src/iosMain/kotlin/Share.ios.kt
actual fun shareUrl(url: String) {
// UIActivityViewController with url
}
// Anywhere in shared code:
shareUrl("https://onestore.link/myapp")Frequently asked questions
Is there a KMM library to publish?
No โ onestore.link is a URL. You don't need a Kotlin library or CocoaPod. Use it as a string constant in your shared module.
Works with Compose Multiplatform too?
Yes โ Compose Multiplatform apps that target iOS and Android via the same Compose UI can use onestore.link the same way.
Ready to add a universal link to your KMM app?
Free forever, no signup needed. Your first link is live in under a minute.
Create your free link