Installing the Kotlin Multiplatform Document Scanner SDK
Specifying the Maven repository
The Scanbot SDK for Kotlin Multiplatform is distributed through our private Maven repository server (nexus.scanbot.io), which needs to be specified in the settings.gradle.kts file in the root folder of your project:
// settings.gradle.kts in the root of the project:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
// Add Scanbot SDK maven repositories here:
maven(url = "https://nexus.scanbot.io/nexus/content/repositories/releases/")
maven(url = "https://nexus.scanbot.io/nexus/content/repositories/snapshots/")
}
}
Afterward, the dependencies can be added in the dependencies section of your Kotlin Multiplatform application project configuration, usually in the build.gradle.kts file.
Adding the main SDK dependency
commonMain.dependencies {
implementation("io.scanbot:kmp-bundle-sdk:$scanbotSdkVersion")
}
Get the latest $scanbotSdkVersion from the Changelog.
Android setup
No additional configuration is needed.
iOS setup
On iOS, the official Scanbot SDK is not linked as a transitive dependency. Therefore, any project using this SDK needs to link the actual Scanbot SDK as well. This can be done through your preferred installation method (CocoaPods/SPM).
- SPM: ScanbotSDK
- CocoaPods (XCFramework):
ScanbotSDK - Direct download as XCFramework: ScanbotSDK.xcframework
Installation
Want to scan longer than one minute?
Generate a free trial license to test the Scanbot SDK thoroughly.
Get free trial licenseScanbot SDK is part of the Apryse SDK product family
A mobile scan is just the start. With Apryse SDKs, you can expand mobile workflows into full cross‑platform document processing. Whether you need to edit PDFs, add secure digital signatures, or use a fast, customizable document viewer and editor, Apryse gives you the tools to build powerful features quickly.
Learn more
