@regulaforensics/cordova-plugin-document-reader-api 9.11.944-rc → 9.11.946-nightly
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/example/config.xml +2 -2
- package/example/package.json +4 -4
- package/package.json +1 -1
- package/plugin.xml +10 -8
- package/src/android/build.gradle +1 -1
- package/src/ios/RGLWConfig.h +44 -0
- package/src/ios/RGLWConfig.m +1577 -0
- package/src/ios/RGLWDocumentReader.h +7 -0
- package/src/ios/RGLWDocumentReader.m +41 -0
- package/src/ios/RGLWJSONConstructor.h +216 -0
- package/src/ios/RGLWJSONConstructor.m +2875 -0
- package/src/ios/RGLWMain.h +34 -0
- package/src/ios/RGLWMain.m +722 -0
- package/src/ios/Config.swift +0 -1115
- package/src/ios/Decoder.swift +0 -1866
- package/src/ios/Implementation.swift +0 -346
- package/src/ios/RGLWDocumentReader.swift +0 -86
- package/src/ios/Utils.swift +0 -167
package/example/config.xml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
2
|
<widget android-packageName="com.regula.dr.fullauthrfid" ios-CFBundleIdentifier="regula.DocumentReader" version="1.0.0" xmlns:android="http://schemas.android.com/apk/res/android" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
|
3
|
-
<name>
|
|
3
|
+
<name>DocumentReader</name>
|
|
4
4
|
<platform name="android">
|
|
5
5
|
<resource-file src="www/db.dat" target="app/src/main/assets/Regula/db.dat" />
|
|
6
6
|
<preference name="orientation" value="portrait" />
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
</platform>
|
|
16
16
|
<platform name="ios">
|
|
17
17
|
<resource-file src="www/db.dat" />
|
|
18
|
-
<preference name="deployment-target" value="
|
|
18
|
+
<preference name="deployment-target" value="15.0" />
|
|
19
19
|
<preference name="orientation" value="portrait" />
|
|
20
20
|
<allow-intent href="itms:*" />
|
|
21
21
|
<allow-intent href="itms-apps:*" />
|
package/example/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
3
|
-
"displayName": "
|
|
2
|
+
"name": "documentreader",
|
|
3
|
+
"displayName": "DocumentReader",
|
|
4
4
|
"version": "1.0.0",
|
|
5
5
|
"description": "A sample Regula Document Reader application for reading and validation of identification documents.",
|
|
6
6
|
"main": "index.js",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"author": "Regula Forensics Inc.",
|
|
14
14
|
"license": "commercial",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@regulaforensics/cordova-plugin-document-reader-api": "9.11.
|
|
17
|
-
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "9.
|
|
16
|
+
"@regulaforensics/cordova-plugin-document-reader-api": "9.11.946-nightly",
|
|
17
|
+
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "9.11.4051-nightly",
|
|
18
18
|
"cordova-android": "15.0.0",
|
|
19
19
|
"cordova-ios": "8.1.1",
|
|
20
20
|
"cordova-plugin-camera": "8.0.0",
|
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.946-nightly",
|
|
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.946-nightly" 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>
|
|
@@ -15,19 +15,21 @@
|
|
|
15
15
|
<param name="ios-package" value="RGLWDocumentReader" />
|
|
16
16
|
</feature>
|
|
17
17
|
<preference name="deployment-target" value="16.0" />
|
|
18
|
-
<preference name="SwiftVersion" value="5" />
|
|
19
18
|
</config-file>
|
|
20
|
-
<
|
|
21
|
-
<source-file src="src/ios/
|
|
22
|
-
<
|
|
23
|
-
<source-file src="src/ios/
|
|
24
|
-
<
|
|
19
|
+
<header-file src="src/ios/RGLWDocumentReader.h" />
|
|
20
|
+
<source-file src="src/ios/RGLWDocumentReader.m" />
|
|
21
|
+
<header-file src="src/ios/RGLWJSONConstructor.h" />
|
|
22
|
+
<source-file src="src/ios/RGLWJSONConstructor.m" />
|
|
23
|
+
<header-file src="src/ios/RGLWConfig.h" />
|
|
24
|
+
<source-file src="src/ios/RGLWConfig.m" />
|
|
25
|
+
<header-file src="src/ios/RGLWMain.h" />
|
|
26
|
+
<source-file src="src/ios/RGLWMain.m" />
|
|
25
27
|
<podspec>
|
|
26
28
|
<config>
|
|
27
29
|
<source url="https://github.com/regulaforensics/podspecs.git"/>
|
|
28
30
|
</config>
|
|
29
31
|
<pods>
|
|
30
|
-
<pod name="
|
|
32
|
+
<pod name="DocumentReaderNightly" spec="9.11.7394" />
|
|
31
33
|
</pods>
|
|
32
34
|
</podspec>
|
|
33
35
|
</platform>
|
package/src/android/build.gradle
CHANGED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
#ifndef RGLWConfig_h
|
|
2
|
+
#define RGLWConfig_h
|
|
3
|
+
|
|
4
|
+
#import <DocumentReader/DocumentReader.h>
|
|
5
|
+
#import "RGLWJSONConstructor.h"
|
|
6
|
+
|
|
7
|
+
@import CoreGraphics;
|
|
8
|
+
@import UIKit;
|
|
9
|
+
@import AVFoundation;
|
|
10
|
+
|
|
11
|
+
@interface RGLWConfig : NSObject
|
|
12
|
+
|
|
13
|
+
+(void)setFunctionality:(NSDictionary*)options :(RGLFunctionality*)functionality;
|
|
14
|
+
+(void)setProcessParams:(NSDictionary*)options :(RGLProcessParams*)processParams;
|
|
15
|
+
+(void)setCustomization:(NSDictionary*)options :(RGLCustomization*)customization;
|
|
16
|
+
+(void)setRfidScenario:(NSDictionary*)options :(RGLRFIDScenario*)rfidScenario;
|
|
17
|
+
+(void)setDataGroups:(RGLDataGroup*)dataGroup dict:(NSDictionary*)dict;
|
|
18
|
+
+(void)setDTCDataGroup:(RGLDTCDataGroup*)dataGroup dict:(NSDictionary*)dict;
|
|
19
|
+
+(void)setImageQA:(RGLImageQA*)result input:(NSDictionary*)input;
|
|
20
|
+
+(void)setAuthenticityParams:(RGLAuthenticityParams*)result input:(NSDictionary*)input;
|
|
21
|
+
+(void)setLivenessParams:(RGLLivenessParams*)result input:(NSDictionary*)input;
|
|
22
|
+
+(void)setAuthenticityPropertiesParams:(RGLAuthenticityPropertiesParams*)result input:(NSDictionary*)input;
|
|
23
|
+
|
|
24
|
+
+(NSDictionary*)getFunctionality:(RGLFunctionality*)functionality;
|
|
25
|
+
+(NSDictionary*)getProcessParams:(RGLProcessParams*)processParams;
|
|
26
|
+
+(NSDictionary*)getCustomization:(RGLCustomization*)customization;
|
|
27
|
+
+(NSDictionary*)getRfidScenario:(RGLRFIDScenario*)rfidScenario;
|
|
28
|
+
+(NSDictionary*)getDataGroups:(RGLDataGroup*)dataGroup;
|
|
29
|
+
+(NSDictionary*)getDTCDataGroup:(RGLDTCDataGroup*)dataGroup;
|
|
30
|
+
+(NSDictionary*)getImageQA:(RGLImageQA*)input;
|
|
31
|
+
+(NSDictionary*)getAuthenticityParams:(RGLAuthenticityParams*)input;
|
|
32
|
+
+(NSDictionary*)getLivenessParams:(RGLLivenessParams*)input;
|
|
33
|
+
+(NSDictionary*)getAuthenticityPropertiesParams:(RGLAuthenticityPropertiesParams*)input;
|
|
34
|
+
|
|
35
|
+
+(RGLImageQualityCheckType)imageQualityCheckTypeWithNumber:(NSNumber*)value;
|
|
36
|
+
+(NSNumber*)generateDocReaderAction:(RGLDocReaderAction)action;
|
|
37
|
+
+(NSNumber*)generateRFIDCompleteAction:(RGLRFIDCompleteAction)action;
|
|
38
|
+
+(NSNumber*)generateImageQualityCheckType:(RGLImageQualityCheckType)value;
|
|
39
|
+
|
|
40
|
+
+(RGLDocReaderFrame)docReaderFrameWithString:(NSString*)value;
|
|
41
|
+
+(NSString*)generateDocReaderFrame:(RGLDocReaderFrame)value;
|
|
42
|
+
|
|
43
|
+
@end
|
|
44
|
+
#endif
|