Skip to main content

Installing the Flutter Data Capture Modules

The Scanbot SDK is available as the scanbot_sdk package on pub.dev.

To install the SDK, include the scanbot_sdk package in your pubspec.yaml file under dependencies:

dependencies:
scanbot_sdk: ^10.0.0 # Use the latest version

You can find the latest SDK version in the changelog.

Then, fetch and install the packages using the Flutter CLI or your IDE:

flutter pub get

iOS setup​

The Scanbot Flutter SDK requires a minimum iOS deployment target of iOS 15.0.

The plugin supports both Swift Package Manager and CocoaPods. Flutter resolves the native iOS dependencies automatically when you build the app, so no manual linking of the native Scanbot SDK is necessary.

Swift Package Manager​

If Swift Package Manager is enabled for your Flutter project, set the Minimum Deployments target of the Runner target to 15.0 or higher in Xcode. No other iOS setup is needed.

CocoaPods​

If your project uses CocoaPods, set the platform version in ios/Podfile:

platform :ios, '15.0'

Flutter runs pod install automatically when you build the app. If CocoaPods can't find the latest Scanbot SDK version, update the specs repo manually:

cd ios && pod install --repo-update

Android setup​

No additional setup is needed. The Scanbot Flutter SDK requires minSdkVersion 23 or higher.

Want to scan longer than one minute?

Generate a free trial license to test the Scanbot SDK thoroughly.

Get free trial license