Skip to content

Commit e809e4e

Browse files
Merge tag '5.4.0' into develop
5.4.0
2 parents 6f0c26c + 536f3aa commit e809e4e

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

IDCheckioSDK_Sample/IDCheckioSDK_Sample/ViewControllers/HomeViewController.swift

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ typealias IDCheckIOResultCompletionBlock = (_ result: IdcheckioResult?, _ error:
1414
class HomeViewController: UIViewController {
1515

1616
// MARK: Outlets
17-
@IBOutlet weak var versionLabel: UILabel! {
17+
@IBOutlet private weak var versionLabel: UILabel! {
1818
didSet {
1919
versionLabel.text = "SDK v.\(Idcheckio.shared.sdkVersion())"
2020
}
2121
}
22-
@IBOutlet weak var idSwitch: UISwitch!
23-
@IBOutlet weak var livenessSwitch: UISwitch!
24-
@IBOutlet weak var sessionTypeSwitch: UISwitch!
22+
@IBOutlet private weak var idSwitch: UISwitch!
23+
@IBOutlet private weak var livenessSwitch: UISwitch!
24+
@IBOutlet private weak var sessionTypeSwitch: UISwitch!
2525

2626
// MARK: Properties
2727
var selectedParams: SDKParams?
@@ -39,7 +39,7 @@ class HomeViewController: UIViewController {
3939
Idcheckio.shared.delegate = self
4040

4141
// Activate SDK with your licence file (name it "licence.axt" and place it in the root of the project folder)
42-
Idcheckio.shared.activate(withLicenseFilename: "licence", extractData: true) { (error: IdcheckioError?) in
42+
Idcheckio.shared.activate(withLicenseFilename: "licence", extractData: true, sdkEnvironment: .demo) { (error: IdcheckioError?) in
4343
if let error = error {
4444
print("Error on initialization :\(error.localizedDescription)")
4545

@@ -120,7 +120,6 @@ extension HomeViewController {
120120
let folderUid = self?.previousResult?.folderUid
121121
let context = CISContext(folderUid: folderUid, referenceTaskUid: referenceTaskUid, referenceDocUid: referenceDocUid)
122122
Idcheckio.shared.startOnline(with: cameraView,
123-
licenseFilename: "licence",
124123
cisContext: context,
125124
completion: { [weak self] (error) in
126125
self?.display(result: nil, error: error)

IDCheckioSDK_Sample/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use_frameworks!
88

99
target 'IDCheckioSDK_Sample' do
1010
# Application Pods
11-
pod 'IDCheckIOSDK', '5.3.6'
11+
pod 'IDCheckIOSDK', '5.4.0'
1212

1313
end
1414

0 commit comments

Comments
 (0)