Repository navigation
Dari now supports Kotlin Multiplatform. The new dari-kmp artifact lets a WebView bridge kept in commonMain record on Android and iOS with one call. dari, dari-core, dari-noop, dari-runtime, dari-kmp, dari-inspector-protocol and dari-gradle-plugin 3.7.0 are on Maven Central, and the Dari Swift package is at 3.7.0.
Existing apps need no migration. The Android library jumps from 3.0.0 to 3.7.0 to rejoin the shared number line (3.1.0–3.6.0 were desktop- and iOS-only releases), and the wire protocol stays at version 1.
What's Changed
- feat: add dari-kmp, a KMP entry point backed by the Swift SDK on iOS by @easyhooon in #304
DariKmp.createInterceptor(tag)incommonMainreturns aDariInterceptor?. On Android it uses whichever ofdari/dari-noopthe app depends on; on iOS it forwards to theDariSwift SDK at runtime, with no linked library.- If the Swift SDK is missing or older than
dari-kmp, the factory returns null and logs once instead of crashing. JVM targets return null, so Compose Multiplatform apps with a desktop target can keep the call incommonMain. - The Swift SDK gains
DariObjC/DariObjCInterceptor, an@objcentry point. The Swift API is unchanged. - Adds
sample-kmpand the Kotlin Multiplatform guide.
- Docs: platform differences between Android and iOS (#298), WebView app wording (#303), and the project intro without Chucker (#302).
Desktop app downloads
Installers for macOS (Apple Silicon and Intel, signed and notarized), Windows (.exe and .msi) and Linux x64 (preview, .deb and .tar.gz) are attached below, with SHA-256 files. See the Desktop App guide for install steps, or install from the terminal on macOS:
curl -fsSL https://raw.githubusercontent.com/easyhooon/dari/main/scripts/install-desktop.sh | bashFull Changelog: 3.6.0...3.7.0