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 Aug 22, 2023
1 parent f3d9fc4 commit e4616e5
Show file tree
Hide file tree
Showing 46 changed files with 104 additions and 8 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,21 @@ 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)

## [19.2.0] - 2023-08-22

### Changed

- Fixed the extended white screen issue when the SDK flow starts and finishes.

### Fixed

- Fix Driving license was not displayed for Haiti.

## [19.1.0] - 2023-07-26

### Added

- Introduced dark theme
- Introduced `withTheme(theme)` which enables you to either force set a dark/light theme, or follow the device’s system setting. More details can be found [here](https://documentation.onfido.com/sdk/android/#ui-customization)
- Added theme selection to Onfido SDK's public APIs

### Changed
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ You can use our [sandbox](https://documentation.onfido.com/#sandbox-testing) env

#### 1.1 Regions

Onfido offers region-specific environments. Refer to the [Regions](https://documentation.onfido.com/#regions) section in our API documentation for token format and API base URL information.
Onfido offers region-specific environments. Refer to the [Regions](https://documentation.onfido.com/#regions) section in our API documentation for token format and API base URL information.

### 2. Add the SDK dependency

Expand Down Expand Up @@ -128,8 +128,8 @@ Average size (with Proguard enabled):

| ABI | Size |
| ----------- | :-----: |
| armeabi-v7a | 6.25 Mb |
| arm64-v8a | 7.14 Mb |
| armeabi-v7a | 11.62 Mb |
| arm64-v8a | 11.42 Mb |

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

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

| ABI | Size |
| ----------- | :-----: |
| universal | 3.72 Mb |
| universal | 8.51 Mb |


**Note**: The average sizes were measured by building the minimum possible wrappers around our SDK,
Expand Down Expand Up @@ -676,7 +676,7 @@ onfidoConfigBuilder.withTheme(OnfidoTheme.LIGHT)
#### Appearance and Colors

You can customize colors and other appearance attributes by overriding Onfido themes (`OnfidoActivityTheme`
and `OnfidoDarkTheme`) in your `themes.xml` or `styles.xml`.
and `OnfidoDarkTheme`) in your `themes.xml` or `styles.xml`.
Make sure to set `OnfidoBaseActivityTheme` as the parent of `OnfidoActivityTheme` and `OnfidoBaseDarkTheme` as the parent of `OnfidoDarkTheme` in your style definition.
All colors referenced in the themes should be defined in your `colors.xml`. Alternatively, you can use hexadecimal
color values directly in the themes. When customising fonts, all referenced fonts must be added to your project first.
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 = '19.1.0'
def versionCodeNumber = 1910
def sdkVersion = '19.2.0'
def versionCodeNumber = 1920

android {
compileSdkVersion 32
Expand Down
2 changes: 2 additions & 0 deletions translations/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -554,4 +554,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">حافظ على جهازك والمستندات في وضع تلامس حتى يتم الانتهاء من المسح الضوئي بنجاح</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">إعادة محاولة المسح الضوئي</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">الحصول على التحقق دون NFC</string>
<string name="onfido_doc_capture_header_recording_video">تسجيل الفيديو</string>
<string name="onfido_doc_capture_header_recording_complete">اكتمل التسجيل</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-bg/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -554,4 +554,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Дръжте вашето устройство и документ в контакт, докато сканирането е успешно</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Повторен опит за сканиране</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Получаване на потвърждение без NFC</string>
<string name="onfido_doc_capture_header_recording_video">Запис на видео</string>
<string name="onfido_doc_capture_header_recording_complete">Записът е завършен</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-cs/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -554,4 +554,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Udržujte své zařízení a dokument v kontaktu, dokud nebude skenování úspěšné</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Opakování skenování</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Získej ověření bez NFC</string>
<string name="onfido_doc_capture_header_recording_video">Nahrávání videa</string>
<string name="onfido_doc_capture_header_recording_complete">Nahrávání bylo dokončeno</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-da/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -554,4 +554,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Hold din enhed og dokument i kontakt, indtil scanningen er vellykket</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Prøv at scanne igen</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Bliv bekræftet uden NFC</string>
<string name="onfido_doc_capture_header_recording_video">Optager video</string>
<string name="onfido_doc_capture_header_recording_complete">Optagelsen er fuldført</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Halten Sie den Kontakt zwischen Gerät und Dokument aufrecht, bis der Scanvorgang erfolgreich ist</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Scannen wiederholen</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Lassen Sie sich ohne NFC verifizieren</string>
<string name="onfido_doc_capture_header_recording_video">Videoaufnahme</string>
<string name="onfido_doc_capture_header_recording_complete">Aufnahme abgeschlossen</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-el/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Διατηρήστε τη συσκευή και το έγγραφό σας σε επαφή έως ότου η σάρωση είναι επιτυχής</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Επανάληψη σάρωσης</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Επαληθεύστε χωρίς NFC</string>
<string name="onfido_doc_capture_header_recording_video">Καταγραφή βίντεο</string>
<string name="onfido_doc_capture_header_recording_complete">Η εγγραφή ολοκληρώθηκε</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-en-rGB/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Keep your device and document in contact until the scanning is successful</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Retry scanning</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Get verified without NFC</string>
<string name="onfido_doc_capture_header_recording_video">Recording video</string>
<string name="onfido_doc_capture_header_recording_complete">Recording complete</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-es-rUS/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Mantenga su dispositivo y documento en contacto hasta que el escaneo sea exitoso</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Reintentar escaneo</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Obtener verificación sin NFC</string>
<string name="onfido_doc_capture_header_recording_video">Grabando video</string>
<string name="onfido_doc_capture_header_recording_complete">Grabación completa</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Mantenga su dispositivo y documento en contacto hasta que el escaneo sea exitoso</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Vuelva a intentar escanear</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Verifícate sin NFC</string>
<string name="onfido_doc_capture_header_recording_video">Grabando vídeo</string>
<string name="onfido_doc_capture_header_recording_complete">Grabación completada</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-et/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Hoidke oma seadet ja dokumenti ühenduses, kuni skannimine on edukas</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Proovige uuesti skannida</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Kinnitamine ilma NFC-ta</string>
<string name="onfido_doc_capture_header_recording_video">Video salvestamine</string>
<string name="onfido_doc_capture_header_recording_complete">Salvestamine lõpetatud</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-fa/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -524,4 +524,6 @@
<string name="onfido_avc_face_capture_alert_audio_conflict_body">لطفاً در هنگام ضبط از پخش فایل صوتی در دستگاه خودداری کنید</string>
<string name="onfido_avc_face_capture_alert_mic_conflict_button_primary">سعی مجدد‌</string>
<string name="onfido_avc_face_capture_alert_audio_conflict_button_primary">سعی مجدد‌</string>
<string name="onfido_doc_capture_header_recording_video">ضبط ویدیو</string>
<string name="onfido_doc_capture_header_recording_complete">ضبط کامل شد</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-fi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Pidä laite ja asiakirja kosketuksissa, kunnes skannaus onnistuu</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Yritä skannata uudell.</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Vahvista ilman NFC: tä</string>
<string name="onfido_doc_capture_header_recording_video">Video tallennus</string>
<string name="onfido_doc_capture_header_recording_complete">Tallennus valmis</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-fr-rCA/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Gardez votre appareil et votre document en contact jusqu\'à ce que la numérisation soit réussie</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Réessayer la numérisation</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Vérifier sans NFC</string>
<string name="onfido_doc_capture_header_recording_video">Enregistrement vidéo</string>
<string name="onfido_doc_capture_header_recording_complete">Enregistrement terminé</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Gardez votre appareil et votre document en contact jusqu\'à la fin du scan</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Réessayer le scan</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Vérifier sans NFC</string>
<string name="onfido_doc_capture_header_recording_video">Enregistrement vidéo</string>
<string name="onfido_doc_capture_header_recording_complete">Enregistrement terminé</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-hi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">स्कैनिंग सफल होने तक अपने डिवाइस और दस्तावेज़ को संपर्क में रखें</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">फिर से स्कैन करें</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">एनएफसी के बिना सत्यापित हो जाओ</string>
<string name="onfido_doc_capture_header_recording_video">वीडियो रिकॉर्ड करना</string>
<string name="onfido_doc_capture_header_recording_complete">रिकॉर्डिंग पूरी हुई</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-hr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Držite svoj uređaj i dokument u kontaktu dok skeniranje ne bude uspješno</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Pokušajte ponovno skenirati</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Provjeri bez NFC-a</string>
<string name="onfido_doc_capture_header_recording_video">Snimanje videa</string>
<string name="onfido_doc_capture_header_recording_complete">Snimanje je završeno</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-hu/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">A beolvasás végéig tartsa egymáson a telefont és a dokumentumot</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">A beolvasás megismétlése</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Ellenőrzés NFC nélkül</string>
<string name="onfido_doc_capture_header_recording_video">Videó rögzítése</string>
<string name="onfido_doc_capture_header_recording_complete">Felvétel kész</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-hy/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Ձեր սարքը և փաստաթուղթը կապի մեջ պահեք մինչև սկանավորումը հաջողությամբ ավարտվի</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Կրկին սկանավորել</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Ստացեք հաստատում առանց NFC - ի</string>
<string name="onfido_doc_capture_header_recording_video">Տեսանյութի գրանցում</string>
<string name="onfido_doc_capture_header_recording_complete">Տեսագրումն ավարտված է</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-it/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Mantieni il dispositivo e il documento in contatto fino a quando la scansione non va a buon fine</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Ripeti la scansione</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Ottenere la verifica senza NFC</string>
<string name="onfido_doc_capture_header_recording_video">Registrazione video</string>
<string name="onfido_doc_capture_header_recording_complete">Registrazione completata</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-ja/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">スキャンが成功するまで、デバイスとドキュメントを接触させたままにしてください</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">スキャンを再試行する</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">NFCなしで認証を受ける</string>
<string name="onfido_doc_capture_header_recording_video">ビデオを録画する</string>
<string name="onfido_doc_capture_header_recording_complete">記録が完了しました</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-ko/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">스캔이 성공할 때까지 장치와 문서를 접촉 상태로 유지하십시오.</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">스캔 재시도</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">NFC 없이 인증 받기</string>
<string name="onfido_doc_capture_header_recording_video">비디오 녹화</string>
<string name="onfido_doc_capture_header_recording_complete">녹화 완료</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-lt/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Laikykite įrenginį ir dokumentą susilietusius, kol nuskaitymas bus sėkmingas</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Bandyti nuskaityti dar kartą</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Gauti patvirtinimą be NFC</string>
<string name="onfido_doc_capture_header_recording_video">Įrašomas vaizdo įrašas</string>
<string name="onfido_doc_capture_header_recording_complete">Įrašymas baigtas</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-lv/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Saglabājiet ierīci un dokumentu, līdz skenēšana ir veiksmīga</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Mēģiniet noskenēt atkārtoti</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Iegūt verifikāciju bez NFC</string>
<string name="onfido_doc_capture_header_recording_video">Ieraksta video</string>
<string name="onfido_doc_capture_header_recording_complete">Ieraksts pabeigts</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-ms/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Pastikan peranti dan dokumen anda bersentuhan sehingga pengimbasan berjaya</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Cuba semula pengimbasan</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Dapatkan pengesahan tanpa NFC</string>
<string name="onfido_doc_capture_header_recording_video">Merekod video</string>
<string name="onfido_doc_capture_header_recording_complete">Rakaman selesai</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-nb/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -524,4 +524,6 @@
<string name="onfido_avc_face_capture_alert_audio_conflict_button_primary">Prøv igjen</string>
<string name="onfido_avc_face_capture_alert_audio_conflict_title">En annen app spiller av lyd</string>
<string name="onfido_avc_face_capture_alert_audio_conflict_body">Ikke spill av lyd på enheten din under opptak</string>
<string name="onfido_doc_capture_header_recording_video">Opptak av video</string>
<string name="onfido_doc_capture_header_recording_complete">Opptaket er fullført</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-nl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Houd uw apparaat en document in contact totdat het scannen is gelukt</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Probeer opnieuw te scannen</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Word geverifieerd zonder NFC</string>
<string name="onfido_doc_capture_header_recording_video">Video opnemen</string>
<string name="onfido_doc_capture_header_recording_complete">Opname voltooid</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-nn/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -524,4 +524,6 @@
<string name="onfido_avc_face_capture_alert_audio_conflict_button_primary">Prøv igjen</string>
<string name="onfido_avc_face_capture_alert_audio_conflict_title">En annen app spiller av lyd</string>
<string name="onfido_avc_face_capture_alert_audio_conflict_body">Ikke spill av lyd på enheten din under opptak</string>
<string name="onfido_doc_capture_header_recording_video">Opptak av video</string>
<string name="onfido_doc_capture_header_recording_complete">Opptaket er fullført</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-pl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Trzymaj urządzenie i dokument w kontakcie, dopóki skanowanie się nie powiedzie</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Ponów skanowanie</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Uzyskaj weryfikację bez NFC</string>
<string name="onfido_doc_capture_header_recording_video">Nagrywanie wideo</string>
<string name="onfido_doc_capture_header_recording_complete">Nagrywanie zakończone</string>
</resources>
2 changes: 2 additions & 0 deletions translations/values-pt-rBR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,6 @@
<string name="onfido_nfc_scan_error_inter_passport_list_item_2">Mantenha seu dispositivo e documento em contato até que a verificação seja bem-sucedida</string>
<string name="onfido_nfc_scan_error_inter_passport_primary_button">Repetir digitalização</string>
<string name="onfido_nfc_scan_error_inter_passport_secondary_button">Seja verificado sem NFC</string>
<string name="onfido_doc_capture_header_recording_video">Gravando vídeo</string>
<string name="onfido_doc_capture_header_recording_complete">Gravação concluída</string>
</resources>
Loading

0 comments on commit e4616e5

Please sign in to comment.