github onfido/onfido-sdk-ui 2.7.0

latest releases: 14.45.0, 14.44.0, 13.8.5...
6 years ago

2.7.0 - 2018-09-03

Added

  • Public: Introduced ability to capture videos on the face step. Developers can now request a preferred variant for the face step, by adding the option requestedVariant: 'standard' | 'video'. If empty, it will default to standard and a photo will be captured. If the requestedVariant is video, we will try to fulfil this request depending on camera availability and device/browser support. In case a video cannot be taken the face step will fallback to the standard option. At the end of the flow, the onComplete callback will return the variant used to capture face and this can be used to initiate the facial_similarity check.

Changed

  • Public: The onComplete callback now returns an object including the variant used for the capture step. The variant can be used to initiate the facial_similarity check. Data returned: {face: {variant: 'standard' | 'video'}}.
  • UI: Selfie UI to adopt full container layout on desktop.
  • Internal: CSS namespacing now includes the full path of the component, to mitigate chances of name collision. Only impacts components nested in another component folder.

Don't miss a new onfido-sdk-ui release

NewReleases is sending notifications on new releases.