Changelog
Version 2.2.0 - Nov 30, 2026
Based on the native Docutain SDKs 1.10.0 (Android 1.10.0.0, iOS 1.10.0).
Features
File Import & Data Extraction
- Added
loadFileBytesto load files from memory without writing a temporary file first. Refer to File Import for more details. - Added an optional
passwordparameter toloadFileto load password protected PDF files. Refer to File Import for more details. - Added
addPageFileandaddPageBytesto add pages to the currently loaded document. Refer to File Import for more details. - Added support for WebP images for import and data extraction.
PDF Creation & Image Export
- Added
maxSizeKBtowritePDFto limit the file size of the generated PDF. Refer to PDF Creation for more details. - The parameter
pageSourceTypeofDocutainSDKPromisify.getImageBytesis now optional.
Document Scanner
- Android: Added
cameraPreviewMaxResolutionLoss(0–100) toDocumentScannerConfigurationandPhotoPaymentConfiguration. It sets how much of the captured image's resolution may be cropped away so the camera preview can fill more of the screen. The captured image always shows exactly what is visible in the preview. - iOS: Added
buttonScanCanceltoButtonConfigurationto alter the button that cancels the scan process.
Improvements
- Empty strings in
TextConfigurationand for button titles and icons now consistently hide the text or icon on Android and iOS. To keep a default value, do not set the property. - File paths can now be passed as absolute path or as
file://URL to all methods on Android and iOS. Encoded characters infile://URLs, e.g. spaces (%20), are handled correctly. - The TypeScript definitions of
writePDF,writeImage,getImageBytesandpageCountnow match the values that are actually returned. - The texts for Photo Payment, the scan tips, the onboarding and the import errors are now translated into all supported languages.
- iOS: Improvements for iPad, e.g. for rotation, Split View, Slide Over, the alignment of the live detection frame and the position of the torch button and popovers.
Bug Fixes
- Fixed an issue that the scan tips toolbar icon disappeared when a title was set.
- Android: Fixed an issue where images from an earlier, cancelled import were imported again the next time the scanner started.
- Android: Fixed an issue where a failed import of an image file showed the "PDF import failed" error message. A matching error message is now shown.
- iOS: Fixed an issue that text sizes of the
TextConfigurationwith certain decimal values, e.g.10.1, were ignored. - iOS: Fixed an App Store review rejection caused by a placeholder photo library usage text in the native framework's Info.plist.
Breaking Changes
Refer to Migration for details on how to update your app.
- New minimum requirements:
- Cordova platforms
cordova-android14.0.0 andcordova-ios8.0.0 - Android:
compileSdkVersion36, AGP (Android Gradle Plugin) 8.9.1 and Kotlin 2.0 or higher in your app - iOS: iOS 15.0. Set the
deployment-targetpreference in yourconfig.xmlfile to15.0(or higher), otherwise CocoaPods will not resolve the new version.
- Cordova platforms
- Android:
writePDFandgetTraceFilenow return afile://URL instead of an absolute path, the same as on iOS. - Android: By default, the camera preview in the Document Scanner and in Photo Payment now uses the camera's native aspect ratio (usually 4:3) instead of filling the screen, so scans keep their full resolution. To get the previous full-screen preview back, set
cameraPreviewMaxResolutionLossto100. Note that the resolution affects, among other things, the quality of data extraction. If you use data extraction or Photo Payment, we recommend keeping the default value0.
Version 2.1.0 - July 27, 2026
Features
Photo Payment
- Added GiroCode extraction. It is enabled by default. Use
allowGiroCodeto disable it. - If your app was launched from another app via "open with" or "share" you can now use
externalFileUriswithin thePhotoPaymentConfigurationto pass the URIs to Docutain to handle it for you. Pdf and image files are supported. It will automatically show an extraction UI and forward the extracted data to you, once it is finished. - Added
onboardingDefaultItemsPhotoPaymentandscanTipsDefaultItemsPhotoPaymentfor updated items specific to Photo Payment, e.g. GiroCode.
Improvements
- Further improvements to data extraction, making our already excellent accuracy even better.
- Improved internal dependencies for faster performance and smaller binary size.
Bug Fixes
- Fixed a bug that could cause a crash on some 16kb page size enabled Android devices.
- Fixed a bug that caused the edit view to close when swiping pages on iOS 26.
Other
- Updated Android to
minSdk 23. - Updated iOS to minimum deployment target
iOS 13.
Version 2.0.1 - Oct 13, 2025
Features
- Added support for 16kb page size for the x86_64 architecture on Android
Improvements
- Improved internal resource naming to avoid resource conflicts between the SDK and the host app
Bug Fixes
- Fixed an issue that the focus toast could disappear too early on Android
- Android: Fixed an issue that
getImageBytesdid not work on Android 7.1 and lower.
Version 2.0.0 - May 23, 2025
Features
- Added support for Android 15 and add edge-to-edge on all Android versions
- Added Photo Payment. With Docutain's Photo Payment SDK you can integrate photo payment into your app within minutes.
- Added Onboarding. UI components which you can use to onboard the user.
- Added ScanTips. UI components which you can use to show the user some tips about how to obtain a great scan result.
- Added
allowPageDeletionto be able to optionally disable the delete toolbaritem on the editing screen. - Added
allowPageAddto be able to optionally enable a button on the editing screen which the user can use to add additional pages. - Added
vibrateOnCaptureto be able to provide better feedback when the camera captures an image. - Added a new camera source
CAMERA_IMPORT. This will add an import button within the scanning screen to scan and import images at the same time. - Added two new colors
ColorOnPrimaryandColorTopBarTitle. See Color Configuration for more details. - Added
statusBarAppearanceandnavigationBarAppearanceto be able to alter the default behaviour on Android
Improvements
- Improved scanning screen on Android, using more of the available space for the camera on supported devices.
Bug Fixes
- Layout Fixes on the scanning screen for Android & iOS, e.g. missing or cut buttons.
Version 1.1.0 - Feb 20, 2025
Features
It is now possible to test the Docutain SDK for 60 seconds without a license key. This provides you the possibility to do some first tests before getting an extended trial license.
Added support for x86 and x86_64 emulators on Android with full functionality.
Improvements
- Improved Data Extraction.
Bug Fixes
- Fixed a bug that could cause the extracted date to be 1 month in the future.
Version 1.0.0 - Jan 27, 2025
- First official release of the Docutain Cordova SDK
Version 1.0.0.Alpha.2
- Only internal tests
Version 1.0.0.Alpha.1
- Only internal tests