Cordova Document Scanner SDK

Easily add high-quality document scanning to your Cordova app

Trusted by 250+ industry leaders

Deutsche Telekom Case Study AXA Success Story

Simple to use for anyone

Enable even non-tech-savvy users to create crisp document scans with user guidance, automatic capture, auto-cropping, and more.

Image of App UI on phone screen

100% offline

No servers, no tracking, complete data security.

Customizable UI components

Our Ready-To-Use UI components cover all document scanning scenarios and are highly customizable.

Technical requirements

The Scanbot Cordova Document Scanner SDK has the following technical requirements:

  • Cordova CLI: 9.X+
  • Cordova Platforms: Android 10+, iOS 5.1+
  • Operating System: Android: 5.0 (API Level 21) and higher, iOS: 13.0 and higher
  • Architectures:
    • Android: armeabi-v7, arm64-v8a, x86, x86_64
    • iOS: arm64 for physical devices and x86_64 for simulators

Turn mobile devices into efficient, high-quality document scanners

The Scanbot Document Scanner SDK for Cordova empowers your app with fast, reliable document scanning capabilities. The SDK operates entirely offline, ensuring compliance with GDPR and CCPA/CPRA by processing all data locally on the device.

Beyond just scanning documents with the device’s camera, the SDK can process imported images, applying advanced image optimization techniques to guarantee high-quality scans from both live capture and files.

Our Cordova SDK includes Ready-To-Use UI (RTU UI) components, allowing you to integrate scanning functionality in under an hour. These components are fully customizable to match your app’s branding and workflows.

We offer dedicated chat support via Slack, Microsoft Teams, or email. Non-customers can also reach out to our support engineers for integration assistance.

Features

Features

Learn more about our document scanning features

The Cordova Document Scanner SDK is packed with features designed to improve user experience and the quality of document scans.

  • User Guidance

    Ensure anyone can create high-quality scans with intuitive on-screen guidance, helping even non-technical users achieve great results.

  • Automatic Capture

  • Automatic Cropping

  • Document Quality Analyzer

  • Custom Filters

  • Multiple Export Formats

Background image for the section with highlighted squares

Start integrating our Cordova Document Scanner SDK today

Get started

How to integrate the Scanbot Cordova Document Scanner

Integrating the Document Scanner UI

 

Use the plugin API method ScanbotSdk.UI.startDocumentScanner() to start the Document Scanner UI.

 

import ScanbotSdk, { DocumentScannerConfiguration, Page } from 'cordova-plugin-scanbot-sdk';

private SDK = ScanbotSdk.promisify();
public scannedPages: Page[] = [];

// Always make sure you have a valid license on runtime via SDK.getLicenseInfo()
if (!licenseCheckMethod()) { return; }

const configs: DocumentScannerConfiguration = {
  // Customize colors, text resources, behavior, etc..
  cameraPreviewMode: 'FIT_IN',
  orientationLockMode: 'PORTRAIT',
  pageCounterButtonTitle: '%d Page(s)',
  multiPageEnabled: true,
  ignoreBadAspectRatio: true,
  topBarBackgroundColor: '#c8193c',
  bottomBarBackgroundColor: '#c8193c',
  // see further configs ...
};

const result = await this.SDK.UI.startDocumentScanner({uiConfigs: configs});

if (result.status === 'CANCELED') {
  // user has canceled the scanning operation
  return;
}

// handle the scanned pages from result
this.scannedPages = result.pages;
...

 

 

Handling the Result

 

The result object contains the following fields:

 

  • result.status: Result status, 'OK' if some pages were scanned, 'CANCELED' if the user canceled the operation.
  • result.pages: An array of Page objects representing the scanned document images. If multi-page mode is enabled, this array may contain more than one page. If multi-page mode is not enabled, this array contains only one object.

Frequently Asked Questions

What is a Cordova Document Scanner SDK?

A Cordova Document Scanner SDK is a development kit that allows you to add document scanning features to your Cordova-based apps. It includes tools for capturing, processing, and exporting scanned documents, featuring edge detection, automatic cropping, and image enhancement.

How can I ensure high-quality document scans in my Cordova app?

Use an SDK with advanced features such as automatic cropping, edge detection, and a document quality analyzer to ensure clear, high-quality scans. The Scanbot Cordova Document Scanner SDK offers these capabilities and more, allowing you to enhance user experience and scan quality.

How do I integrate document scanning into my Cordova app?

The Scanbot Cordova Document Scanner SDK comes with Ready-To-Use UI components, allowing integration in under an hour. Comprehensive documentation and support via Slack, Microsoft Teams, or email help ensure a smooth setup.

Is there a free Cordova document scanner SDK?

Free solutions like those built with open-source libraries may offer basic functionality but lack the advanced features, user guidance, and quality assurance provided by commercial SDKs. The Scanbot SDK delivers a user-friendly interface, high-quality scans, and dedicated support, making it a superior choice.

Which Cordova-based Document Scanner SDKs comply with GDPR and other privacy regulations?

To comply with privacy regulations, it's important to choose an SDK that processes data entirely offline. The Scanbot Document Scanner SDK ensures all scanning occurs on-device, helping you stay compliant with GDPR, CCPA, and CPRA while maintaining data security.

What platforms does the Scanbot Document Scanner SDK support besides Cordova?

In addition to Cordova, the Scanbot Document Scanner SDK supports Android, iOS, and web applications. It’s also available for cross-platform frameworks such as Flutter, Xamarin, .NET MAUI, Capacitor, and React Native.