@sumsub/cordova-idensic-mobile-sdk-plugin 1.39.0 → 1.40.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
-
<plugin id="cordova-idensic-mobile-sdk-plugin" version="1.
|
|
2
|
+
<plugin id="cordova-idensic-mobile-sdk-plugin" version="1.40.2" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
3
|
|
|
4
4
|
<name>cordova-idensic-mobile-sdk-plugin</name>
|
|
5
5
|
<description>Cordova plugin exposing SumSub Mobile SDK</description>
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
<source url="https://cdn.cocoapods.org/"/>
|
|
82
82
|
</config>
|
|
83
83
|
<pods>
|
|
84
|
-
<pod name="IdensicMobileSDK" spec="=1.
|
|
84
|
+
<pod name="IdensicMobileSDK" spec="=1.40.2" />
|
|
85
85
|
</pods>
|
|
86
86
|
</podspec>
|
|
87
87
|
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
var fs = require('fs');
|
|
4
4
|
|
|
5
5
|
module.exports = function (context) {
|
|
6
|
+
var withFisherman = process.argv.includes('--with-Fisherman')
|
|
6
7
|
var withEID = process.argv.includes('--with-EID')
|
|
7
8
|
var withVideoIdent = process.argv.includes('--with-VideoIdent') || process.argv.includes('--with-VideoIdent-compat')
|
|
8
|
-
var withMRTDReader = process.argv.includes('--with-MRTDReader')
|
|
9
|
+
var withMRTDReader = process.argv.includes('--with-MRTDReader') || process.argv.includes('--with-MRTDReader-compat')
|
|
9
10
|
|
|
10
|
-
if (!withEID && !withVideoIdent && !withMRTDReader) {
|
|
11
|
+
if (!withFisherman && !withEID && !withVideoIdent && !withMRTDReader) {
|
|
11
12
|
return
|
|
12
13
|
}
|
|
13
14
|
|
|
@@ -19,6 +20,9 @@ module.exports = function (context) {
|
|
|
19
20
|
|
|
20
21
|
var formatted = data;
|
|
21
22
|
|
|
23
|
+
if (withFisherman) {
|
|
24
|
+
formatted = formatted.replace(/^\/\/(\s+implementation\s.+fisherman.+)$/m, "$1");
|
|
25
|
+
}
|
|
22
26
|
if (withMRTDReader) {
|
|
23
27
|
formatted = formatted.replace(/^\/\/(\s+implementation\s.+nfc.+)$/m, "$1");
|
|
24
28
|
}
|
|
@@ -4,6 +4,7 @@ var fs = require('fs');
|
|
|
4
4
|
|
|
5
5
|
module.exports = function (context) {
|
|
6
6
|
|
|
7
|
+
var withFisherman = process.argv.includes('--with-Fisherman')
|
|
7
8
|
var withEID = process.argv.includes('--with-EID')
|
|
8
9
|
var withMRTDReader = process.argv.includes('--with-MRTDReader')
|
|
9
10
|
var withMRTDReaderCompat = process.argv.includes('--with-MRTDReader-compat')
|
|
@@ -13,7 +14,7 @@ module.exports = function (context) {
|
|
|
13
14
|
withMRTDReader = withMRTDReader || withMRTDReaderCompat
|
|
14
15
|
withVideoIdent = withVideoIdent || withVideoIdentCompat
|
|
15
16
|
|
|
16
|
-
if (!withEID && !withMRTDReader && !withVideoIdent) {
|
|
17
|
+
if (!withFisherman && !withEID && !withMRTDReader && !withVideoIdent) {
|
|
17
18
|
return
|
|
18
19
|
}
|
|
19
20
|
|
|
@@ -35,8 +36,11 @@ module.exports = function (context) {
|
|
|
35
36
|
|
|
36
37
|
var podLine = matches[0]
|
|
37
38
|
var replaces = [podLine]
|
|
38
|
-
var minTarget = '
|
|
39
|
+
var minTarget = '13.0'
|
|
39
40
|
|
|
41
|
+
if (withFisherman) {
|
|
42
|
+
replaces.push(podLine.replace(/IdensicMobileSDK/, 'IdensicMobileSDK/Fisherman'))
|
|
43
|
+
}
|
|
40
44
|
if (withEID) {
|
|
41
45
|
replaces.push(podLine.replace(/IdensicMobileSDK/, 'IdensicMobileSDK/EID'))
|
|
42
46
|
}
|
|
@@ -45,9 +49,6 @@ module.exports = function (context) {
|
|
|
45
49
|
}
|
|
46
50
|
if (withVideoIdent) {
|
|
47
51
|
replaces.push(podLine.replace(/IdensicMobileSDK/, 'IdensicMobileSDK/VideoIdent' + (withVideoIdentCompat ? "-compat" : "")))
|
|
48
|
-
if (!withVideoIdentCompat) {
|
|
49
|
-
minTarget = '12.2'
|
|
50
|
-
}
|
|
51
52
|
}
|
|
52
53
|
|
|
53
54
|
var platformMatches = podfileContent.match(platformLineRe)
|
|
@@ -14,10 +14,11 @@ allprojects {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
dependencies {
|
|
17
|
-
implementation "com.sumsub.sns:idensic-mobile-sdk:1.
|
|
18
|
-
implementation "com.sumsub.sns:idensic-mobile-sdk-
|
|
19
|
-
implementation "com.sumsub.sns:idensic-mobile-sdk-
|
|
20
|
-
implementation "com.sumsub.sns:idensic-mobile-sdk-
|
|
17
|
+
implementation "com.sumsub.sns:idensic-mobile-sdk:1.40.2"
|
|
18
|
+
implementation "com.sumsub.sns:idensic-mobile-sdk-fisherman:1.40.2"
|
|
19
|
+
implementation "com.sumsub.sns:idensic-mobile-sdk-videoident:1.40.2"
|
|
20
|
+
implementation "com.sumsub.sns:idensic-mobile-sdk-eid:1.40.2"
|
|
21
|
+
implementation "com.sumsub.sns:idensic-mobile-sdk-nfc:1.40.2"
|
|
21
22
|
|
|
22
23
|
implementation 'com.google.android.material:material:1.8.0'
|
|
23
24
|
}
|