Skip to content

Commit 5df7dd4

Browse files
Merge tag '5.9.0' into develop
5.9.0
2 parents 5e7d06d + 985733f commit 5df7dd4

File tree

5 files changed

+27
-25
lines changed

5 files changed

+27
-25
lines changed

IDCheckioSDK_Sample/IDCheckioSDK_Sample.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,22 +378,22 @@
378378
inputPaths = (
379379
"${PODS_ROOT}/Target Support Files/Pods-IDCheckioSDK_Sample/Pods-IDCheckioSDK_Sample-frameworks.sh",
380380
"${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework",
381-
"${PODS_ROOT}/IDCheckIOSDK/res/IDCheckIOSDK.framework",
382381
"${BUILT_PRODUCTS_DIR}/KeychainAccess/KeychainAccess.framework",
383382
"${BUILT_PRODUCTS_DIR}/Moya/Moya.framework",
384383
"${BUILT_PRODUCTS_DIR}/SocketRocket/SocketRocket.framework",
385384
"${BUILT_PRODUCTS_DIR}/SwiftProtobuf/SwiftProtobuf.framework",
386385
"${BUILT_PRODUCTS_DIR}/SwiftyUserDefaults/SwiftyUserDefaults.framework",
386+
"${PODS_XCFRAMEWORKS_BUILD_DIR}/IDCheckIOSDK/IDCheckIOSDK.framework/IDCheckIOSDK",
387387
);
388388
name = "[CP] Embed Pods Frameworks";
389389
outputPaths = (
390390
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
391-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/IDCheckIOSDK.framework",
392391
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/KeychainAccess.framework",
393392
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Moya.framework",
394393
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SocketRocket.framework",
395394
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwiftProtobuf.framework",
396395
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwiftyUserDefaults.framework",
396+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/IDCheckIOSDK.framework",
397397
);
398398
runOnlyForDeploymentPostprocessing = 0;
399399
shellPath = /bin/sh;

