From 39c3f049e0c19a1fe1a867f020ec0b84e59625c3 Mon Sep 17 00:00:00 2001 From: Will Morgan Date: Thu, 4 Mar 2021 23:39:51 +0000 Subject: [PATCH] 3.1.5 --- CHANGELOG.md | 17 +++++++++++++++++ README.md | 21 +++++++++++++-------- 2 files changed, 30 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e6505c..516c847 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 4.3.2021 3.1.5 + +## Fixed + +- Fixed starting in landscape orientation then rotating to portrait UI issues +- Improved GPA flash timing, particularly on Android +- Improved low FPS detection +- Added missing `feedback` property from some error events +- Fixed documentation to correctly reflect `error_fullscreen_change` and `error_no_face_found` event names +- Fixed instances when rare Android Native SDK crashes may take the Web SDK with them, too +- Fixed occasional `.emit` function not found errors +- Fixed issues when lower end Android cameras were unable to request a video feed in a useful aspect ratio + +## Added + +- Added `error_no_face_found` to public documentation + ## 12.2.2021 3.1.4 ## Fixed diff --git a/README.md b/README.md index b793170..fb5ecd1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# iProov Biometrics Web SDK v3.1.4 +# iProov Biometrics Web SDK v3.1.5 ## 📖 Table of contents @@ -213,17 +213,21 @@ Note that inline CSS _is_ needed to provide critical styles for `` fo #### Allow Landscape -When `allow_landscape` is set to `false`, all handheld devices except Android tablets will be prevented from starting in landscape orientation. The iProov component will display the `rotate_portrait` slot when in landscape. +When `allow_landscape` is set to `true`, handheld devices will be able to start in landscape orientation. -By default, all devices are allowed in landscape orientation. +Here is the behaviour: +* For GPA and Liveness, landscape orientation is blocked in most handheld devices. +* For Liveness, no handheld device will be able to start in landscape mode, regardless of this setting. +* This blocking behaviour is not enforced Android tablets due to the varying position of their camera. +* When in landscape mode in an affected UX, the iProov component will display the `rotate_portrait` slot. +* Desktop devices are unaffected by `allow_landscape`. -See [slots](#-slots) for details on how to override the `rotate_portrait` slot. The example below would prevent all devices from being able to iProov while in landscape orientation. +See [slots](#-slots) for details on how to override the `rotate_portrait` slot. ```html - + ``` -Note that desktop devices are unaffected by `allow_landscape`. Android based tablet devices are exempt due to the common position of their camera. #### Show Countdown @@ -404,7 +408,7 @@ The available events are detailed below with any extra properties that are suppl | **ready** | None | iProov has initialised successfully and has camera permission | | **started** | None | User has started iProov by launching into fullscreen | | **streaming** | None | User has started streaming. The client remains in fullscreen. | -| **streamed** | None | User has finished streaming and the client has exited fullscreen | +| **streamed** | None | User has finished streaming and the client has exited fullscreen _(Not guaranteed to fire every time due to a possible fast failure or any errors that can occur and should be handled within your event handlers accordingly)_ | | **unsupported** | _feedback, reason_ | Browser does not support using iProov | > \* See [Multiple Camera Example](https://github.com/iProov/web/wiki/Camera-Selection-Example) for an example demonstrating how a camera selection feature could be implemented. @@ -434,10 +438,11 @@ In the case of the **cancelled**, **interrupted**, **failed**, **error** and **u | Feedback | Reason | Event | | ------------------------------------- | --------------------------------------------------------- | -----------------------: | | **client_browser** | The browser is not supported | _unsupported_ | -| **fullscreen_change** | Exited fullscreen without completing iProov | _cancelled, interrupted_ | +| **error_fullscreen_change** | Exited fullscreen without completing iProov | _cancelled, interrupted_ | | **ambiguous_outcome** | Sorry, ambiguous outcome | _failed_ | | **error_camera_in_use** | The camera is already in use and cannot be accessed | _error_ | | **error_expired_token** | The token has already been used or has expired | _error_ | +| **error_no_face_found** | No face could be found | _error_ | | **error_invalid_token** | The token is invalid | _error_ | | **lighting_backlit** | Strong light source detected behind you | _failed_ | | **lighting_face_too_bright** | Too much light detected on your face | _failed_ |