Skip to content

Changelog

4.21.0

Changed

  • Prevent SDKs from finalizing detectors while detection is running.
  • Do not show dialog when camera button is visible.
  • Upgraded OpenCV to version 4.10.0

Fixed

  • Fixed crash when taking picture and document type was "Error_Document"
  • Fixed crash when using android.enableR8.fullMode=true.
  • Fixed NullPointerException on startup.
  • Fixed hang when reversedetectiondelay is set to a positive value.
  • Fixed incorrectly colored reference rectangle border at start of reverse side detection.

4.20.0

Added

  • Improvements to dialogs.

Changed

  • Updated changelog formatting to the new company wide standard.
  • Android Gradle Plugin 8.3.0
  • Gradlew 8.6
  • Kotlin 1.9.23
  • Kotlin Serialization 1.6.3

Removed

  • Removed countdown animation.

4.19.1

Fixed

  • Unknown documents must capture both obverse and reverse.

4.19.0

Added

  • New resource management system (document database)

Changed

  • Redesigned detector framework
    • Speed and performance optimization
    • Improved UI fluidity
    • Improved performance (>30%, may vary upon device or API level)
    • Better, faster and more reliable detection
    • Migrated to Kotlin
    • Improved unit tests and code coverage
  • Reduced SDK weight almost in half (from around 40MB to around 20MB) by optimizing dependencies and refactoring
  • Improved camera handling by reusing buffers
  • Upgraded OpenCV to version 4.8.0
  • Upgraded NDK to 25.1.8937393
  • Built with version 8.0.0 of VDLibrary

Removed

  • Removed Zip4j dependency

4.18.0

Added

  • Added Glide 4.16.0 dependency

Changed

  • Use provided gif for the tutorial even if no alternative png is provided
  • Android 14 (SDK 34)
  • Gradlew 8.3
  • Android Gradle Plugin 8.1.2
  • Kotlin 1.9.10
  • Built with version 7.4.0 of VDLibrary
  • Built with version 2.3.0 of VDLogger

Removed

4.17.0

Added

  • Added new configuration options (See documentation for more information):
    • CHECK_DOCUMENT_TEXT_COLOR
    • FLASH_WAITING_ALERT_TEXT_COLOR
    • SHUTTER_BUTTON_MESSAGE_TEXT_COLOR

Removed

  • Removed filtering of unknown documents

Fixed

  • Fix help message flickering when custom background color has alpha

Changed

  • Gradlew 8.1
  • Android Gradle Plugin 8.0.0
  • Java 17
  • Kotlin 1.8.20
  • Built with version 2.2.0 of VDLogger
  • Built with version 7.3.0 of VDLibrary

4.16.0

Added

  • Added new documents:
    • IT_IDCard_2022
    • PE_ResidentPermit_2021
    • CA-AB_DrivingLicense_2018

4.15.0

Added

  • Added new documents:
    • HR_IDCard_2021
    • PT_DrivingLicense_2021
  • Added common-core-jvm.jar dependency, refer to documentation for integration instructions.

Changed

  • Gradlew 7.5.1
  • Android Gradle Plugin 7.4.0
  • Kotlin 1.7.21
  • Built with version 7.1.3 of VDLibrary.

Fixed

  • Fixed fixedrectangle configuration key, previously being ignored.

4.14.0

Added

  • Added new documents:
    • PT_ResidencePermit_2020
    • IT_HealthCard_2022
    • GB_ResidencePermit_2015
    • GB_ResidencePermit_2021
    • XX
  • Added pipelines configuration that includes linters, testing, coverage and artifact publishing.

Changed

  • Template matching algorithm used in document detection is now more strict.
  • Updated Android Gradle Plugin to 7.3.1
  • Replaced deprecated Android Gradle Plugin constant "pagackename" in AndroidManifest files by "namespace" constant in build.gradle files

4.13.1

Added

  • Added new documents:
    • EC_IDCard_2009
    • AM_IDCard_2012
    • ZA_IDCard_2013
    • ZA_DrivingLicense_2004
    • GB_DrivingLicense_2022
    • GB_DrivingLicense_2012

