Skip to main content

Changelog | React Native Document Scanner

Version 4.10.1 (8 Nov 2021):#

  • πŸŽ‰ New:
    • Introduced forceClose function in RTU-UI components! You can use it to programmatically close the components.
  • πŸš€ Improvements:
    • Improved flexibility, speed, and accuracy of the EHIC Scanner (European Health Insurance Cards)
    • Android: You can enable CameraX under the hood on Android. See useCameraX in InitializationOptions
    • Android: GPU Acceleration will be used for Barcode Scanner, Document Scanner and Generic Document Recognizer. You can disable it by setting allowGpuAcceleration to false; see InitializationOptions
  • 🐞 Bug fixes:
    • Android: FixedΒ msiPlesseyChecksumAlgorithm,Β stripCheckDigitsΒ andΒ cameraZoomFactor being ignored in BatchBarcodeScannerConfiguration
  • ⚠️ Breaking changes:
    • submitButtonTitle in IdCardScannerConfiguration has been renamed to viewResultsButtonTitle
    • The ID Card Scanner result is now wrapped in idCard object. See startIdCardScanner.
  • πŸš™ Under the hood:
    • Upgraded the native Scanbot Android SDK to v1.89.0 (cf. changelog)
    • Upgraded the native Scanbot iOS SDK to v1.21.2 (cf. changelog)

Version 4.10.0 (21 Sep 2021):#

  • πŸŽ‰ New:
  • πŸš€ Improvements:
    • Improved recognition of UPC/EAN barcodes due to ink spread
    • Android: Improved recognition of the front side of ID cards by GenericDocumentRecognizer
  • 🐞 Bug fixes:
    • Android: Fixed a bug with the EHIC recognizer that caused some UTF8 characters to be ignored upon recognition
  • ⚠️ Breaking changes:
    • Android: Updated compile and target SDK of the library to 30
  • πŸš™ Under the hood:
    • Upgraded the native Scanbot Android SDK to v1.87.1 (cf. changelog)
    • Upgraded the native Scanbot iOS SDK to v1.20.0 (cf. changelog)

Version 4.9.0 (9 Aug 2021):#

  • πŸŽ‰ New:
    • Brand new β€œNext Generation” machine-learning-based barcode scanning engine with improved reliability and much faster performance!
    • API changes for the new barcode engine: added engineMode property of type EngineMode on barcode scanning APIs - BarcodeScannerConfiguration and BatchBarcodeScannerConfiguration to switch between the legacy barcode engine and the new Next Generation barcode engine. By default, the new engine is used.
    • Text Data Scanner: a new RTU-UI component that allows you to perform OCR using our Data Scanner Camera API. See the new API function startTextDataScanner).
  • 🐞 Bug fixes:
    • Document Scanner (Android): fixed a bug that sometimes caused pictures to have the wrong orientation after they were imported
    • Fixed various UI related issues
  • πŸš™ Under the hood:
    • Updated the native Android Scanbot SDK to 1.85.1 (cf. changelog)
    • Updated the native iOS Scanbot SDK to 1.19.3 (cf. changelog)

Version 4.8.0 (25 Jun 2021):#

  • πŸŽ‰ New:
    • MSI Plessey barcode recognition
  • πŸš€ Improvements:
    • Droid: Exposed native dependencies to allow custom native implementations
  • πŸš™ Under the hood:
    • Upgraded the native Scanbot Android SDK to v1.84.0 (cf. changelog)
    • Upgraded the native Scanbot iOS SDK to v1.18.0 (cf. changelog)

Version 4.7.0 (14 Apr 2021):#

Version 4.6.0 (15 Feb 2021):#

  • πŸŽ‰ New:
    • Added NFC passport reader - a new UI component to read data from passport's NFC chip. See the new API function startNFCPassportReader

Version 4.5.0 (2 Feb 2021):#

  • πŸŽ‰ New:
    • Encryption of image and PDF files. For more details please check out the section "Storage Encryption".
  • πŸš€ Improvements:
    • Improved support for advanced TypeScript compiler constraints
  • ⚠️ Breaking Changes:
    • The structured OCR result data is now returned as a JSON data field jsonData instead of a JSON file (jsonFileUri)
  • πŸš™ Under the hood:
    • Upgraded the native Scanbot Android SDK to v1.78.0 (cf. changelog)
    • Upgraded the native Scanbot iOS SDK to v1.13.0 (cf. changelog)

