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 Mar 6, 2023
1 parent c1c02ff commit e4b8382
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 8 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,26 @@ 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.1.0] - 2023-03-06

### Changed

- Handle audio conflicts when there is an audio playing before start recording
- Added translations for audio in Motion strings
- Handle mic conflicts when another app is using mic before starting recording
- Updated MLKit Face Detection library
- Added MLKit Face Detection Module check in addition to Google Play Services check in order to fallback to Selfie/Video
- Updated supported document file to include Honduras national ID

### Fixed

- Fixed Hebrew language translation issue
- Fixed Indonesian language translation issue
- Fixed a crash when no cameras available on the device
- Fix SDK crash when app is brought to background and restored after a while
- Removed version name suffixes from header and created a new header to include the variant of the SDK used
- Fixed the Workflow-related crash

## [16.0.1] - 2023-02-27

### Fixed
Expand Down
6 changes: 3 additions & 3 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.07 Mb |
| arm64-v8a | 8.96 Mb |
| armeabi-v7a | 8.10 Mb |
| arm64-v8a | 8.99 Mb |

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

Expand All @@ -149,7 +149,7 @@ Average size (with Proguard enabled):

| ABI | Size |
| ----------- | :-----: |
| universal | 5.54 Mb |
| universal | 5.57 Mb |


**Note**: The average sizes were measured by building the minimum possible wrappers around our SDK,
Expand Down
6 changes: 3 additions & 3 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 = '16.0.1'
def versionCodeNumber = 1601
def sdkVersion = '16.1.0'
def versionCodeNumber = 1610

android {
compileSdkVersion 32
Expand Down Expand Up @@ -55,7 +55,7 @@ dependencies {
testImplementation 'junit:junit:4.12'

// only required to support TLSv1.2 for devices with Android API lower than 5.x
implementation('com.google.android.gms:play-services-base:17.5.0') {
implementation('com.google.android.gms:play-services-base:18.2.0') {
exclude group: 'com.android.support' // to avoid conflicts with your current support library
}
}
10 changes: 8 additions & 2 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 [%i] [%s] left.</string>
<string name="onfido_enter_can_error_label">You have %d %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,7 +419,13 @@
<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_no_face_detected_title">We can\'t detect your face</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_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 e4b8382

Please sign in to comment.