Changed

  • Android minimum SDK version: API Level 21 (Android 5).
  • Built with version 7.1.1 of VDLibrary.
  • Built with version 2.1.0 of VDLogger.

Fixed

  • Fixed reverse detection for RU_DrivingLicense_2011 and AD_DrivingLicense_1990 documents.

4.13.0

Added

  • Added deferred detection, this waits for any document to be shown and then starts the actual detection process.
  • Introduced the new ADVANCED_DETECTION_DEFERRED configuration option.

Changed

  • Renamed the following configuration keys:
    • ENABLE_RECTANGLE_DETECTION_AFTER_SMART_DETECTION to ADVANCED_DETECTION_ENABLED
    • OBVERSE_RECTANGLE_DETECTION_AFTER_SMART_DETECTION_DELAY to ADVANCED_DETECTION_OBVERSE_DELAY
    • REVERSE_RECTANGLE_DETECTION_AFTER_SMART_DETECTION_DELAY to ADVANCED_DETECTION_REVERSE_DELAY
  • Built with version 7.1.0 of VDLibrary.
  • Built with version 2.1.0 of VDLogger.

Fixed

  • Bug fixes.

4.12.4

Changed

  • Built with version 2.0.1 of the logger library.
  • Built with version 7.0.1 of VDLibrary.

Fixed

  • Fixed issue in permission dialog.

4.12.3

Fixed

  • Fixed issues in documentation regarding line breaks.

4.12.2

Added

  • Added or improved the following documents:
    • AD_ResidencePermit_2018
    • FR_DrivingLicense_2006
    • GB_DrivingLicense_2021
    • PE_ResidencePermit_2017
    • RO_IDCard_2021

Changed

  • Configuration flag obverseflash default value set to "NO".
  • Improve bi-dimensional detection and decoding in some documents.
  • Updated dependencies.
  • Added support for Android 12 (SDK 31).
  • Built with version 7.0.0 of VDLibrary

4.12.1

Changed

  • Built with version 6.9.2 of VDLibrary.

Fixed

  • Fixed performance issue at SDK launch.

4.12.0

Added

  • Added possibility of adding a custom logger to the logging chain.

Changed

  • Now, the seconds related to the timeout and the ENABLE_RECTANGLE_DETECTION_AFTER_SMART_DETECTION configuration, start counting at the time the background document detection starts.
  • Implemented renewed logger library.
  • Built with version 2.0.0 of the logger library.
  • Built with version 6.9.1 of VDLibrary.

Removed

  • Removed Firebase logger and dependency from code.

4.11.0

Added

  • New detection possibility has been added to the document capture. This is configurable with the new "ENABLE_RECTANGLE_DETECTION_AFTER_SMART_DETECTION" key. This new configuration sets a generic rectangle detector after the initial smart detection (if all documents are smart). This new configuration can be set with a delay, in seconds, by configuring the following keys:
    • OBVERSE_RECTANGLE_DETECTION_AFTER_SMART_DETECTION_DELAY: for the obverse case.
    • REVERSE_RECTANGLE_DETECTION_AFTER_SMART_DETECTION_DELAY: for the reverse case.

Changed

  • The onlyobverse configuration key now supports an array of documents that will not take the reverse photo. Eg: "ES_IDCard_2006";"ES_IDCard_2015".
  • Improved detection of:
    • AT_IDCard_2002
    • AT_IDCard_2010
    • AT_IDCard_2021
    • AT_ResidencePermit_2005
    • AT_ResidencePermit_2011
    • AT_ResidencePermit_2020
    • AT_DrivingLicense_2006
    • AT_DrivingLicense_2014
    • DE_IDCard_2007
    • DE_IDCard_2010
    • HR_IDCard_2003
    • HR_IDCard_2015
    • HU_IDCard_2000
    • HU_IDCard_2015
    • RO_IDCard_2009

4.10.0

Changed

  • Updated dependencies.
  • Built with version 6.8.0 of the image processing library.

4.9.1

Added

  • Added new documents:
    • MX_ProfessionalCard_2008
    • MX_ResidencePermit_2010