Version 4.4.0 (4 Dec 2020):#

  • πŸŽ‰ New:
    • Android: Added a new optional config property useButtonsAllCaps: boolean for all RTU UI screens to control whether the buttons should use the all-capitals-style, as defined by the Android Material Design
  • πŸš€ Improvements:
    • Improvements in the detection of barcodes, especially of the type PDF417. Better recognition of rotated and damaged PDF417 codes
  • 🐞 Bug fixes:
    • iOS: Introduced a new API method refreshImageUris(pages) to fix image file paths after app updates. For more details please check out the section Persistence of Page Objects.
    • iOS: Fixed an issue about Bitcode support when submitting an app to the App Store Connect (error "ITMS-90562: Invalid Bundle - Bitcode failed to compile")
  • πŸš™ Under the hood:
    • Upgraded the native Scanbot Android SDK to v1.76.2 (cf. changelog)
    • Upgraded the native Scanbot iOS SDK to v1.12.1 (cf. changelog)

Version 4.3.0 (22 Oct 2020):#

  • πŸŽ‰ New:
    • Batch Barcode Scanner - a new UI component to scan multiple barcodes in a row. See the new API function startBatchBarcodeScanner.
    • ID-Card Scanner - See the new API function startIdCardScanner.
    • Blur Estimator - a new API method to detect blurriness on still images. See estimateBlur.
    • New CroppingScreenConfiguration parameters: hintTitle and hintTitleColor
  • πŸš€ Improvements:
    • Android: Some big improvements in the Document Scanner UI that make document scanning perform better and much smoother. Increased start-up time of the camera preview. Faster saving of the snapped pages. Optimized performance of the image processing for simple operations (rotate, crop, resize).
    • Android and iOS: Improved recognition of barcodes and QR-codes (live detection and from still images)
  • ⚠️ Breaking Changes:
    • iOS: Dropped support for iOS 9 and iOS 10!
  • πŸš™ Under the hood:
    • Upgraded the native Scanbot Android SDK to v1.74.2 (cf. changelog)
    • Upgraded the native Scanbot iOS SDK to v1.11.2 (cf. changelog)

Version 4.2.1 (28 Sep 2020)#

  • 🐞 Bug fixes:
    • Android: Fixed a crash during the initialization process on some devices with Android 5.1 and less
  • πŸš™ Under the hood:
    • Upgraded the native Scanbot Android SDK to v1.72.3 (see the changelog)

Version 4.2.0 (5 Aug 2020)#

  • πŸŽ‰ New:
    • A new scanner UI component for the European Health Insurance Cards (EHIC)! See the new API function startEHICScanner
    • Added support for TIFF compression types and for defining custom DPI value as TIFF meta data. See the new options compression and dpi of the writeTIFF() method.
  • πŸš€ Improvements:
    • Improved shared asset copy script with proper error handling and different pathing options
    • Android: Increased resolution of the preview images
  • 🐞 Bug fixes:
    • Android: topBarBackgroundColor now also affects the status bar in all UI components (Document Scanner UI, Cropping UI, etc)
  • πŸš™ Under the hood:
    • Upgraded the native Scanbot Android SDK to v1.71.0 (see the changelog)
    • Upgraded the native Scanbot iOS SDK to v1.9.19 (see the changelog)

Version 4.1.0 (20 Jul 2020)#

  • πŸŽ‰ New:
    • New and improved Barcode Scanner. Support for multiple barcode scanning.
    • Introduced getLicenseInfo() API method to get more information about your license
    • Barcode detection on still (imported) images: detectBarcodesOnImage
    • ML-Based document detection: documentDetectorMode: 'ML_BASED'
  • πŸš€ Improvements:
  • 🐞 Bug fixes:
    • Android: Fixed several crashes that occurred as of React Native 0.62 😑
    • iOS: Fixed multiple beep-boop sounds when scanning barcodes
    • iOS: MRZ Scanner finder aspect ratio is now properly set
  • ⚠️ Breaking Changes:
    • Removed isLicenseValid() API method. Please use getLicenseInfo().isLicenseValid instead.
    • BarcodeResult now contains an array of barcodes
    • Android: minSdkVersion increased to 21
  • πŸš™ Under the hood:
    • Upgraded the native Scanbot Android SDK to v1.70.1 (see the changelog)
    • Upgraded the native Scanbot iOS SDK to v1.9.15 (see the changelog)