IDCheckioSDK_Sample/IDCheckioSDK_Sample/Resources/Storyboards/Main.storyboard

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="c8S-8g-Tgg">
3-
<device id="retina4_7" orientation="portrait">
4-
<adaptation id="fullscreen"/>
5-
</device>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17506" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="c8S-8g-Tgg">
3+
<device id="retina4_7" orientation="portrait" appearance="light"/>
64
<dependencies>
75
<deployment identifier="iOS"/>
8-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17505"/>
97
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
108
</dependencies>
119
<scenes>
@@ -22,18 +20,18 @@
2220
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
2321
<subviews>
2422
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="idcheckio_logo" translatesAutoresizingMaskIntoConstraints="NO" id="HvZ-p1-IQq">
25-
<rect key="frame" x="16" y="20" width="343" height="150"/>
23+
<rect key="frame" x="16" y="0.0" width="343" height="150"/>
2624
<constraints>
2725
<constraint firstAttribute="height" constant="150" id="wKc-Pt-2Du"/>
2826
</constraints>
2927
</imageView>
3028
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g1r-QM-qhb" userLabel="Version Label">
31-
<rect key="frame" x="16" y="170" width="343" height="0.0"/>
29+
<rect key="frame" x="16" y="150" width="343" height="0.0"/>
3230
<fontDescription key="fontDescription" type="system" pointSize="17"/>
33-
<nil key="textColor"/>
31+
<color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
3432
<nil key="highlightedColor"/>
3533
</label>
36-
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7hT-W2-aBJ">
34+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7hT-W2-aBJ">
3735
<rect key="frame" x="36" y="577" width="303" height="40"/>
3836
<color key="backgroundColor" red="0.0" green="0.0" blue="1" alpha="1" colorSpace="calibratedRGB"/>
3937
<constraints>
@@ -46,7 +44,7 @@
4644
<action selector="startButtonTouchUpInside:" destination="c8S-8g-Tgg" eventType="touchUpInside" id="CGg-j4-7By"/>
4745
</connections>
4846
</button>
49-
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Khv-0J-Ohp">
47+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Khv-0J-Ohp">
5048
<rect key="frame" x="141.5" y="627" width="92" height="30"/>
5149
<state key="normal" title="Clear context"/>
5250
<connections>
@@ -60,7 +58,7 @@
6058
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Document Type :" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8lz-44-jDy">
6159
<rect key="frame" x="0.0" y="0.0" width="171.5" height="105"/>
6260
<fontDescription key="fontDescription" type="system" weight="semibold" pointSize="17"/>
63-
<nil key="textColor"/>
61+
<color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
6462
<nil key="highlightedColor"/>
6563
</label>
6664
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="wWJ-4s-fac">
@@ -72,7 +70,7 @@
7270
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="ID" textAlignment="right" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sya-9Q-Pbt">
7371
<rect key="frame" x="0.0" y="0.0" width="82.5" height="50"/>
7472
<fontDescription key="fontDescription" type="system" pointSize="17"/>
75-
<nil key="textColor"/>
73+
<color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
7674
<nil key="highlightedColor"/>
7775
</label>
7876
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="YG5-iV-l2j">
@@ -99,7 +97,7 @@
9997
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Liveness" textAlignment="right" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tS1-qy-8OE">
10098
<rect key="frame" x="0.0" y="0.0" width="82.5" height="50"/>
10199
<fontDescription key="fontDescription" type="system" pointSize="17"/>
102-
<nil key="textColor"/>
100+
<color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
103101
<nil key="highlightedColor"/>
104102
</label>
105103
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="Yfk-Iu-UGd">
@@ -130,7 +128,7 @@
130128
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Local Session" textAlignment="right" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Fuv-3Q-X0g">
131129
<rect key="frame" x="0.0" y="0.0" width="142" height="41"/>
132130
<fontDescription key="fontDescription" type="system" pointSize="17"/>
133-
<nil key="textColor"/>
131+
<color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
134132
<nil key="highlightedColor"/>
135133
</label>
136134
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="nSY-Se-qpL">
@@ -139,7 +137,7 @@
139137
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Online Session (CIS)" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AQY-3G-MQN">
140138
<rect key="frame" x="201" y="0.0" width="142" height="41"/>
141139
<fontDescription key="fontDescription" type="system" pointSize="17"/>
142-
<nil key="textColor"/>
140+
<color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
143141
<nil key="highlightedColor"/>
144142
</label>
145143
</subviews>

IDCheckioSDK_Sample/IDCheckioSDK_Sample/ViewControllers/HomeViewController.swift

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,16 +123,20 @@ extension HomeViewController {
123123
cisContext: context,
124124
completion: { [weak self] (error) in
125125
if let error = error {
126-
self?.dismiss(animated: true) {
127-
self?.display(result: nil, error: error)
126+
DispatchQueue.main.async {
127+
self?.dismiss(animated: true) {
128+
self?.display(result: nil, error: error)
129+
}
128130
}
129131
}
130-
})
132+
})
131133
} else {
132134
Idcheckio.shared.start(with: cameraView, completion: { [weak self] (error) in
133135
if let error = error {
134-
self?.dismiss(animated: true) {
135-
self?.display(result: nil, error: error)
136+
DispatchQueue.main.async {
137+
self?.dismiss(animated: true) {
138+
self?.display(result: nil, error: error)
139+
}
136140
}
137141
}
138142
})

IDCheckioSDK_Sample/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
source 'https://github.com/CocoaPods/Specs'
1+
source 'https://github.com/CocoaPods/Specs.git'
22
source 'https://git-externe.rennes.ariadnext.com/idcheckio/axt-podspecs.git'
33

44
platform :ios, '10.0'
@@ -8,7 +8,7 @@ use_frameworks!
88

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

1313
end
1414

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Open your terminal and execute the following commands :
99
> cd IDCheckioSDK_Sample
1010
> pod install
1111
```
12-
12+
⚠️ Cocoapods v1.10 is needed.
1313
> More information at https://cocoapods.org/
1414
1515
## Add your SDK's licence

0 commit comments

Comments
 (0)