2.4.2
Platform-related SDK changes
- We've added methods for programmatically starting camera and image scan when using the UI component.
- It's possible to call
startCameraScan()
andstartImageScan(File)
methods on the custom web element.
- It's possible to call
- We've standardized error structures returned from the WebAssembly library and the UI component.
- See SDKError.ts and ErrorTypes.ts for a complete list of possible error codes.
- We've completed support for
part::
selector and added an example. - We've simplified integration of the UI component with Angular and React frameworks.
- Integration guide for Angular
- Integration guide for React
Bug fixes
- We've ensured that all SDK errors can be visible from
fatalError
andscanError
events in the UI component. - We've fixed a bug where a user couldn't upload an image after the camera scan failed to start.
- We've fixed a bug where the video feed wasn't released in the scenario where the UI component was removed from the DOM.
- We've improved memory management during the initialization of the UI component to avoid the creation of unnecessary web workers.