Skip to content

Commit

Permalink
Merge pull request #407 from onfido/release/32.1.0
Browse files Browse the repository at this point in the history
Release 32.1.0
  • Loading branch information
vguerci authored Nov 13, 2024
2 parents 08afbce + 7b28120 commit 5095442
Show file tree
Hide file tree
Showing 49 changed files with 135 additions and 49 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,24 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

**Note**: If the strings translations change it will result in a MINOR version change, therefore you are responsible for testing your translated layout in case you are using custom translations. [More on language localisation](README.md#language-customisation)

## [32.1.0] - 2024-11-04

### Added

- Changed key used for Motion network error screen's button text from `onfido_avc_connection_error_button_primary_reload` to `onfido_avc_connection_error_button_secondary_restart_recording`
- Added option to hide Motion intro screen using `MotionStepConfiguration(showIntro: false)`, or via the Studio dashboard

### Changed

- Motion capture restarts instead of returning to the intro screen when the app returns to the foreground
- The listed countries in the country list selector are now localized in the device's current locale and their endonym
- Improved NFC document coverage and overall reliability
- Improved loading transition between flow steps

### Fixed

- Fixed a bug where consent screen action buttons remain disabled when consent content doesn't overflow

## [32.0.0] - 2024-10-28

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ let package = Package(

.binaryTarget(
name: "Onfido",
url: "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v32.0.0.zip",
checksum: "0355c85bcb0f6c8a3fc3ed37cdb93bb9f3cdc42d874972ff7e56ad885c95ca66"
url: "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v32.1.0.zip",
checksum: "29a39f94f011a9de57e0f299eccc904f26865329b082c2edb754ab7288d23517"
),


Expand Down
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1157,6 +1157,17 @@ Builder * variantBuilder = [ONFaceStepVariantConfig builder];
[configBuilder withFaceStepOfVariant: [variantBuilder buildAndReturnError: &error]];
```
To configure for **Motion without intro screen**:
The intro screens are designed to give end-users clear context on what actions they need to take and why these actions are necessary. Removing this screen could lead to confusion and higher drop-off rates, as users might not understand what is required of them and choose to abandon the process. It is crucial, especially during onboarding, to provide a similar level of guidance if the intro screen is removed, ensuring users are still well-informed. However, when re-verifying returning users who are already familiar with the flow, skipping the intro screen may enhance the user experience by streamlining the process and eliminating unnecessary steps.
```
NSError * error;
Builder * variantBuilder = [ONFaceStepVariantConfig builder];
[variantBuilder withMotionWithConfig: [[MotionStepConfiguration alloc] initWithShowIntro: NO]];
[configBuilder withFaceStepOfVariant: [variantBuilder buildAndReturnError: &error]];
```
##### Swift
The Face step has 3 variants for the **Swift interface**:
Expand Down Expand Up @@ -1209,6 +1220,19 @@ let config = try OnfidoConfig.builder()
.build()
```

To configure for **Motion without intro screen**:

The intro screens are designed to give end-users clear context on what actions they need to take and why these actions are necessary. Removing this screen could lead to confusion and higher drop-off rates, as users might not understand what is required of them and choose to abandon the process. It is crucial, especially during onboarding, to provide a similar level of guidance if the intro screen is removed, ensuring users are still well-informed. However, when re-verifying returning users who are already familiar with the flow, skipping the intro screen may enhance the user experience by streamlining the process and eliminating unnecessary steps.

```swift
let config = try OnfidoConfig.builder()
.withSDKToken("<YOUR_SDK_TOKEN_HERE>")
.withWelcomeStep()
.withDocumentStep()
.withFaceStep(ofVariant: .motion(withConfiguration: MotionStepConfiguration(showIntro: false)))
.build()
```

#### Proof of Address step

In the Proof of Address step, a user picks the issuing country and type of document that proves their address before
Expand Down Expand Up @@ -1706,7 +1730,7 @@ MOTION_FACIAL_CONNECTION_ERROR - User was presented the "Motion connection error

## Custom biometric token storage

When using the decentralized authentication solution, by default the SDK manages biometric token storage. The SDK also allows you to have control over the token lifecycle by exposing an API to override the default implementation to read and write the token, so it can be stored on-device, in the cloud, in a keychain or on your servers.
When using the authentication with local storage solution, by default the SDK manages biometric token storage. The SDK also allows you to have control over the token lifecycle by exposing an API to override the default implementation to read and write the token, so it can be stored on-device, in the cloud, in a keychain or on your servers.

### Implementation

Expand Down
2 changes: 1 addition & 1 deletion SampleApp/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def setup_shared_pods
use_frameworks!
inhibit_all_warnings!

pod 'Onfido', '32.0.0'
pod 'Onfido', '32.1.0'
end

target 'SampleApp' do
Expand Down
2 changes: 1 addition & 1 deletion SampleAppObjC/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def setup_shared_pods
use_frameworks!
inhibit_all_warnings!

pod 'Onfido', '32.0.0'
pod 'Onfido', '32.1.0'
end

target 'SampleAppObjC' do
Expand Down
3 changes: 2 additions & 1 deletion localization/Localizable_DE.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "Vollständige Adresse";
"onfido_poa_guidance_instructions_address_card_issue_date" = "Datum der Ausgabe";
"onfido_poa_guidance_instructions_expiry_date" = "Verfallsdatum, falls zutreffend";
"onfido_qes_consent_introduction_validation" = "Zustimmung erforderlich";
"onfido_qes_consent_introduction_validation" = "Zustimmung erforderlich";
"onfido_otp_send_code_error_invalid_country_code" = "Entschuldigung, wir unterstützen diesen Ländercode nicht";
3 changes: 2 additions & 1 deletion localization/Localizable_EN.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "Full address";
"onfido_poa_guidance_instructions_address_card_issue_date" = "Issue date";
"onfido_poa_guidance_instructions_expiry_date" = "Expiry date if applicable";
"onfido_qes_consent_introduction_validation" = "Consent required";
"onfido_qes_consent_introduction_validation" = "Consent required";
"onfido_otp_send_code_error_invalid_country_code" = "Sorry, we do not support this country code";
3 changes: 2 additions & 1 deletion localization/Localizable_ES.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "Dirección completa";
"onfido_poa_guidance_instructions_address_card_issue_date" = "Fecha de publicación";
"onfido_poa_guidance_instructions_expiry_date" = "Fecha de caducidad, si procede";
"onfido_qes_consent_introduction_validation" = "Se requiere consentimiento";
"onfido_qes_consent_introduction_validation" = "Se requiere consentimiento";
"onfido_otp_send_code_error_invalid_country_code" = "Lo sentimos, no admitimos este código de país";
3 changes: 2 additions & 1 deletion localization/Localizable_FR.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "Adresse complète";
"onfido_poa_guidance_instructions_address_card_issue_date" = "Date d'émission";
"onfido_poa_guidance_instructions_expiry_date" = "Date d'expiration, le cas échéant";
"onfido_qes_consent_introduction_validation" = "Consentement requis";
"onfido_qes_consent_introduction_validation" = "Consentement requis";
"onfido_otp_send_code_error_invalid_country_code" = "Désolé, nous ne prenons pas en charge ce code pays";
3 changes: 2 additions & 1 deletion localization/Localizable_IT.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "Indirizzo completo";
"onfido_poa_guidance_instructions_address_card_issue_date" = "Data di emissione";
"onfido_poa_guidance_instructions_expiry_date" = "Data di scadenza, se applicabile";
"onfido_qes_consent_introduction_validation" = "Consenso richiesto";
"onfido_qes_consent_introduction_validation" = "Consenso richiesto";
"onfido_otp_send_code_error_invalid_country_code" = "Spiacenti, non supportiamo questo codice paese";
3 changes: 2 additions & 1 deletion localization/Localizable_NL.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "Volledig adres";
"onfido_poa_guidance_instructions_address_card_issue_date" = "Uitgiftedatum";
"onfido_poa_guidance_instructions_expiry_date" = "Vervaldatum indien van toepassing";
"onfido_qes_consent_introduction_validation" = "Toestemming vereist";
"onfido_qes_consent_introduction_validation" = "Toestemming vereist";
"onfido_otp_send_code_error_invalid_country_code" = "Sorry, we ondersteunen deze landcode niet";
3 changes: 2 additions & 1 deletion localization/Localizable_PT.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "Endereço completo";
"onfido_poa_guidance_instructions_address_card_issue_date" = "Data de emissão";
"onfido_poa_guidance_instructions_expiry_date" = "Data de expiração se aplicável";
"onfido_qes_consent_introduction_validation" = "Consentimento necessário";
"onfido_qes_consent_introduction_validation" = "Consentimento necessário";
"onfido_otp_send_code_error_invalid_country_code" = "Desculpe, não oferecemos suporte para este código de país";
3 changes: 2 additions & 1 deletion localization/Localizable_ar.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "العنوان بالكامل";
"onfido_poa_guidance_instructions_address_card_issue_date" = "تاريخ الإصدار";
"onfido_poa_guidance_instructions_expiry_date" = "تاريخ انتهاء الصلاحية إن وجد";
"onfido_qes_consent_introduction_validation" = "الموافقة مطلوبة";
"onfido_qes_consent_introduction_validation" = "الموافقة مطلوبة";
"onfido_otp_send_code_error_invalid_country_code" = "عذرًا، لا ندعم رمز البلد هذا";
3 changes: 2 additions & 1 deletion localization/Localizable_bg.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "Пълен адрес";
"onfido_poa_guidance_instructions_address_card_issue_date" = "Дата на издаване";
"onfido_poa_guidance_instructions_expiry_date" = "Дата на валидност (ако е приложимо)";
"onfido_qes_consent_introduction_validation" = "Необходимо съгласие";
"onfido_qes_consent_introduction_validation" = "Необходимо съгласие";
"onfido_otp_send_code_error_invalid_country_code" = "Съжаляваме, но не поддържаме този код на държава";
3 changes: 2 additions & 1 deletion localization/Localizable_cs.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "Úplná adresa";
"onfido_poa_guidance_instructions_address_card_issue_date" = "Datum vydání";
"onfido_poa_guidance_instructions_expiry_date" = "Případné datum ukončení platnosti";
"onfido_qes_consent_introduction_validation" = "Vyžadován souhlas";
"onfido_qes_consent_introduction_validation" = "Vyžadován souhlas";
"onfido_otp_send_code_error_invalid_country_code" = "Omlouváme se, tento kód země nepodporujeme";
3 changes: 2 additions & 1 deletion localization/Localizable_da.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "Fuldstændig adresse";
"onfido_poa_guidance_instructions_address_card_issue_date" = "Udstedelsesdato";
"onfido_poa_guidance_instructions_expiry_date" = "Udløbsdato, hvis relevant";
"onfido_qes_consent_introduction_validation" = "Samtykke påkrævet";
"onfido_qes_consent_introduction_validation" = "Samtykke påkrævet";
"onfido_otp_send_code_error_invalid_country_code" = "Beklager, vi understøtter ikke denne landekode";
3 changes: 2 additions & 1 deletion localization/Localizable_el.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "Πλήρης διεύθυνση";
"onfido_poa_guidance_instructions_address_card_issue_date" = "Ημερομηνία έκδοσης";
"onfido_poa_guidance_instructions_expiry_date" = "Ημερομηνία λήξης, κατά περίπτωση";
"onfido_qes_consent_introduction_validation" = "Απαιτείται συγκατάθεση";
"onfido_qes_consent_introduction_validation" = "Απαιτείται συγκατάθεση";
"onfido_otp_send_code_error_invalid_country_code" = "Λυπούμαστε, δεν υποστηρίζουμε αυτόν τον κωδικό χώρας";
3 changes: 2 additions & 1 deletion localization/Localizable_en-GB.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "Full address";
"onfido_poa_guidance_instructions_address_card_issue_date" = "Issue date";
"onfido_poa_guidance_instructions_expiry_date" = "Expiry date if applicable";
"onfido_qes_consent_introduction_validation" = "Consent required";
"onfido_qes_consent_introduction_validation" = "Consent required";
"onfido_otp_send_code_error_invalid_country_code" = "Sorry, we do not support this country code";
3 changes: 2 additions & 1 deletion localization/Localizable_es-419.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "Dirección completa";
"onfido_poa_guidance_instructions_address_card_issue_date" = "Fecha de emisión";
"onfido_poa_guidance_instructions_expiry_date" = "Fecha de vencimiento, si corresponde";
"onfido_qes_consent_introduction_validation" = "Se requiere consentimiento";
"onfido_qes_consent_introduction_validation" = "Se requiere consentimiento";
"onfido_otp_send_code_error_invalid_country_code" = "Lo sentimos, no admitimos este código de país";
3 changes: 2 additions & 1 deletion localization/Localizable_et.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "Täielik aadress";
"onfido_poa_guidance_instructions_address_card_issue_date" = "Väljaandmise kuupäev";
"onfido_poa_guidance_instructions_expiry_date" = "Kehtivusaeg (vajaduse korral)";
"onfido_qes_consent_introduction_validation" = "Nõusolek vajalik";
"onfido_qes_consent_introduction_validation" = "Nõusolek vajalik";
"onfido_otp_send_code_error_invalid_country_code" = "Kahjuks me ei toeta seda riigikoodi";
3 changes: 2 additions & 1 deletion localization/Localizable_fa.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "آدرس کامل";
"onfido_poa_guidance_instructions_address_card_issue_date" = "تاریخ صدور";
"onfido_poa_guidance_instructions_expiry_date" = "تاریخ انقضا در صورت وجود";
"onfido_qes_consent_introduction_validation" = "نیاز به رضایت";
"onfido_qes_consent_introduction_validation" = "نیاز به رضایت";
"onfido_otp_send_code_error_invalid_country_code" = "متأسفیم، ما از این کد کشور پشتیبانی نمی‌کنیم";
3 changes: 2 additions & 1 deletion localization/Localizable_fi.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "Koko osoite";
"onfido_poa_guidance_instructions_address_card_issue_date" = "Myöntämispäivä";
"onfido_poa_guidance_instructions_expiry_date" = "Viim. voimassaolopäivä (tarvittaessa)";
"onfido_qes_consent_introduction_validation" = "Suostumus vaaditaan";
"onfido_qes_consent_introduction_validation" = "Suostumus vaaditaan";
"onfido_otp_send_code_error_invalid_country_code" = "Valitettavasti emme tue tätä maatunnusta";
3 changes: 2 additions & 1 deletion localization/Localizable_fr-CA.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "Adresse complète";
"onfido_poa_guidance_instructions_address_card_issue_date" = "Date d'émission";
"onfido_poa_guidance_instructions_expiry_date" = "Date d'expiration, si applicable";
"onfido_qes_consent_introduction_validation" = "Consentement requis";
"onfido_qes_consent_introduction_validation" = "Consentement requis";
"onfido_otp_send_code_error_invalid_country_code" = "Désolé, nous ne prenons pas en charge ce code de pays";
3 changes: 2 additions & 1 deletion localization/Localizable_he.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "כתובת מלאה";
"onfido_poa_guidance_instructions_address_card_issue_date" = "תאריך הנפקה";
"onfido_poa_guidance_instructions_expiry_date" = "תאריך תפוגה אם רלוונטי";
"onfido_qes_consent_introduction_validation" = "נדרשת הסכמה";
"onfido_qes_consent_introduction_validation" = "נדרשת הסכמה";
"onfido_otp_send_code_error_invalid_country_code" = "מצטערים, איננו תומכים בקוד המדינה הזה";
3 changes: 2 additions & 1 deletion localization/Localizable_hi.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "पूरा पता";
"onfido_poa_guidance_instructions_address_card_issue_date" = "जारी होने की तारीख";
"onfido_poa_guidance_instructions_expiry_date" = "लागू होने की स्थिति में अवधि खत्म होने की तारीख";
"onfido_qes_consent_introduction_validation" = "अनुमति आवश्यक";
"onfido_qes_consent_introduction_validation" = "अनुमति आवश्यक";
"onfido_otp_send_code_error_invalid_country_code" = "क्षमा करें, हम इस देश कोड का समर्थन नहीं करते हैं";
3 changes: 2 additions & 1 deletion localization/Localizable_hr.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "Puna adresa";
"onfido_poa_guidance_instructions_address_card_issue_date" = "Datum izdavanja";
"onfido_poa_guidance_instructions_expiry_date" = "Rok valjanosti ako je primjenjivo";
"onfido_qes_consent_introduction_validation" = "Potrebna suglasnost";
"onfido_qes_consent_introduction_validation" = "Potrebna suglasnost";
"onfido_otp_send_code_error_invalid_country_code" = "Žao nam je, ne podržavamo ovaj kôd zemlje";
3 changes: 2 additions & 1 deletion localization/Localizable_hu.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "Teljes lakcím";
"onfido_poa_guidance_instructions_address_card_issue_date" = "Kibocsátás dátuma";
"onfido_poa_guidance_instructions_expiry_date" = "Lejárat időpontja, ha van";
"onfido_qes_consent_introduction_validation" = "Hozzájárulás szükséges";
"onfido_qes_consent_introduction_validation" = "Hozzájárulás szükséges";
"onfido_otp_send_code_error_invalid_country_code" = "Sajnáljuk, nem támogatjuk ezt az országkódot";
3 changes: 2 additions & 1 deletion localization/Localizable_hy.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "Ամբողջական հասցե";
"onfido_poa_guidance_instructions_address_card_issue_date" = "Տրված է";
"onfido_poa_guidance_instructions_expiry_date" = "Գործողության ժամկետը (եթե առկա է)";
"onfido_qes_consent_introduction_validation" = "Համաձայնությունը պահանջվում է";
"onfido_qes_consent_introduction_validation" = "Համաձայնությունը պահանջվում է";
"onfido_otp_send_code_error_invalid_country_code" = "Ներեցեք, մենք չենք աջակցում այս երկրի կոդը";
3 changes: 2 additions & 1 deletion localization/Localizable_id.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "Alamat lengkap";
"onfido_poa_guidance_instructions_address_card_issue_date" = "Tanggal terbit";
"onfido_poa_guidance_instructions_expiry_date" = "Tanggal kedaluwarsa jika berlaku";
"onfido_qes_consent_introduction_validation" = "Persetujuan diperlukan";
"onfido_qes_consent_introduction_validation" = "Persetujuan diperlukan";
"onfido_otp_send_code_error_invalid_country_code" = "Maaf, kami tidak mendukung kode negara ini";
3 changes: 2 additions & 1 deletion localization/Localizable_ja.strings
Original file line number Diff line number Diff line change
Expand Up @@ -773,4 +773,5 @@
"onfido_poa_guidance_instructions_full_address" = "住所詳細";
"onfido_poa_guidance_instructions_address_card_issue_date" = "発行日";
"onfido_poa_guidance_instructions_expiry_date" = "有効期限(該当する場合)";
"onfido_qes_consent_introduction_validation" = "同意が必要です";
"onfido_qes_consent_introduction_validation" = "同意が必要です";
"onfido_otp_send_code_error_invalid_country_code" = "申し訳ありませんが、この国コードには対応していません。";
Loading

0 comments on commit 5095442

Please sign in to comment.