Skip to content

Releases: onfido/onfido-sdk-ui

6.0.0

17 Sep 10:01
Compare
Choose a tag to compare

6.0.0

Added

  • UI: Add country selection screen after document selection. This screen is skipped by default for a preselected document but can still be displayed by enabling the showCountrySelection option for the document step.
  • UI: New warnings for cut-off & blurry images detection.
  • UI: When the uploaded image is either cut-off, glary or blurry, the end-user must retry at most 2 times prior to proceeding further.
  • Internal: The release script and the release/RELEASE_GUIDELINE.md file now include the information needed to update the MIGRATION.md file.
  • UI: Added Residence Permit option for document selection

Changed

  • Internal: Changed resolution constraints for live document captures from 720 to 1080.
  • Public: Remove SMS_BODY key from locale files as it's not a customisable key and does not belong to this codebase.

Fixed

  • Public: Return a generic error for unmapped Onfido API validation keys.
  • Fix typo in PhoneNumberInput SASS styles producing invalid CSS
  • UI: Fixed inconsistent font family for non Primary, Secondary button elements.

5.13.0

24 Aug 11:14
Compare
Choose a tag to compare

Added

  • Public: Added isCrossDevice flag to user analytics events to differentiate between cross-device and non-cross-device user analytic events
  • Public: Added DOCUMENT_TYPE_SELECT and FACIAL_CAPTURE to user analytics event list
  • Public: Added option to pass a container element containerEl instead of a container ID string containerId. If containerEl is provided, then containerId will be ignored.

Changed

  • Internal: Sass CSS pre-processor is now used instead of Less.
  • Public: Fix live camera issues on certain Android devices, such as Huawei P20, when the useLiveDocumentCapture option for documents is enabled.
  • Internal: Fix cross-device SMS number input bundle import that broke when using newer versions of @babel/preset-env.
  • Internal: Added Prettier code formatting on npm run lint
  • Internal: Hybrid devices are now detected by checking if the device has touch screen and is Windows, instead of calling getUserMedia.
  • Internal: Use Onfido API v3 endpoints for documents, live_photos, live_videos and snapshots.
  • Public: When uploadFallback option is disabled for document or face live captures, display the unsupported browser error at the beginning of the flow.

Fixed

  • Public: Fixed spelling mistakes in Spanish translations for cross_device.link.sms_option and cross_device.link.qr_code_sub_title

5.11.3-LTS

27 Jul 15:01
Compare
Choose a tag to compare

Fixed

  • UI: Fix CTA button blocking instructions on iPhone SE.

5.11.2-LTS

16 Jul 17:37
Compare
Choose a tag to compare

Fixed

  • Public: Fix empty file sometimes being sent to /snapshots endpoint on some browsers when useMultipleSelfieCapture is enabled. This results in user seeing a "Unsupported File" error on Selfie upload.

5.12.0

08 Jul 15:51
Compare
Choose a tag to compare

Added

  • Public: Added new enterprise feature cobrand. This allows integrators with access to the feature to display a co-branded footer with their company name, followed by "powered by Onfido" on all screens, including cross-device. Note that this will not be displayed if the hideOnfidoLogo enterprise feature is also enabled.
  • Internal: Added bundle size limit check for dist/style.css.
  • Public: Fix empty file sometimes being sent to /snapshots endpoint on some browsers when useMultipleSelfieCapture is enabled. This results in user seeing a "Unsupported File" error on Selfie upload.

5.11.1-LTS

01 Jul 21:00
Compare
Choose a tag to compare

Fixed

  • Public: Fix issue preventing the SDK from loading or being updated in runtime if a step with type document is not found.

5.11.0-LTS

30 Jun 19:08
Compare
Choose a tag to compare

Added

  • Public: Added check for cross_device_url in SDK Token to be used as the link for all cross device options instead of the default HOSTED_SDK_URL, if present. cross_device_url is an enterprise feature and can only be set when creating a SDK token if the feature is enabled.
  • Public: Added new enterprise feature hideOnfidoLogo. When purchased and enabled allows integrator to hide the Onfido logo on all screens, including cross-device.
  • UI: Added passport quality guide before upload/capture.

Changed

  • Public: Use history/createBrowserHistory as the default option to manage the SDK history. This change also gives the integrators the option to use history/createMemoryHistory by passing the configuration option useMemoryHistory: true to the SDK, in case history/createBrowserHistory does not behave as expected.
  • UI: Updated to new Onfido SDK watermark design

Fixed

  • Public: Fix issue that affects Safari on iOS 13.4.1, where the SDK was showing the wrong image rotation.
  • Public: Fix false Missing keys warning for present mobilePhrases. The warning should only be displayed when translation keys are missing.
  • Internal: Fix failing IE11 UI test for Passport upload

5.10.0

16 Jun 09:51
Compare
Choose a tag to compare

Added

  • Internal: Added basic history to SDK demo.
  • Public: Added French translation. The language tag is fr_FR.

Changed

  • Internal: Remove unused dependencies and scripts from package.json
  • Public: Update description for region queryString in CONTRIBUTING.md
  • Public: Updated Browser Compatibility section in README.md to better indicate IE11, Firefox support
  • Public: Update English copy text for error message shown when no document is in the cameras view
  • Public: The useMultipleSelfieCapture configuration option is now stable and enabled by default
  • UI: All primary/secondary buttons now use the new width styling. This change also fixes the buttons UI issues noticeable when using de_DE as a language.

Fixed

  • UI: Accessibility - Focus is at document start
  • Public: Fix unexpected back button behaviour due to createBrowserHistory usage. The SDK now uses createMemoryHistory.
  • UI: Fixed blank screen displaying instead of Cross Device screen on desktop browsers when uploadFallback is disabled and browser does not have getUserMedia API support, e.g. IE11, or device does not have a camera.

5.9.2

19 May 10:24
Compare
Choose a tag to compare

Fixed

  • UI: Fixed 2000ms delay to load Document Capture screen on non-Safari browsers

5.9.1

15 May 07:21
Compare
Choose a tag to compare

Fixed

  • UI: Camera not detected on Safari 13.1 on iOS 13.4.1, macOS 10.15.4