Skip to content

Commit

Permalink
Merge pull request #410 from onfido/release/32.2.0
Browse files Browse the repository at this point in the history
Release 32.2.0
  • Loading branch information
ivanonfido authored Jan 7, 2025
2 parents 3b46394 + 7d0496f commit 7dbcc9a
Show file tree
Hide file tree
Showing 49 changed files with 211 additions and 61 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ 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.2.0] - 2024-12-13

### Changed

- Changed Ukraine endonym from Ukraїna to Україна

### Fixed

- Attempted to fix rare Motion crash when completing a recording
- Attempted to fix rare Motion crash resulting from issues during camera setup
- Fixed an issue that allowed multiple flow steps to be started at the same time

## [32.1.1] - 2024-11-21

### 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.1.1.zip",
checksum: "3122bed151a5b477c3f38c1c296bf16064ccd241616365d80e44b9c57b326a22"
url: "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v32.2.0.zip",
checksum: "b5ec9df83c446e5c84c161054bc296d3d310410f967ed21c60e8520f56e7ce70"
),


Expand Down
32 changes: 19 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -507,20 +507,26 @@ switch response {
case let OnfidoResponse.error(error):
switch error {
case OnfidoFlowError.cameraPermission:
// This happens if the user denies permission to the SDK during the flow
// This error is thrown if the user denies permission to the SDK during the flow
case OnfidoFlowError.failedToWriteToDisk:
// This happens when the SDK tries to save capture to disk, maybe due to a lack of space
// This error is thrown when the SDK tries to save capture to disk, maybe due to a lack of space
case OnfidoFlowError.microphonePermission:
// This happens when the user denies permission for microphone usage by the app during the flow
// This error is thrown when the user denies permission for microphone usage by the app during the flow
case OnfidoFlowError.upload(let OnfidoApiError):
// This happens when the SDK receives an error from an API call.
// This error is thrown when the SDK receives an error from an API call
// See https://documentation.onfido.com/api/latest#errors for more information
case OnfidoFlowError.exception(withError: let error, withMessage: let message):
// This happens when an unexpected error occurs.
// This error is thrown when an unexpected error occurs
// Please email [Customer support](mailto:supportonfido.com) when this happens
case OnfidoFlowError.versionInsufficient:
// This happens when you are using an older version of the iOS SDK and trying
// This error is thrown when you are using an older version of the iOS SDK and trying
// to access a new functionality from workflow. You can fix this by updating the SDK
case OnfidoFlowError.studioTaskAbandoned:
// This error is thrown when the workflow run (instance) is no longer available either due to it expiring or being completed already
case OnfidoFlowError.studioTaskError:
// This error is thrown when the workflow run can no longer be executed and returns a generic error
case OnfidoFlowError.invalidImageData:
// This error is thrown when the SDK is unable to compress the image captured by the user before uploading it

default: // necessary because of Swift
}
Expand Down Expand Up @@ -1406,19 +1412,19 @@ switch response {
case let OnfidoResponse.error(error):
switch error {
case OnfidoFlowError.cameraPermission:
// Occurs if the user denies permission to the SDK during the flow
// This error is thrown if the user denies permission to the SDK during the flow
case OnfidoFlowError.microphonePermission:
// Occurs when the user denies permission for microphone usage by the app during the flow
// This error is thrown when the user denies permission for microphone usage by the app during the flow
case OnfidoFlowError.failedToWriteToDisk:
// Occurs when the SDK tries to save capture to disk, maybe due to a lack of space
// This error is thrown when the SDK tries to save capture to disk, maybe due to a lack of space
case OnfidoFlowError.upload(let OnfidoApiError):
// Occurs when the SDK receives an error from an API call, see [https://documentation.onfido.com/api/latest#errors](https://documentation.onfido.com/api/latest#errors) for more information
// This error is thrown when the SDK receives an error from an API call, see [https://documentation.onfido.com/api/latest#errors](https://documentation.onfido.com/api/latest#errors) for more information
case OnfidoFlowError.exception(withError: let error, withMessage: let message):
// Returned when an unexpected error occurs, please contact [support](mailto:[email protected]) when this happens
// This error is thrown when an unexpected error occurs, please contact [support](mailto:[email protected]) when this happens
case OnfidoFlowError.invalidImageData:
// Occurs when the SDK tries to save capture to disk, but the image failed to compress to JPEG data
// This error is thrown when the SDK tries to save capture to disk, but the image failed to compress to JPEG data
case OnfidoFlowError.versionInsufficient:
// Occurs when the workflow version is insufficient
// This error is thrown when the workflow version is insufficient
default: // necessary because swift
}
}
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.1.1'
pod 'Onfido', '32.2.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.1.1'
pod 'Onfido', '32.2.0'
end

target 'SampleAppObjC' do
Expand Down
5 changes: 4 additions & 1 deletion localization/Localizable_DE.strings
Original file line number Diff line number Diff line change
Expand Up @@ -775,4 +775,7 @@
"onfido_poa_guidance_instructions_expiry_date" = "Verfallsdatum, falls zutreffend";
"onfido_qes_consent_introduction_validation" = "Zustimmung erforderlich";
"onfido_otp_send_code_error_invalid_country_code" = "Entschuldigung, wir unterstützen diesen Ländercode nicht";
"onfido_otp_send_code_error_phone_number_blocked" = "Entschuldigung, wir unterstützen diesen Ländercode nicht";
"onfido_otp_send_code_error_phone_number_blocked" = "Entschuldigung, wir unterstützen diesen Ländercode nicht";
"onfido_generic_icon_error_accessibility" = "Fehler:";
"onfido_generic_icon_warning_accessibility" = "Warnung:";
"onfido_generic_icon_success_accessibility" = "Erfolg:";
5 changes: 4 additions & 1 deletion localization/Localizable_EN.strings
Original file line number Diff line number Diff line change
Expand Up @@ -775,4 +775,7 @@
"onfido_poa_guidance_instructions_expiry_date" = "Expiry date if applicable";
"onfido_qes_consent_introduction_validation" = "Consent required";
"onfido_otp_send_code_error_invalid_country_code" = "Sorry, we do not support this country code";
"onfido_otp_send_code_error_phone_number_blocked" = "Sorry, we do not support this country code";
"onfido_otp_send_code_error_phone_number_blocked" = "Sorry, we do not support this country code";
"onfido_generic_icon_error_accessibility" = "Error:";
"onfido_generic_icon_warning_accessibility" = "Warning:";
"onfido_generic_icon_success_accessibility" = "Success:";
5 changes: 4 additions & 1 deletion localization/Localizable_ES.strings
Original file line number Diff line number Diff line change
Expand Up @@ -775,4 +775,7 @@
"onfido_poa_guidance_instructions_expiry_date" = "Fecha de caducidad, si procede";
"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";
"onfido_otp_send_code_error_phone_number_blocked" = "Lo sentimos, no admitimos este código de país";
"onfido_otp_send_code_error_phone_number_blocked" = "Lo sentimos, no admitimos este código de país";
"onfido_generic_icon_error_accessibility" = "Error:";
"onfido_generic_icon_warning_accessibility" = "Advertencia:";
"onfido_generic_icon_success_accessibility" = "Éxito:";
5 changes: 4 additions & 1 deletion localization/Localizable_FR.strings
Original file line number Diff line number Diff line change
Expand Up @@ -775,4 +775,7 @@
"onfido_poa_guidance_instructions_expiry_date" = "Date d'expiration, le cas échéant";
"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";
"onfido_otp_send_code_error_phone_number_blocked" = "Désolé, nous ne prenons pas en charge ce code pays";
"onfido_otp_send_code_error_phone_number_blocked" = "Désolé, nous ne prenons pas en charge ce code pays";
"onfido_generic_icon_error_accessibility" = "Erreur :";
"onfido_generic_icon_warning_accessibility" = "Avertissement :";
"onfido_generic_icon_success_accessibility" = "Succès :";
5 changes: 4 additions & 1 deletion localization/Localizable_IT.strings
Original file line number Diff line number Diff line change
Expand Up @@ -775,4 +775,7 @@
"onfido_poa_guidance_instructions_expiry_date" = "Data di scadenza, se applicabile";
"onfido_qes_consent_introduction_validation" = "Consenso richiesto";
"onfido_otp_send_code_error_invalid_country_code" = "Spiacenti, non supportiamo questo codice paese";
"onfido_otp_send_code_error_phone_number_blocked" = "Spiacenti, non supportiamo questo codice paese";
"onfido_otp_send_code_error_phone_number_blocked" = "Spiacenti, non supportiamo questo codice paese";
"onfido_generic_icon_error_accessibility" = "Errore:";
"onfido_generic_icon_warning_accessibility" = "Avviso:";
"onfido_generic_icon_success_accessibility" = "Successo:";
5 changes: 4 additions & 1 deletion localization/Localizable_NL.strings
Original file line number Diff line number Diff line change
Expand Up @@ -775,4 +775,7 @@
"onfido_poa_guidance_instructions_expiry_date" = "Vervaldatum indien van toepassing";
"onfido_qes_consent_introduction_validation" = "Toestemming vereist";
"onfido_otp_send_code_error_invalid_country_code" = "Sorry, we ondersteunen deze landcode niet";
"onfido_otp_send_code_error_phone_number_blocked" = "Sorry, we ondersteunen deze landcode niet";
"onfido_otp_send_code_error_phone_number_blocked" = "Sorry, we ondersteunen deze landcode niet";
"onfido_generic_icon_error_accessibility" = "Fout:";
"onfido_generic_icon_warning_accessibility" = "Waarschuwing:";
"onfido_generic_icon_success_accessibility" = "Succes:";
5 changes: 4 additions & 1 deletion localization/Localizable_PT.strings
Original file line number Diff line number Diff line change
Expand Up @@ -775,4 +775,7 @@
"onfido_poa_guidance_instructions_expiry_date" = "Data de expiração se aplicável";
"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";
"onfido_otp_send_code_error_phone_number_blocked" = "Desculpe, não oferecemos suporte para este código de país";
"onfido_otp_send_code_error_phone_number_blocked" = "Desculpe, não oferecemos suporte para este código de país";
"onfido_generic_icon_error_accessibility" = "Erro:";
"onfido_generic_icon_warning_accessibility" = "Aviso:";
"onfido_generic_icon_success_accessibility" = "Sucesso:";
5 changes: 4 additions & 1 deletion localization/Localizable_ar.strings
Original file line number Diff line number Diff line change
Expand Up @@ -775,4 +775,7 @@
"onfido_poa_guidance_instructions_expiry_date" = "تاريخ انتهاء الصلاحية إن وجد";
"onfido_qes_consent_introduction_validation" = "الموافقة مطلوبة";
"onfido_otp_send_code_error_invalid_country_code" = "عذرًا، لا ندعم رمز البلد هذا";
"onfido_otp_send_code_error_phone_number_blocked" = "عذرًا، لا ندعم رمز البلد هذا";
"onfido_otp_send_code_error_phone_number_blocked" = "عذرًا، لا ندعم رمز البلد هذا";
"onfido_generic_icon_error_accessibility" = "خطأ:";
"onfido_generic_icon_warning_accessibility" = "تحذير:";
"onfido_generic_icon_success_accessibility" = "نجاح:";
5 changes: 4 additions & 1 deletion localization/Localizable_bg.strings
Original file line number Diff line number Diff line change
Expand Up @@ -775,4 +775,7 @@
"onfido_poa_guidance_instructions_expiry_date" = "Дата на валидност (ако е приложимо)";
"onfido_qes_consent_introduction_validation" = "Необходимо съгласие";
"onfido_otp_send_code_error_invalid_country_code" = "Съжаляваме, но не поддържаме този код на държава";
"onfido_otp_send_code_error_phone_number_blocked" = "Съжаляваме, но не поддържаме този код на държава";
"onfido_otp_send_code_error_phone_number_blocked" = "Съжаляваме, но не поддържаме този код на държава";
"onfido_generic_icon_error_accessibility" = "Грешка:";
"onfido_generic_icon_warning_accessibility" = "Предупреждение:";
"onfido_generic_icon_success_accessibility" = "Успех:";
5 changes: 4 additions & 1 deletion localization/Localizable_cs.strings
Original file line number Diff line number Diff line change
Expand Up @@ -775,4 +775,7 @@
"onfido_poa_guidance_instructions_expiry_date" = "Případné datum ukončení platnosti";
"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";
"onfido_otp_send_code_error_phone_number_blocked" = "Omlouváme se, tento kód země nepodporujeme";
"onfido_otp_send_code_error_phone_number_blocked" = "Omlouváme se, tento kód země nepodporujeme";
"onfido_generic_icon_error_accessibility" = "Chyba:";
"onfido_generic_icon_warning_accessibility" = "Varování:";
"onfido_generic_icon_success_accessibility" = "Úspěch:";
5 changes: 4 additions & 1 deletion localization/Localizable_da.strings
Original file line number Diff line number Diff line change
Expand Up @@ -775,4 +775,7 @@
"onfido_poa_guidance_instructions_expiry_date" = "Udløbsdato, hvis relevant";
"onfido_qes_consent_introduction_validation" = "Samtykke påkrævet";
"onfido_otp_send_code_error_invalid_country_code" = "Beklager, vi understøtter ikke denne landekode";
"onfido_otp_send_code_error_phone_number_blocked" = "Beklager, vi understøtter ikke denne landekode";
"onfido_otp_send_code_error_phone_number_blocked" = "Beklager, vi understøtter ikke denne landekode";
"onfido_generic_icon_error_accessibility" = "Fejl:";
"onfido_generic_icon_warning_accessibility" = "Advarsel:";
"onfido_generic_icon_success_accessibility" = "Succes:";
5 changes: 4 additions & 1 deletion localization/Localizable_el.strings
Original file line number Diff line number Diff line change
Expand Up @@ -775,4 +775,7 @@
"onfido_poa_guidance_instructions_expiry_date" = "Ημερομηνία λήξης, κατά περίπτωση";
"onfido_qes_consent_introduction_validation" = "Απαιτείται συγκατάθεση";
"onfido_otp_send_code_error_invalid_country_code" = "Λυπούμαστε, δεν υποστηρίζουμε αυτόν τον κωδικό χώρας";
"onfido_otp_send_code_error_phone_number_blocked" = "Λυπούμαστε, δεν υποστηρίζουμε αυτόν τον κωδικό χώρας";
"onfido_otp_send_code_error_phone_number_blocked" = "Λυπούμαστε, δεν υποστηρίζουμε αυτόν τον κωδικό χώρας";
"onfido_generic_icon_error_accessibility" = "Σφάλμα:";
"onfido_generic_icon_warning_accessibility" = "Προειδοποίηση:";
"onfido_generic_icon_success_accessibility" = "Επιτυχία:";
5 changes: 4 additions & 1 deletion localization/Localizable_en-GB.strings
Original file line number Diff line number Diff line change
Expand Up @@ -775,4 +775,7 @@
"onfido_poa_guidance_instructions_expiry_date" = "Expiry date if applicable";
"onfido_qes_consent_introduction_validation" = "Consent required";
"onfido_otp_send_code_error_invalid_country_code" = "Sorry, we do not support this country code";
"onfido_otp_send_code_error_phone_number_blocked" = "Sorry, we do not support this country code";
"onfido_otp_send_code_error_phone_number_blocked" = "Sorry, we do not support this country code";
"onfido_generic_icon_error_accessibility" = "Error:";
"onfido_generic_icon_warning_accessibility" = "Warning:";
"onfido_generic_icon_success_accessibility" = "Success:";
5 changes: 4 additions & 1 deletion localization/Localizable_es-419.strings
Original file line number Diff line number Diff line change
Expand Up @@ -775,4 +775,7 @@
"onfido_poa_guidance_instructions_expiry_date" = "Fecha de vencimiento, si corresponde";
"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";
"onfido_otp_send_code_error_phone_number_blocked" = "Lo sentimos, no admitimos este código de país";
"onfido_otp_send_code_error_phone_number_blocked" = "Lo sentimos, no admitimos este código de país";
"onfido_generic_icon_error_accessibility" = "Error:";
"onfido_generic_icon_warning_accessibility" = "Advertencia:";
"onfido_generic_icon_success_accessibility" = "Éxito:";
5 changes: 4 additions & 1 deletion localization/Localizable_et.strings
Original file line number Diff line number Diff line change
Expand Up @@ -775,4 +775,7 @@
"onfido_poa_guidance_instructions_expiry_date" = "Kehtivusaeg (vajaduse korral)";
"onfido_qes_consent_introduction_validation" = "Nõusolek vajalik";
"onfido_otp_send_code_error_invalid_country_code" = "Kahjuks me ei toeta seda riigikoodi";
"onfido_otp_send_code_error_phone_number_blocked" = "Kahjuks me ei toeta seda riigikoodi";
"onfido_otp_send_code_error_phone_number_blocked" = "Kahjuks me ei toeta seda riigikoodi";
"onfido_generic_icon_error_accessibility" = "Viga:";
"onfido_generic_icon_warning_accessibility" = "Hoiatus:";
"onfido_generic_icon_success_accessibility" = "Edu:";
5 changes: 4 additions & 1 deletion localization/Localizable_fa.strings
Original file line number Diff line number Diff line change
Expand Up @@ -775,4 +775,7 @@
"onfido_poa_guidance_instructions_expiry_date" = "تاریخ انقضا در صورت وجود";
"onfido_qes_consent_introduction_validation" = "نیاز به رضایت";
"onfido_otp_send_code_error_invalid_country_code" = "متأسفیم، ما از این کد کشور پشتیبانی نمی‌کنیم";
"onfido_otp_send_code_error_phone_number_blocked" = "متأسفیم، ما از این کد کشور پشتیبانی نمی‌کنیم";
"onfido_otp_send_code_error_phone_number_blocked" = "متأسفیم، ما از این کد کشور پشتیبانی نمی‌کنیم";
"onfido_generic_icon_error_accessibility" = "خطا:";
"onfido_generic_icon_warning_accessibility" = "هشدار:";
"onfido_generic_icon_success_accessibility" = "موفقیت:";
5 changes: 4 additions & 1 deletion localization/Localizable_fi.strings
Original file line number Diff line number Diff line change
Expand Up @@ -775,4 +775,7 @@
"onfido_poa_guidance_instructions_expiry_date" = "Viim. voimassaolopäivä (tarvittaessa)";
"onfido_qes_consent_introduction_validation" = "Suostumus vaaditaan";
"onfido_otp_send_code_error_invalid_country_code" = "Valitettavasti emme tue tätä maatunnusta";
"onfido_otp_send_code_error_phone_number_blocked" = "Valitettavasti emme tue tätä maatunnusta";
"onfido_otp_send_code_error_phone_number_blocked" = "Valitettavasti emme tue tätä maatunnusta";
"onfido_generic_icon_error_accessibility" = "Virhe:";
"onfido_generic_icon_warning_accessibility" = "Varoitus:";
"onfido_generic_icon_success_accessibility" = "Onnistuminen:";
5 changes: 4 additions & 1 deletion localization/Localizable_fr-CA.strings
Original file line number Diff line number Diff line change
Expand Up @@ -775,4 +775,7 @@
"onfido_poa_guidance_instructions_expiry_date" = "Date d'expiration, si applicable";
"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";
"onfido_otp_send_code_error_phone_number_blocked" = "Désolé, nous ne prenons pas en charge ce code de pays";
"onfido_otp_send_code_error_phone_number_blocked" = "Désolé, nous ne prenons pas en charge ce code de pays";
"onfido_generic_icon_error_accessibility" = "Erreur :";
"onfido_generic_icon_warning_accessibility" = "Avertissement :";
"onfido_generic_icon_success_accessibility" = "Succès :";
Loading

0 comments on commit 7dbcc9a

Please sign in to comment.