Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Onfido Android Team committed Feb 24, 2023
1 parent a9c59ce commit 6f7bd4b
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 12 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,24 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
are responsible for testing your translated layout in case you are using custom
translations. [More on language localisation](README.md#4-localisation)

## [16.0.0] - 2023-02-21

### Added

- Support audio recording in Motion
- Created a secure module to extend Onfido SDK device intelligence
- Onfido Secure SDK artifact has been removed. Please use the new device intelligence module.

### Changed

- Removed depreceated UserEventHandler. Please use OnfidoConfig.builder(context).withAnalyticsEventListener().
- Improve picture frame selection algorithm
- Added user analytics listener to WorkflowConfig builder. Similar to the normal flow, you can now attach your analytics listener to your config using WorkflowConfig.builder(context).withAnalyticsEventListener(listener).

### Fixed

- Navigate to Permissions denied screen instead of getting back to Intro screen when not all required permissions granted

## [15.4.1] - 2023-01-27

### Changed
Expand Down
5 changes: 5 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Onfido Android SDK Migration Guide

## `15.4.0` -> `16.0.0`

### Breaking changes
- Removed setUserEventHandler and getUserEventHandler for the UserEventHandler since it is deprecated. Please use OnfidoConfig.builder(context).withAnalyticsEventListener().

## `15.3.0` -> `15.4.0`

### String Changes
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ Average size (with Proguard enabled):

| ABI | Size |
| ----------- | :-----: |
| armeabi-v7a | 8.08 Mb |
| arm64-v8a | 8.97 Mb |
| armeabi-v7a | 8.07 Mb |
| arm64-v8a | 8.96 Mb |

#### 2.2 `onfido-capture-sdk-core`

Expand Down
4 changes: 2 additions & 2 deletions sample-app/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.application'

def sdkVersion = '15.4.1'
def versionCodeNumber = 1541
def sdkVersion = '16.0.0'
def versionCodeNumber = 1600

android {
compileSdkVersion 32
Expand Down
10 changes: 2 additions & 8 deletions strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@
<string name="onfido_enter_can_subtitle">Please make sure the number provided matches the number on the document.</string>
<string name="onfido_enter_can_button_primary">Continue</string>
<string name="onfido_enter_can_disclaimer">The %d-digit number is located at the front of your document.</string>
<string name="onfido_enter_can_error_label">You have %d %s left.</string>
<string name="onfido_enter_can_error_label">You have [%i] [%s] left.</string>
<string name="onfido_enter_can_substring_attempt_singular">attempt</string>
<string name="onfido_enter_can_substring_attempt_plural">attempts</string>

Expand Down Expand Up @@ -419,13 +419,7 @@
<string name="onfido_avc_face_capture_alert_too_fast_title">You turned your head too fast</string>
<string name="onfido_avc_face_capture_alert_too_fast_body">Please retry and turn your head slower</string>
<string name="onfido_avc_face_capture_alert_too_fast_button_primary">Retry</string>
<string name="onfido_avc_face_capture_alert_mic_conflict_title">Your microphone is being used by another app</string>
<string name="onfido_avc_face_capture_alert_mic_conflict_body">Please end any ongoing calls or activities that are using your microphone during the recording</string>
<string name="onfido_avc_face_capture_alert_mic_conflict_button_primary">Retry</string>
<string name="onfido_avc_no_face_detected_title">We can\'t detect your face</string>
<string name="onfido_avc_face_capture_alert_audio_conflict_title">Audio is being played by another app</string>
<string name="onfido_avc_face_capture_alert_audio_conflict_body">Please do not play any audio on your device during the recording.</string>
<string name="onfido_avc_face_capture_alert_audio_conflict_button_primary">Retry</string>
<string name="onfido_avc_no_face_detected_title">We can\'t detect your face</string>
<string name="onfido_avc_no_face_detected_list_item_lighting">Make sure to be in a place with good lighting</string>
<string name="onfido_avc_no_face_detected_list_item_eyes">Make sure your eyes are clearly visible</string>
<string name="onfido_avc_no_face_detected_list_item_mask">Make sure to remove masks or other items that cover your face. Eyeglasses are okay</string>
Expand Down

0 comments on commit 6f7bd4b

Please sign in to comment.