@regulaforensics/cordova-plugin-document-reader-api 9.11.938-rc → 9.11.940-rc
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.swift +31 -0
- package/example/package.json +1 -1
- package/package.json +1 -1
- package/plugin.xml +3 -3
- package/src/ios/Config.swift +647 -703
- package/src/ios/Decoder.swift +1074 -1173
- package/src/ios/Implementation.swift +22 -0
- package/src/ios/Utils.swift +83 -3
package/Package.swift
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// swift-tools-version: 5.9
|
|
2
|
+
|
|
3
|
+
import PackageDescription
|
|
4
|
+
|
|
5
|
+
let package = Package(
|
|
6
|
+
name: "@regulaforensics/cordova-plugin-document-reader-api",
|
|
7
|
+
platforms: [.iOS(.v16)],
|
|
8
|
+
products: [
|
|
9
|
+
.library(
|
|
10
|
+
name: "@regulaforensics/cordova-plugin-document-reader-api",
|
|
11
|
+
targets: ["DocumentReaderCordovaPlugin"]
|
|
12
|
+
)
|
|
13
|
+
],
|
|
14
|
+
dependencies: [
|
|
15
|
+
.package(url: "https://github.com/apache/cordova-ios.git", branch: "master"),
|
|
16
|
+
.package(
|
|
17
|
+
url: "https://github.com/regulaforensics/DocumentReader-Swift-Package",
|
|
18
|
+
exact: "9.10.7343"
|
|
19
|
+
)
|
|
20
|
+
],
|
|
21
|
+
targets: [
|
|
22
|
+
.target(
|
|
23
|
+
name: "DocumentReaderCordovaPlugin",
|
|
24
|
+
dependencies: [
|
|
25
|
+
.product(name: "Cordova", package: "cordova-ios"),
|
|
26
|
+
.product(name: "DocumentReader", package: "DocumentReader-Swift-Package")
|
|
27
|
+
],
|
|
28
|
+
path: "src/ios"
|
|
29
|
+
)
|
|
30
|
+
]
|
|
31
|
+
)
|
package/example/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"author": "Regula Forensics Inc.",
|
|
14
14
|
"license": "commercial",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@regulaforensics/cordova-plugin-document-reader-api": "9.11.
|
|
16
|
+
"@regulaforensics/cordova-plugin-document-reader-api": "9.11.940-rc",
|
|
17
17
|
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "9.10.3958",
|
|
18
18
|
"cordova-android": "15.0.0",
|
|
19
19
|
"cordova-ios": "8.1.1",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/cordova-plugin-document-reader-api",
|
|
3
|
-
"version": "9.11.
|
|
3
|
+
"version": "9.11.940-rc",
|
|
4
4
|
"description": "Cordova plugin for reading and validation of identification documents (API framework)",
|
|
5
5
|
"cordova": {
|
|
6
6
|
"id": "@regulaforensics/cordova-plugin-document-reader-api",
|
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<plugin id="@regulaforensics/cordova-plugin-document-reader-api" version="9.11.
|
|
2
|
+
<plugin id="@regulaforensics/cordova-plugin-document-reader-api" version="9.11.940-rc" xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
|
3
3
|
<name>DocumentReaderApi</name>
|
|
4
4
|
<description>Cordova plugin Document reader api</description>
|
|
5
5
|
<license>commercial</license>
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<clobbers target="DocumentReader" />
|
|
10
10
|
</js-module>
|
|
11
11
|
|
|
12
|
-
<platform name="ios">
|
|
12
|
+
<platform name="ios" package="swift">
|
|
13
13
|
<config-file target="config.xml" parent="/widget">
|
|
14
14
|
<feature name="DocumentReader">
|
|
15
15
|
<param name="ios-package" value="RGLWDocumentReader" />
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<source url="https://github.com/regulaforensics/podspecs.git"/>
|
|
28
28
|
</config>
|
|
29
29
|
<pods>
|
|
30
|
-
<pod name="DocumentReader" spec="9.10.7343" />
|
|
30
|
+
<pod name="DocumentReader" spec="9.10.7343" nospm="true" />
|
|
31
31
|
</pods>
|
|
32
32
|
</podspec>
|
|
33
33
|
</platform>
|