Changed

  • Improved dialog handling.
  • Built with version 6.7.1 of the image processing library.

4.9.0

Added

  • Added or improved the following documents:
    • CY_IDCard_2021
    • DE_IDCard_2021
    • FI_IDCard_2021
    • FR_IDCard_2021
    • GB_DrivingLicense_2021
    • PE_IDCard_2020
    • PT_ResidencePermit_2017
    • PT_ResidencePermit_2019

Changed

  • Improved obfuscation avoiding name collisions with other libraries.
  • Improved stability.
  • Built with version 6.7.0 of the image processing library.

4.8.5

Changed

  • Improved stability.
  • Built with version 6.6.4 of the image processing library.

4.8.4

Changed

  • Built with version 6.6.3 of the image processing library.

Fixed

  • Fixed a memory leak.

4.8.3

Changed

  • Built with version 6.6.2 of the image processing library.

Fixed

  • Improved SDK closure, solving random crashes while finishing.

4.8.2

Added

  • Added missing documents to VDDocumentCapture.getCountryDocuments().

4.8.1

Changed

  • Improved AT_IDCard_2021 detection.
  • Built with version 6.6.1 of the image processing library.

4.8.0

Added

  • Added or improved the following documents:
    • AT_IDCard_2021
    • AT_ResidencePermit_2020
    • CA-AB_IDCard_2018
    • CA-BC_IDCard_2009
    • CA-BC_IDCard_2013
    • CA-ON_IDCard_2011
    • CA-SK_IDCard_2014
    • CO_ResidencePermit_2016
    • ES_ResidencePermit_2007
    • NO_IDCard_2020
    • RU_IDCard_2007
    • US-MD_DrivingLicense_2013
    • US_ResidencePermit_2017

Changed

  • Improved stability.
  • Improved performance.
  • Updated documentation.
  • Dependencies updated, please read the documentation.
  • Built with version 6.6.0 of the image processing library.

4.7.3

Changed

  • Built with version 6.5.4 of the image processing library.

Fixed

  • Fixed issue where R8 accidentally obfuscated the VDDocumentConfiguration constants.

4.7.2

Added

  • Introduction of DNI4.0, ES_IDCard_2021
  • Added new configuration parameter VDDocumentConfiguration.CAPTURE_BACKGROUND_COLOR.

Changed

  • Built with version 6.5.4 of the image processing library.

4.7.0

Changed

  • Built with version 6.5.3 of the image processing library.

Fixed

  • Info alert no longer shows up under permission dialog when starting SDK.
  • Fixed bug where private folder was cleared upon finishing the SDK.
  • Bug fixes.

4.6.2

Changed

  • Built with version 6.5.2 of the image processing library.

Fixed

  • Bug fixes.

4.6.1

Changed

  • Built with version 6.5.1 of the image processing library.

4.6.0

Changed

  • Improved view model use.
  • Refactored and removed some classes.
  • Built with version 6.5.0 of the image processing library.

Deprecated

  • Deprecated cut methods.

Removed

  • Retired FragmentInteractionListener from DasFragment.

4.5.0

NOTE: All configuration constants have been moved to the com.dasnano.vddocumentcapture.config.VDDocumentConfiguration class.

Added

  • Implemented new configuration framework.
  • Implemented new ViewModel framework.
  • Added unit test for configuration options.

Changed

  • Updated dependencies.
  • Built with version 6.4.0 of the library.

Removed

  • Retired PropertiesManager.
  • Retired VDDocumentConfig.

Fixed

  • Fixed NullPointerException due to unavailability of activity in getDisplaySize().
  • Fixed NullPointerException when mReferenceRect is not yet available.
  • Fixed IllegalStateException in DialogFragment.

4.4.1

Changed

  • Built with version 6.3.1 of the library.

4.4.0

Added

  • Added new documents.

Changed

  • Improved documentation.
  • Improved MX_IDCard_2019 and ES_ResidencePermit_2020 detection.
  • Built with version 6.3.0 of the library.
  • Changed Android API level compilation to 30.

Fixed

  • Fixed bug with back button showing blank screen in review document.

