@regulaforensics/react-native-document-reader-api 9.11.947-rc → 9.11.949-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/RNDocumentReaderApi.podspec +2 -2
- package/android/build.gradle +1 -1
- package/example/package-lock.json +1 -1
- package/example/package.json +5 -5
- package/ios/RGLWConfig.h +44 -0
- package/ios/RGLWConfig.m +1577 -0
- package/ios/RGLWJSONConstructor.h +216 -0
- package/ios/RGLWJSONConstructor.m +2875 -0
- package/ios/RGLWMain.h +34 -0
- package/ios/RGLWMain.m +722 -0
- package/ios/RNRegulaDocumentReader.h +8 -0
- package/ios/RNRegulaDocumentReader.m +44 -8
- package/package.json +1 -1
- package/ios/Config.swift +0 -1171
- package/ios/Decoder.swift +0 -1965
- package/ios/Implementation.swift +0 -324
- package/ios/RNRegulaDocumentReader.swift +0 -71
- package/ios/Utils.swift +0 -87
|
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
|
|
|
13
13
|
|
|
14
14
|
s.source = { :http => 'file:' + __dir__ }
|
|
15
15
|
s.ios.deployment_target = '16.0'
|
|
16
|
-
s.source_files = "ios/*.{
|
|
17
|
-
s.dependency '
|
|
16
|
+
s.source_files = "ios/*.{h,m}"
|
|
17
|
+
s.dependency 'DocumentReaderNightly', '9.11.7394'
|
|
18
18
|
s.dependency 'React'
|
|
19
19
|
end
|
package/android/build.gradle
CHANGED
|
@@ -30,7 +30,7 @@ dependencies {
|
|
|
30
30
|
//noinspection GradleDynamicVersion
|
|
31
31
|
implementation 'com.facebook.react:react-native:+'
|
|
32
32
|
//noinspection GradleDependency
|
|
33
|
-
implementation('com.regula.documentreader:api:9.
|
|
33
|
+
implementation('com.regula.documentreader:api:9.11.13793') {
|
|
34
34
|
transitive = true
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"react-native-radio-buttons-group": "3.1.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@babel/core": "^7.29.
|
|
20
|
+
"@babel/core": "^7.29.0",
|
|
21
21
|
"@babel/runtime": "^7.28.4",
|
|
22
22
|
"@react-native-community/cli": "20.2.0",
|
|
23
23
|
"@react-native-community/cli-platform-android": "20.2.0",
|
package/example/package.json
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
"ios": "react-native run-ios --no-packager"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@regulaforensics/react-native-document-reader-api": "9.11.
|
|
11
|
-
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "9.
|
|
10
|
+
"@regulaforensics/react-native-document-reader-api": "9.11.949-nightly",
|
|
11
|
+
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "9.11.3950-nightly",
|
|
12
12
|
"react": "19.3.1",
|
|
13
13
|
"react-native": "0.88.1",
|
|
14
14
|
"react-native-fs": "2.20.0",
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"react-native-radio-buttons-group": "3.1.0"
|
|
17
17
|
},
|
|
18
18
|
"overrides": {
|
|
19
|
-
"fast-xml-parser": "^5.
|
|
20
|
-
"js-yaml": "^4.
|
|
19
|
+
"fast-xml-parser": "^5.5.8",
|
|
20
|
+
"js-yaml": "^4.1.1"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@babel/core": "^7.29.
|
|
23
|
+
"@babel/core": "^7.29.0",
|
|
24
24
|
"@babel/runtime": "^7.28.4",
|
|
25
25
|
"@react-native-community/cli": "20.2.0",
|
|
26
26
|
"@react-native-community/cli-platform-android": "20.2.0",
|
package/ios/RGLWConfig.h
ADDED
|
@@ -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
|