Version 4.0.1 (13 Jan 2020)#

  • πŸš€ Improvements:
    • Android & iOS: Enhanced TypeScript support
  • 🐞 Bug fixes:
    • Android: Fixed a rare case where the application crashed on startup
    • iOS: Fixed issue where document detection status was empty

Version 4.0.0 (11 Nov 2019)#

This version requires React Native 0.60 or higher as well as CocoaPods integration for iOS.

  • πŸŽ‰ New:

  • πŸš™ Under the hood:

    • Upgraded the native Scanbot Android SDK to v1.54.0 (see the changelog)

Version 3.1.0 (10 Oct 2019)#

  • πŸŽ‰ New:

    • Android & iOS: Added a new Images Filter LOW_LIGHT_BINARIZATION_2.
  • 🐞 Bug fixes:

    • Android: Fixed crashes with some image filters, like BACKGROUND_CLEAN, DEEP_BINARIZATION, LOW_LIGHT_BINARIZATION, etc. on ARM 32-bit devices (armeabi-v7).
    • iOS: Fixed modal dialog style of the Document Scanner UI, Cropping UI, Barcode Scanner UI and MRZ Scanner UI on iOS 13. All UI screens are opened in full-screen mode again.
  • πŸš™ Under the hood:

    • Upgraded the native Scanbot Android SDK to v1.39.52.2 (see the changelog)
    • Upgraded the native Scanbot iOS SDK to v1.9.3 (see the changelog)

Version 3.0.0 (26 Jul 2019)#

  • πŸŽ‰ New:

    • Android & iOS: Reset/Detect functionality in Cropping UI.
    • Android & iOS: Added support for orientationLockMode in Cropping UI.
    • Android & iOS: Support for PDF page sizes (see the createPdf method).
    • Android & iOS: Added new Images Filters OTSU_BINARIZATION, DEEP_BINARIZATION, EDGE_HIGHLIGHT and LOW_LIGHT_BINARIZATION.
    • Android & iOS: A new config option storageBaseDirectory allows to overwrite the storage location of the native Scanbot SDKs on initialization.
    • Android & iOS: Added new config properties in the Document Scanner UI:
      • documentImageSizeLimit - to limit the resolution of the document image.
      • maxNumberOfPages - maximum number of pages to scan.
      • shutterButtonHidden - to hide the shutter button.
      • textHintEnergySavingActive - the text being displayed on the user-guidance label, when the scanners energy saver is activated (iOS only).
    • Android: Added native libs (.so) for the x86_64 architecture.
  • πŸš€ Improvements:

    • Android: Internal Storage - All components of this Module now use the internal storage by default, which is more secure and do not require storage permission prompts. See the Storage section of this documentation for more details.
    • Android & iOS: OCR - Upgraded the OCR engine to Tesseract v4.00. Improved recognition speed and quality. Please also note the Breaking Changes below.
    • Android & iOS: OCR API - Detailed OCR results per page, including bounding boxes for words, lines and paragraphs. See OcrOutputFormat.RESULT_JSON.
  • ⚠️ Breaking Changes:

    • Android: Added file format extension (.jpg or .png) for all Page images. Affects the new image files created by all modules like Document Scanner, Cropping UI, etc. Please note that only the new created image files will contain extensions. The currently available image files in the temporary storage of the Scanbot SDK RN Module will not get file extensions and may become inaccessible. So please make sure to implement a suitable migration mechanism.
    • Android: Internal Storage - In case your app is using the storage for scanned Pages as permanent storage, please make sure to implement a suitable migration. E.g. move the previous archived Page images from the old external storage folder to the new internal storage. Or alternatively overwrite the storage directory to the external folder again by using the new storageBaseDirectory config option.
    • Android & iOS: The config parameter pageCounterButtonTitle in Document Scanner now requires a placeholder "%d" for the number of pages (e.g. pageCounterButtonTitle: "%d Page(s)").
    • Android & iOS: OCR Language Files - If you use the OCR feature of this Module, please upgrade the OCR language files to Tesseract 4.00. See the OCR section of this documentation for more details.
  • 🐞 Bug fixes:

    • Android: Fixed an issue with camera on "Xiaomi Redmi 5 Plus" devices with MIUI Chinese ROM.
    • Android: Fixed a bug with freezing camera on Document Scanner start.
    • Android: Some layout fixes in Cropping UI (aka. inaccessible "DONE" button).
    • Android: Fixed a bug with the Magnifier in Cropping UI (the Magnifier was stuck in a corner).
    • iOS: Fixed issues with orientationLockMode in Document Scanner.
    • iOS: Fixed handling of uiConfigs arguments in Cropping UI (polygonColor, etc).
    • iOS: Fixed a bug with missing Page meta data as result of the detectDocumentOnPage method.
    • iOS: Fixed handling of the config arguments enableCameraButtonTitle and enableCameraExplanationText in Document Scanner UI, Barcode Scanner UI and MRZ Scanner UI.
    • iOS: Fixed the status of the torch light toggle button in the Document Scanner on reactivating the scanning screen.
    • Android & iOS: Various minor fixes and improvements.
  • πŸš™ Under the hood:

    • Upgraded the native Scanbot Android SDK to v1.39.52 (see the changelog)
    • Upgraded the native Scanbot iOS SDK to v1.9.2 (see the changelog)
  • πŸ›  Dependencies:

    • Android: Requires Android SDK 28, Android Support Libs 28+ (com.android.support:*).
    • Android: The native Scanbot Android SDK now uses the latest version of Google Play Services Vision lib v16.2.0 (com.google.android.gms:play-services-vision:16.2.0).

