Skip to content

Releases: onfido/onfido-sdk-ui

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

5.9.0

28 Apr 14:47
Compare
Choose a tag to compare

Added

  • Public: Added German translation and Lokalise integration. The expected language tags are now en_US, es_ES, de_DE. For backward compatibility, the SDK can also be initialised with tags that do not include the region, e.g.en, es, de.
  • Public: Added information on api/token regions to documentation.
  • Internal: Added CA region in demo app. The region can be selected in the previewer or by using a query string.

Changed

  • Public: Updated to [email protected] to have fix for camera stream not getting on some Android devices, e.g. Motorola G5, Samsung Galaxy A6

Fixed

  • Public: Fix moderate vulnerabilities in minimist, a sub-dependecy used by @babel/cli and @babel/register.
  • Public: Fixed hybrid device camera detection and access request
  • Public: Fixed bug where user is able to click/tap on the button on the Camera screen before allowing/denying permission.
  • Public: Fixed iPads on iOS13 not getting detected as mobile device on cross device flow.

5.8.0

19 Mar 12:33
Compare
Choose a tag to compare

Added

  • Public: Changes to allow hybrid desktop/mobile devices with environment facing cameras (e.g. Surface Pro) to use the useLiveDocumentCapture feature (BETA feature)
  • Public: Added a userAnalyticsEvent to existing analytics calls for integrators to listen for.
  • Internal: Analytics can now be disabled via the disableAnalytics option
  • Internal: Test coverage for snapshot feature
  • Internal: Send additional properties to back-end in sdkMetadata object
    • isCrossDeviceFlow (true|false)
    • deviceType (mobile|desktop)
    • captureMethod (live|html5)

Changed

  • Internal: Use v2/snapshots endpoint to upload additional selfie frames.
  • Internal: Split Confirm component into multiple files.
  • UI: Accessibility - Update font colours and weight following DAC Audit report feedback
  • Internal: Pushing dist files to S3 and publishing the release to NPM has been automated using GitHub Actions
  • Internal: Improve UI tests stability when looking for and clicking on UI elements
  • Public: Documentation should use v3 for API endpoints and include links to migration guide.

Fixed

  • Public: Fixed bug where iPads on iOS13 were detected as desktop devices.
  • Public: Made fallback error message appropriate for both face and document verification
  • Public: Fixed video recording in liveness capture step not working for Firefox >= 71
  • Internal: Fix flaky modal UI tests
  • Public: Fixed bug where blob was not handled correctly when an upload event was fired on IE11
  • Public: Fixed camera permission screen layout issue on desktop Safari where buttons disappears below view height
  • Public: Prevent "submit" event from being emitted when selecting a document

5.7.1

25 Feb 22:59
Compare
Choose a tag to compare

Fixed

  • Public: Cross-device client and link now works when desktop SDK configured with US JWT

5.7.0

22 Jan 15:54
Compare
Choose a tag to compare

5.7.0

Added

  • Public: Added a troubleshooting section to the documentation with details about solving CSP related issues
  • UI: Added selfie intro screen
  • UI: Option to send cross device secure link using QR code (Note: changes introduced with this UI update include possible breaking changes for integrators with custom translations or copy)

Changed

  • UI: Unsupported browser message for mobile browsers without getUserMedia API support when uploadFallback option is disabled for live document capture and selfie/liveness capture steps
  • Internal: Redux and EventEmitter are not in the global scope anymore. The tearDown function will only unmount the SDK.
  • UI: As part of work to add the QR code option for cross device secure link the UX has been updated for the copy link and SMS options

Fixed

  • Internal: Fixed Latest Surge link version not getting updated during release process
  • UI: Fixed Liveness capture staying darkened after x-device message dismissed
  • Accessibility: Changed Liveness background colour from 66% to 80%

5.6.0

12 Dec 16:30
Compare
Choose a tag to compare

5.6.0

Note: This version might be a breaking change if you are providing customised language translations. Please see MIGRATION.

Added

  • Internal: Added UI test to check Submit Verification button is not clickable multiple times if Complete step is excluded
  • Internal: Deploy source maps to Sentry using @sentry/cli within our deployment script

Changed

  • Internal: Updated react-webcam-onfido to get check(s) for stream before calling getVideoTracks/getAudioTracks method
  • Internal: Removed libphonenumber-js from main bundle. Reduced bundle size limit by 20%.
  • Internal: Use @sentry/browser instead of raven to track Sentry events
  • UI: New Document Upload screen (Note: changes introduced with this UI update include possible breaking changes for integrators with custom translations or copy)

Fixed

  • Internal: Latest Surge link gets updated only on release of a full version, not release candidates or beta releases
  • UI: Fixed missing "basic camera mode" link style on "Camera not working" timeout error message when going through flow on mobile
  • UI: Fixed Back button not taking user to the right place during liveness recording
  • UI: Fixed invalid but possible number error blocking subsequent retries
  • UI: Users should not be able to click or tap on confirmation buttons or camera buttons multiple times. This will prevent callbacks (such as the onComplete callback) or click events to be fired multiple times.

5.5.0

31 Oct 17:17
Compare
Choose a tag to compare

5.5.0

Added

  • Public: useLiveDocumentCapture option added to the document capture step (BETA feature)

Fixed

  • UI: Accessibility - Non-interactive Header elements do not get announced with "Double tap to activate" by Android Talkback
  • UI: Custom string nextButton set for the welcome step is now displayed
  • Internal: Fixed flaky UI tests by adding functions that wait until the elements are located or clickable