Kotlin SDK installation
Kotlin/JVM consumes sdk/java; sdk/kotlin/Makefile delegates to it. Android uses gomobile. There is no separate Kotlin/Native or Kotlin Multiplatform runtime.
Publication status: new package coordinates below describe the intended public release. They are not yet all published. Build the local package while publication is being prepared.
Install with the native package manager
implementation("io.ur: urnetwork-sdk: <version>")For Android use implementation("io.ur:. Add mavenCentral() to Gradle repositories. Desktop Java and Kotlin share one JAR.
Supported platforms
JVM and Android support follows the Java guide. Run blocking socket calls on Dispatchers.IO, and close the socket to cancel an in-progress native read.
GitHub and local builds
Clone sdk and run make -C sdk/kotlin (desktop) or make -C sdk/kotlin package-android (already-built AAR). Consume the staged Maven artifacts locally.
Examples
- Integration: service provisioning, scoped client credentials and Device lifecycle.
- Sockets: TCP/UDP, TLS/DTLS and HTTP client adapters.
- Messages: live peer discovery and interoperable text/ACK exchange.
- Provider: a provider client of your network with the consent disclaimer, status, payout wallet display and background run.
- Embed: URnetwork inside your own app: one scoped client per installation from your backend, the in-app Device, and the installation's data caps; with the backend tool that provisions clients and sets caps.
Apps use URNETWORK_ and a persisted URNETWORK_; only the service backend holds URNETWORK_. See the shared contract and official networking research.
Use an SDK release containing the required APIs. The package plan records package names, build outputs and publication gates.
References
- Gradle Maven repositories — official package-manager documentation, checked September 14, 2026.