Version 2.0.7 (1 Jul 2019)#

  • Android: Removed minSdkVersion from AndroidManifest.xml.

Version 2.0.6 (20 Dec 2018)#

  • iOS: Fixed Cropping UI configuration.

Version 2.0.5 (28 Aug 2018)#

  • Under the hood: Upgraded the native Scanbot iOS SDK to v1.7.7:
    • Fixed bitcode generation

Version 2.0.4 (28 Aug 2018)#

  • Under the hood: Upgraded the native Scanbot Android SDK to v1.34.0
    • Upgraded to OpenCV 3.4.2
  • Under the hood: Upgraded the native Scanbot iOS SDK to v1.7.6

Version 2.0.3 (1 Aug 2018)#

  • New function recognizeMrz(imageFileUri: string) to recognize MRZ data on image file.

Version 2.0.2 (23 Jul 2018)#

  • Android: Various bug fixes and improvements in methods getFilteredDocumentPreviewUri() and applyImageFilterOnPage()
  • Under the hood: Upgraded the native Scanbot Android SDK to v1.33.3
    • Removed the allowBackup flag from AndroidManifest.xml in io.scanbot:sdk-package-ui library
  • iOS: Added the ?minihash= query parameter in result of getFilteredDocumentPreviewUri()
  • Under the hood: Upgraded the native Scanbot iOS SDK to v1.7.4
    • Fixed memory leaks in Document Scanner

Version 2.0.1 (16 Jul 2018)#

  • iOS:
    • Fixed a bug in PDF creation
    • Fixed property mapping of text key textHintOK
  • Under the hood: Upgraded the native Scanbot iOS SDK to v1.7.3

Version 2.0.0 (10 Jul 2018)#

  • New Document Scanner UI and Cropping UI - based on the native Ready-To-Use UI Components of the Scanbot SDK for Android and iOS.
  • Multi-page scanning in Document Scanner UI
  • Barcode Scanner UI
  • MRZ Scanner UI
  • TIFF support: provides creation of 1-bit TIFF images with multi-page support
  • New image filter types:
    • PURE_BINARIZED - Creates an image with pixel values set to either pure black or pure white.
    • BACKGROUND_CLEAN - Cleans up the background and tries to preserve photos within the image.
    • BLACK_AND_WHITE - Black and white filter with background cleaning. Creates a grayscaled 8-bit image with mostly black or white pixels.
  • New Scanbot SDK JS API:
    • Promise-based design (compatible with async/await)
    • Typings provide contextual help in JS IDEs
  • Under the hood: Upgraded the native Scanbot Android SDK to v1.33.0
  • Under the hood: Upgraded the native Scanbot iOS SDK to v1.7.2:
    • Dropped support for iOS 8
  • Minor bug fixes and improvements