4.3.0

Added

  • Added image integrity to assure image origin.

Changed

  • Improved card detection.

4.2.3

Changed

  • Do not use flash to assist auto focus when flash is switched off for document.

4.2.2

Changed

  • Built with version 6.2.4 of the library.

4.2.1

Changed

  • Built with version 6.2.3 of the library.

Fixed

  • Fixed build error with Jacoco.

4.2.0

Added

  • Added explanation to set allowBackup to false in README.md

Changed

  • Replaced strings with constants.
  • Reenabled obverse flash.
  • Moved all configuration value lookups to onCreate functions in fragment and activities.
  • Updated documentation.
  • Cleanup of build files.
  • Removed example unit tests.
  • Added componentVersion and componentVersionCode.
  • Updated applicationId in example app.
  • Updated dependencies.
  • Updated gradle to version 4.0.1

Removed

  • Retired StaticContext class.

Fixed

  • Fixed issue when closing SDK multiple times.

4.1.1

Fixed

  • Fixed crash while forcing stop more than once simultaneously.

4.1.0

Added

  • Added new documents.

Changed

  • Improved capture user experience.
  • Refactored to use new VDLibrary.
  • Updated Kotlin to 1.3.72.
  • Improved documentation generation.
  • Prefixed all resource ids with vd_document_ to prevent name collisions in other SDKs.
  • Improved text in Configuration.md
  • The following documents now honor the 80 character wide character width for files:
    • README.md
    • documentation/files/Changelog.md
    • documentation/files/Licence.md
    • documentation/files/README.md

Removed

  • Removed support for IFE2013 / MX_IDCard_2013.

Fixed

  • Fixed documentation header.
  • Fixed broken links in README.md
  • Fixed closing tag in Devices.md

4.0.0

Changed

  • Compiled with VDLibraryImageProcessing version 4.0.3

4.0.0

Fixed

  • Fix for double events when using the configuration option showdocument = NO
  • Fix for SEGSEGV when using the option showdocument = NO

4.0.0

Added

  • Implemented new Camera API.
  • Added unit tests.

Changed

  • Disabled real time brightness inspection and moved to the end of capture process (See CAPTURE_BRIGHTS_DETECTION_ENABLED in configuration).
  • Improved packaging.
  • Improved selection of passport document type.
  • Improved thread safety/multithreading.

Removed

  • Removed unnecessary autofocus stops.

Fixed

  • Fixed typo in com.dasnano.vddocumentcapture.other.VDDocument

3.10.0

Added

  • Added checking for bright spots on capture.

Changed

  • Disabled checking for bright spots in preview.

3.9.2

Changed

  • Increment grace time for shutdown from 50ms to 200ms.
  • Assure proper shutdown sequence of activities.
  • Assure thread safety in PropertiesManager.
  • Improved handling of configuration options.

3.9.1

Removed

  • Removed davemorrissey dependency.

3.9.0

Added

  • Added new configurations.

Changed

  • Upgrade to OpenCV 4.1 in response to requirements of 64 bits architectures.
  • Changes in user interface for better guidance.

Fixed

  • Bug fixes.

3.8.1

Changed

  • Increment grace time for shutdown from 50ms to 200ms.
  • Improved handling of configuration options.

Fixed

  • Assure proper shutdown sequence of activities.
  • Assure thread safety in PropertiesManager.

3.8.0

Added

  • Added x86_64 architecture to supported architectures.
  • Added logger library.
  • Added functionality to check if the picture with flash has the flash centered in the image.
  • New algorithm that checks for damaging brights and warns the user.

Changed

  • Improvements.

Fixed

  • Bug fixes.

3.7.0

Added

  • Added support for front or back camera.

Fixed

  • Bug fixes.

3.6.0

Changed

  • Various aesthetic changes.
  • Migrated to AndroidX.
  • Confirmation screen buttons width configurable.

Fixed

  • Bug fixes.

3.5.0

