Skip to content

Commit

Permalink
Merge pull request #394 from onfido/release/30.0.0
Browse files Browse the repository at this point in the history
Release 30.0.0
  • Loading branch information
bckr committed Apr 17, 2024
2 parents ca91b8a + d8b1f9f commit 50ee0dc
Show file tree
Hide file tree
Showing 51 changed files with 1,012 additions and 60 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,22 @@ 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)

## [30.0.0] - 2024-04-12

### Added

- Motion capture fallback configuration has been removed: Motion is supported on all devices as of 29.9.0
- Dropped iOS 12 support. Now supporting iOS 13 or newer

### Changed

- Added ON prefix for all Objective-C types
- Removed deprecated APIs

### Fixed

- Fixed an issue where document video capture would not be uploaded with photo

## [29.9.1] - 2024-04-05

### Fixed
Expand Down
12 changes: 12 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

These guides below are provided to ease the transition of existing applications using the Onfido SDK from one version to another that introduces breaking API changes.

* [Onfido iOS SDK 30.0.0 Migration Guide](#onfido-ios-sdk-3000-migration-guide)
* [Onfido iOS SDK 29.9.0 Migration Guide](#onfido-ios-sdk-2990-migration-guide)
* [Onfido iOS SDK 29.6.0 Migration Guide](#onfido-ios-sdk-2960-migration-guide)
* [Onfido iOS SDK 29.5.0 Migration Guide](#onfido-ios-sdk-2950-migration-guide)
Expand Down Expand Up @@ -66,6 +67,17 @@ These guides below are provided to ease the transition of existing applications
* [Onfido iOS SDK 4.0.0 Migration Guide](#onfido-sdk-400-migration-guide)
* [Onfido iOS SDK 3.0.0 Migration Guide](#onfido-sdk-300-migration-guide)

## Onfido iOS SDK 30.0.0 Migration Guide

### Breaking API Changes

- If you currently set `recordAudio`, use `MotionStepConfiguration(recordAudio:)` instead. If not, use `nil` instead of `MotionStepConfiguration(captureFallback:)`.
- If you are using Objective-C, please, follow Xcode hints to fix Objective-C types of the Onfido SDK, from now they have an `ON` prefix to prevent potential namespacing collisions.

### Deprecated API Changes

- If you were relying on the deprecated APIs, consider removing their usage, all the deprecated APIs are removed from the public API of the SDK.

## Onfido iOS SDK 29.9.0 Migration Guide

### Deprecated API Changes
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-v29.9.1.zip",
checksum: "2afbefc3bec8a1d09fc4264ac5117c4c406e05dc1d9862d648fd704edec113b7"
url: "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v30.0.0.zip",
checksum: "6a4f9f6ea755bb8c66aecd2835fc61458fcf2c363bfcad4d313ad61f05b807de"
),


Expand Down
6 changes: 3 additions & 3 deletions SampleApp/Podfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
platform :ios, '12.0'
platform :ios, '13.0'

def setup_shared_pods
use_frameworks!
inhibit_all_warnings!

pod 'Onfido', '29.9.1'
pod 'Onfido', '30.0.0'
end

target 'SampleApp' do
Expand All @@ -18,7 +18,7 @@ post_install do |installer|
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = 12.0
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = 13.0
end
end
end
Expand Down
8 changes: 4 additions & 4 deletions SampleApp/SampleApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -316,7 +316,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
Expand All @@ -334,7 +334,7 @@
DEVELOPMENT_TEAM = "";
CODE_SIGN_ENTITLEMENTS = SampleApp/SampleApp.entitlements;
INFOPLIST_FILE = SampleApp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.onfido.SampleApp;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -350,7 +350,7 @@
DEVELOPMENT_TEAM = "";
CODE_SIGN_ENTITLEMENTS = SampleApp/SampleApp.entitlements;
INFOPLIST_FILE = SampleApp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.onfido.SampleApp;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
6 changes: 3 additions & 3 deletions SampleAppObjC/Podfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
platform :ios, '12.0'
platform :ios, '13.0'

def setup_shared_pods
use_frameworks!
inhibit_all_warnings!

pod 'Onfido', '29.9.1'
pod 'Onfido', '30.0.0'
end

target 'SampleAppObjC' do
Expand All @@ -18,7 +18,7 @@ post_install do |installer|
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = 12.0
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = 13.0
end
end
end
Expand Down
8 changes: 4 additions & 4 deletions SampleAppObjC/SampleAppObjC.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -339,7 +339,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
Expand All @@ -356,7 +356,7 @@
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 2X946JA9UV;
INFOPLIST_FILE = SampleAppObjC/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.onfido.SampleAppObjC;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -377,7 +377,7 @@
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 2X946JA9UV;
INFOPLIST_FILE = SampleAppObjC/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.onfido.SampleAppObjC;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
23 changes: 22 additions & 1 deletion localization/Localizable_DE.strings
Original file line number Diff line number Diff line change
Expand Up @@ -739,4 +739,25 @@
"onfido_generic_close_sdk_exit" = "Beenden";
"onfido_generic_close_sdk_cancel" = "Abbrechen";
"onfido_nfc_scan_doc_realign_title" = "Scan unterbrochen";
"onfido_nfc_scan_doc_realign_body" = "Positionieren Sie Ihr Dokument erneut gegen Ihr Gerät";
"onfido_nfc_scan_doc_realign_body" = "Positionieren Sie Ihr Dokument erneut gegen Ihr Gerät";
"onfido_nfc_capture_scan_intro_title_passport_new" = "Scannen Sie den Chip in Ihrem Reisepass";
"onfido_nfc_capture_scan_intro_passport_scan_guide_1" = "Schließen Sie Ihren Pass und legen Sie ihn mit der Vorderseite nach oben auf eine flache Oberfläche.";
"onfido_nfc_capture_scan_intro_passport_scan_guide_2" = "Legen Sie die obere Hälfte Ihres Telefons in Kontakt mit der unteren Hälfte Ihres Passes, um den Chip zu scannen.";
"onfido_nfc_capture_scan_intro_passport_scan_guide_3" = "Sobald der Scan beginnt, halten Sie Ihr Telefon und Ihren Pass still.";
"onfido_nfc_capture_scan_sheet" = "Legen Sie die obere Hälfte Ihres Telefons in Kontakt mit der unteren Hälfte Ihres Passes.";
"onfido_nfc_capture_scan_scanning_sheet_1" = "Scannen…";
"onfido_nfc_capture_scan_scanning_sheet_2" = "Halten Sie Ihr Telefon und Ihren Pass still.";
"onfido_nfc_capture_scan_doc_realign_body" = "Positionieren Sie die Oberseite Ihres Telefons in Kontakt mit der Unterseite Ihres Passes.";
"onfido_nfc_capture_scan_fail_title_passport" = "Unfähig, den Chip zu scannen.";
"onfido_nfc_capture_scan_fail_subtitle_passport" = "Brauchen Sie Hilfe?";
"onfido_nfc_capture_scan_error_final_possible_passport_list_item_1" = "Entfernen Sie alle Hüllen von Ihrem Reisepass oder Hüllen von Ihrem Telefon. Dies dient dazu, Störungen mit dem Chip zu vermeiden.";
"onfido_nfc_capture_scan_error_final_possible_passport_list_item_2" = "Schließen Sie Ihren Pass und legen Sie ihn mit der Vorderseite nach oben auf eine flache Oberfläche.";
"onfido_nfc_capture_scan_error_final_possible_passport_list_item_3" = "Legen Sie die obere Hälfte Ihres Telefons, mit dem Bildschirm nach oben, in Kontakt mit der unteren Hälfte Ihres Passes.";
"onfido_nfc_capture_scan_error_final_possible_passport_list_item_4" = "Sie müssen Ihr Telefon möglicherweise langsam auf und ab über Ihren Pass bewegen, bis Sie den Chip finden.";
"onfido_nfc_capture_scan_error_final_possible_passport_list_item_5" = "Sobald Ihr Telefon den Chip in Ihrem Pass erkennt, beginnt der Scan automatisch. Halten Sie Ihr Telefon und Ihren Pass still, damit der Scan abgeschlossen werden kann.";
"onfido_nfc_capture_scan_error_final_required_passport_list_item_1" = "Entfernen Sie alle Hüllen von Ihrem Pass oder Hüllen von Ihrem Telefon. Dies dient dazu, Störungen mit dem Chip zu vermeiden.";
"onfido_nfc_capture_scan_error_final_required_passport_list_item_2" = "Schließen Sie Ihren Pass und legen Sie ihn mit der Vorderseite nach oben auf eine flache Oberfläche.";
"onfido_nfc_capture_scan_error_final_required_passport_list_item_3" = "Legen Sie die obere Hälfte Ihres Telefons, mit dem Bildschirm nach oben, in Kontakt mit der unteren Hälfte Ihres Passes.";
"onfido_nfc_capture_scan_error_final_required_passport_list_item_4" = "Sie müssen Ihr Telefon möglicherweise langsam auf und ab über Ihren Pass bewegen, bis Sie den Chip finden.";
"onfido_nfc_capture_scan_error_final_required_passport_list_item_5" = "Sobald Ihr Telefon den Chip in Ihrem Pass erkennt, beginnt der Scan automatisch. Halten Sie Ihr Telefon und Ihren Pass still, damit der Scan abgeschlossen werden kann.";
"onfido_nfc_capture_scan_video_description" = "Beispielvideo eines Telefons, das den Chip in einem Reisepass scannt.";
23 changes: 22 additions & 1 deletion localization/Localizable_EN.strings
Original file line number Diff line number Diff line change
Expand Up @@ -740,4 +740,25 @@
"onfido_generic_close_sdk_exit" = "Exit";
"onfido_generic_close_sdk_cancel" = "Cancel";
"onfido_nfc_scan_doc_realign_title" = "Scan interrupted";
"onfido_nfc_scan_doc_realign_body" = "Reposition your document against your device";
"onfido_nfc_scan_doc_realign_body" = "Reposition your document against your device";
"onfido_nfc_capture_scan_intro_title_passport_new" = "Scan the chip in your passport";
"onfido_nfc_capture_scan_intro_passport_scan_guide_1" = "Close your passport and place it on a flat surface with the front side up.";
"onfido_nfc_capture_scan_intro_passport_scan_guide_2" = "Place the top half of your phone in contact with the bottom half of your passport to scan the chip.";
"onfido_nfc_capture_scan_intro_passport_scan_guide_3" = "Once the scan starts, keep your phone and passport still.";
"onfido_nfc_capture_scan_sheet" = "Place the top half of your phone in contact with the bottom half of your passport.";
"onfido_nfc_capture_scan_scanning_sheet_1" = "Scanning...";
"onfido_nfc_capture_scan_scanning_sheet_2" = "Keep your phone and passport still.";
"onfido_nfc_capture_scan_doc_realign_body" = "Reposition the top of your phone in contact with the bottom of your passport.";
"onfido_nfc_capture_scan_fail_title_passport" = "Unable to scan the chip.";
"onfido_nfc_capture_scan_fail_subtitle_passport" = "Need help?";
"onfido_nfc_capture_scan_error_final_possible_passport_list_item_1" = "Remove any covers from your passport or cases from your phone. This is to avoid interferences with the chip.";
"onfido_nfc_capture_scan_error_final_possible_passport_list_item_2" = "Close your passport and place it on a flat surface with the front side up.";
"onfido_nfc_capture_scan_error_final_possible_passport_list_item_3" = "Place the top half of your phone, with the screen facing up, in contact with the bottom half of your passport.";
"onfido_nfc_capture_scan_error_final_possible_passport_list_item_4" = "You may need to slowly slide your phone up and down against your passport until you locate the chip.";
"onfido_nfc_capture_scan_error_final_possible_passport_list_item_5" = "Once your phone detects the chip in your passport, the scan will start automatically. Keep your phone and passport still so the scan can complete.";
"onfido_nfc_capture_scan_error_final_required_passport_list_item_1" = "Remove any covers from your passport or cases from your phone. This is to avoid interferences with the chip.";
"onfido_nfc_capture_scan_error_final_required_passport_list_item_2" = "Close your passport and place it on a flat surface with the front side up.";
"onfido_nfc_capture_scan_error_final_required_passport_list_item_3" = "Place the top half of your phone, with the screen facing up, in contact with the bottom half of your passport.";
"onfido_nfc_capture_scan_error_final_required_passport_list_item_4" = "You may need to slowly slide your phone up and down against your passport until you locate the chip.";
"onfido_nfc_capture_scan_error_final_required_passport_list_item_5" = "Once your phone detects the chip in your passport, the scan will start automatically. Keep your phone and passport still so the scan can complete.";
"onfido_nfc_capture_scan_video_description" = "Example video of a phone scanning the chip in a passport.";
23 changes: 22 additions & 1 deletion localization/Localizable_ES.strings
Original file line number Diff line number Diff line change
Expand Up @@ -740,4 +740,25 @@
"onfido_generic_close_sdk_exit" = "Salir";
"onfido_generic_close_sdk_cancel" = "Cancelar";
"onfido_nfc_scan_doc_realign_title" = "Escaneo interrumpido";
"onfido_nfc_scan_doc_realign_body" = "Vuelva a posicionar su documento contra su dispositivo";
"onfido_nfc_scan_doc_realign_body" = "Vuelva a posicionar su documento contra su dispositivo";
"onfido_nfc_capture_scan_intro_title_passport_new" = "Escanee el chip en su pasaporte";
"onfido_nfc_capture_scan_intro_passport_scan_guide_1" = "Cierre su pasaporte y colóquelo en una superficie plana con el frente hacia arriba.";
"onfido_nfc_capture_scan_intro_passport_scan_guide_2" = "Coloque la mitad superior de su teléfono en contacto con la mitad inferior de su pasaporte para escanear el chip.";
"onfido_nfc_capture_scan_intro_passport_scan_guide_3" = "Una vez que comienza el escaneo, mantenga su teléfono y pasaporte quietos.";
"onfido_nfc_capture_scan_sheet" = "Coloque la mitad superior de su teléfono en contacto con la mitad inferior de su pasaporte.";
"onfido_nfc_capture_scan_scanning_sheet_1" = "Escaneando...";
"onfido_nfc_capture_scan_scanning_sheet_2" = "Mantén tu teléfono y pasaporte quietos.";
"onfido_nfc_capture_scan_doc_realign_body" = "Vuelva a colocar la parte superior de su teléfono en contacto con la parte inferior de su pasaporte.";
"onfido_nfc_capture_scan_fail_title_passport" = "Incapaz de escanear el chip.";
"onfido_nfc_capture_scan_fail_subtitle_passport" = "¿Necesitas ayuda?";
"onfido_nfc_capture_scan_error_final_possible_passport_list_item_1" = "Retire cualquier cubierta de su pasaporte o fundas de su teléfono. Esto es para evitar interferencias con el chip.";
"onfido_nfc_capture_scan_error_final_possible_passport_list_item_2" = "Cierre su pasaporte y colóquelo en una superficie plana con el lado frontal hacia arriba.";
"onfido_nfc_capture_scan_error_final_possible_passport_list_item_3" = "Coloque la mitad superior de su teléfono, con la pantalla hacia arriba, en contacto con la mitad inferior de su pasaporte.";
"onfido_nfc_capture_scan_error_final_possible_passport_list_item_4" = "Es posible que necesites deslizar lentamente tu teléfono hacia arriba y hacia abajo contra tu pasaporte hasta que localices el chip.";
"onfido_nfc_capture_scan_error_final_possible_passport_list_item_5" = "Una vez que tu teléfono detecte el chip en tu pasaporte, el escaneo comenzará automáticamente. Mantén tu teléfono y pasaporte quietos para que el escaneo pueda completarse.";
"onfido_nfc_capture_scan_error_final_required_passport_list_item_1" = "Retire cualquier funda de su pasaporte o estuches de su teléfono. Esto es para evitar interferencias con el chip.";
"onfido_nfc_capture_scan_error_final_required_passport_list_item_2" = "Cierre su pasaporte y colóquelo en una superficie plana con el lado frontal hacia arriba.";
"onfido_nfc_capture_scan_error_final_required_passport_list_item_3" = "Coloque la mitad superior de su teléfono, con la pantalla hacia arriba, en contacto con la mitad inferior de su pasaporte.";
"onfido_nfc_capture_scan_error_final_required_passport_list_item_4" = "Puede que necesites deslizar lentamente tu teléfono hacia arriba y hacia abajo contra tu pasaporte hasta que localices el chip.";
"onfido_nfc_capture_scan_error_final_required_passport_list_item_5" = "Una vez que tu teléfono detecte el chip en tu pasaporte, el escaneo comenzará automáticamente. Mantén tu teléfono y pasaporte quietos para que el escaneo pueda completarse.";
"onfido_nfc_capture_scan_video_description" = "Ejemplo de video de un teléfono escaneando el chip de un pasaporte.";
Loading

0 comments on commit 50ee0dc

Please sign in to comment.