Release notes
6.7.0 (March 10, 2025)
🚀 Performance Improvement
Faster SDK loading time
Simplified the camera initialization process, reducing unnecessary operations and improving efficiency.
🛠 Improvements/Fixes
Removal of camera switching options
The following appearance options have been removed:
hideCameraSwitchButton
cameraSwitchButtonIconSize
cameraSwitchButtonIconColor
cameraSwitchButtonIcon
Fixes for screen rotation issues
Fixed issues where the interface was not correctly rendered when switching between portrait and landscape mode on Android and iOS devices.
Improved the consistency of the modal display when changing screen orientation.
6.6.1 (February 26, 2025)
🛠 Improvements/Fixes
Modal display issues on iOS and during screen orientation changes
Fixed an issue on iOS devices where the SDK modal was not displayed correctly when starting the capture process in portrait mode.
Fixed issues on some devices where the SDK modal was not displayed correctly when the screen orientation was changed.
Improved event listener management to prevent unexpected behavior and memory leaks.
6.5.2 (February 04, 2025)
🐛 Bug fix
6.5.1 (January 31, 2025)
🐛 Bug fix
Improve camera choice on iPhone
6.5.0 (January 30, 2025)
🚨 Breaking change
Removal of permissions initialization method
The method initPermissions
has been removed in this version. The SDK now automatically initializes the required permissions when the SDK is initialized.
🆕 New feature
⛔ Prevent camera access requests in upload mode
The SDK now prevents unnecessary camera access requests during the upload mode. The camera access request is only triggered when the user starts the capture on "automatic" or "manual" mode.
🛠 Improvements/Fixes
Enhanced SDK UI behavior with animations and better handling of modal states.
Fixed bugs related to camera initialization, UI behavior, and error handling.
6.4.0 (January 29, 2025)
Important Notice: Experimental Feature This version introduces an experimental feature flag that may undergo changes in the future. When using this flag, it is important to be prepared for code updates in future versions.
🆕 New feature
Auto-detect file extension during upload
The feature flag uploadMimeDetection
enables the SDK to automatically detect the file extension of the uploaded document. This feature is disabled by default.
For this feature to work, the expectedDocument
must be RG_FULL
or CNH_FULL
. When enabled, the SDK will apply the following validations:
If the uploaded document is a PDF, it must contain both the front and back sides in the same file.
If the uploaded document is an image, you must upload two separate images: the first with the front and the second with the back of the document.
This feature allows users to upload RG_FULL
and CNH_FULL
documents without manually specifying the file extension.
6.3.0 (December 26, 2024)
🆕 New features
📷 Framing Analyzer Toggle
6.2.0 (December 16, 2024)
Important Notice: Breaking Changes Ahead This version includes significant breaking changes that will impact how you use the SDK. We highly recommend reviewing the full release notes and the updated documentation before upgrading to this version.
🚨 Breaking changes
🛠 SDK instanciation/builder
The SDK class DocumentDetectorSdk
has been renamed to DocumentDetector
.
The following parameters have been removed from the options
object:
capturerSettings.disableAdvancedCapturing
📷 Capture method
The following parameters have been removed from the capture
method:
container
(now the SDK will be displayed as a modal)stages
The method output has also changed. The following properties have been removed:
🆕 New features
🖼️ New UI
The SDK now displays a new UI that improves the user experience and the document capture process. Instead of displaying the SDK in a container, the SDK is now displayed as a modal that covers the entire screen, making it easier for the user to capture the document.
🧠 New AI model
The SDK now uses a new AI model to help the user to correctly position the document in the camera. This new model increases the percentage of successful captures and the OCR accuracy.
📊 Analytics options
Added debug mode to the SDK. This mode will display additional information in the console. To enable it, set the analytics.enableDebugMode
option to true
when creating the SDK instance.
🎨 Appearance options
Added an option to customize the icon color of the SDK close button. Use the
appearance.general.closeButtonIconColor
option to set the color.
📨 Customize messages
📷 Capture process
🔓 Init permissions method
🤖 Load AI model method
🖥️ Browser support checker
❓ SDK initialization checker
🛠 Improvements/Fixes
Added a mechanism to force the SDK capture mode to "manual" when the user device is not performing well with the "automatic" mode.
Fixed an issue where the SDK would not display the whole camera view to the user, causing the captured image to be different from what is displayed.
Removed incorrect constraints causing slowness during the capture process, particularly in two-sided document captures.
Improved the frame analysis process to avoid being performed concurrently, which caused performance issues on some cases.
Fixed an issue where the frame captured was not the same as the one analyzed by the AI model, which could cause incorrect results.
Last updated