Added

  • New algorithm to detect documents in worse lightning conditions.
  • New method to take the flash picture when the device camera is out of phase.
  • Made configurable the time without shutter button in obverse and reverse independently.
  • The user is warned when the picture is blurry and advised to go to a place with better light.
  • Added new tutorial view.
  • Added flip animation between obverse and reverse capture.
  • Introduced configurable delay to start searching document in obverse and reverse.

Fixed

  • Bug fixes.

3.4.0

Changed

  • Improved detection of austrian documents.

3.3.2

Added

  • Integrated Firebase Storage.

3.3.0

Added

  • Added possibility to configure more colors.

3.2.0

Added

  • Added button to have the option to take the picture manually.
  • Added configuration of tick image colors.
  • Added configuration of guiding arrows colors.
  • Added more documents included the document XX_XX_XXXX to capture any TD1 document.

Fixed

  • Bug fixes.

3.1.0

Added

  • Added more documents.

Changed

  • More colors are configurable.

Deprecated

  • Delegated methods that return ByteArrayInputStream are deprecated and have been replaced by similar ones that return byte[] and more information about de document detected
  • The start public method is deprecated and has been replaced by startWithDocumentIDs method that accepts the list of document IDs as argument.

Removed

  • The NFC detection is been removed.

Fixed

  • Document detection optimized.
  • Reduction of 25% of the SDK size.
  • Bug fixes.

3.0.0

Added

  • Force focus when the screen is touched.
  • Added possibility to visualize the photo captured and let the user to accept or repeat it.

Changed

  • Reduced the number of unfocused photos in bad brightness conditions.
  • Changed capture progress into a 3,2,1 countdown.
  • Changed colors and texts to a dark theme style.

Fixed

  • Improved speed and detection of the document capture.
  • Bug fixes.

2.9.0

Added

  • Configurable colors.
  • Added confirmation tick at the end of the capture.
  • Added more documents.

Fixed

  • Bug fixes.

2.8.0

Changed

  • Document cut more accurate and fast.

Fixed

  • Bug fixes.

2.7.0

Changed

  • Document detection adjustment to be more flexible.

Fixed

  • Samsung S8 aspect ratio bug fixed.

2.6.1

Changed

  • NFC functionality for document chip reading has been disabled.
  • NFC permission is now optional.

2.6.0

Fixed

  • Library size reduction.

2.5.0

Added

  • Automatic passport detection.
  • Added documents Peru DNI 2007 and Colombia DNI 2000.
  • New delegated method to return the image taken compressed as byte array.
  • Configurable initial alert.
  • VDDocumentFinished returns a boolean that informs about the process been canceled by the user.
  • Possibility to return document cut.
  • NFC configured to NO by default.
  • Possibility to configure picture vibration.

Fixed

  • SDK reduction.

2.4.1

Fixed

  • Corrected blurry pictures with Samsung A5
  • Bug fixes.

2.4.0

Added

  • Added delegate method that warns about the user not been able to complete the process.
  • Back button to close SDK.

Fixed

  • Improved document detection.
  • Bug fixes.

2.3.2

Fixed

  • Bug fixes.
  • Improved performance.

2.3.1

Fixed

  • Bug fixes.
  • Improved performance.

2.3.0

Fixed

  • Solved bug that cause that VDDocumentCaptureFinished was called before VDDocumentCaptured.

2.2.1

Added

  • Added algorithm to check the correctness of the flash picture exposure.

Fixed

  • Bug fixes.

2.2.0

Added

  • Added possibility of configuration of the SDK texts and other elements.

Fixed

  • Corrected some blurry picture captures using exposure compensation.

Changed

  • SDK size reduction from 18.6 MB to 6.6 MB (64.5 % reduced)
  • Deleted reference to DNLog library.

2.1.0

Added

  • Configuration of the possibility to deactivate or activate the NFC.

2.0.0

Added

  • Manual passport capture added.
  • Argentinian 2009 automatic capture.
  • Argentinian 2012 automatic capture.
  • Elastic guides to help the user with the capture.

Changed

  • Document selection avoided. Capability of searching document in real time within a bunch of possible documents.

1.1.0

Added

  • Passport integration.
  • New NFC capture.

1.0.1

Fixed

  • Improved performance

1.0.0

Added

  • First release