@regulaforensics/react-native-document-reader-api 6.9.1 → 7.1.0
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/README.md +10 -42
- package/RNDocumentReaderApi.podspec +1 -1
- package/android/build.gradle +10 -10
- package/android/src/main/java/com/regula/documentreader/BluetoothUtil.kt +78 -74
- package/android/src/main/java/com/regula/documentreader/Config.kt +690 -0
- package/android/src/main/java/com/regula/documentreader/JSONConstructor.kt +2188 -0
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderModule.kt +537 -0
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderPackage.kt +11 -0
- package/android/src/main/java/com/regula/documentreader/Utils.kt +256 -0
- package/example/App.tsx +97 -145
- package/example/README.md +37 -0
- package/example/android/app/build.gradle +1 -1
- package/example/android/app/src/main/java/com/regula/dr/fullrfid/MainApplication.java +0 -1
- package/example/android/app/src/main/res/values/styles.xml +1 -2
- package/example/android/build.gradle +2 -4
- package/example/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/example/android/gradle.properties +1 -1
- package/example/index.js +1 -2
- package/example/ios/DocumentReader.xcodeproj/project.pbxproj +8 -4
- package/example/ios/Podfile +0 -1
- package/example/package-lock.json +3062 -2198
- package/example/package.json +24 -23
- package/index.d.ts +296 -135
- package/index.js +234 -115
- package/ios/RGLWConfig.h +48 -0
- package/ios/RGLWConfig.m +1325 -0
- package/ios/RGLWJSONConstructor.h +173 -69
- package/ios/RGLWJSONConstructor.m +1817 -762
- package/ios/RNRegulaDocumentReader.h +6 -5
- package/ios/RNRegulaDocumentReader.m +392 -584
- package/package.json +1 -1
- package/android/src/main/java/com/regula/documentreader/Helpers.java +0 -259
- package/android/src/main/java/com/regula/documentreader/JSONConstructor.java +0 -1119
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderModule.java +0 -1153
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderPackage.java +0 -26
- package/android/src/main/java/com/regula/documentreader/RegulaConfig.java +0 -830
- package/example/.bundle/config +0 -2
- package/example/.eslintrc.js +0 -4
- package/example/.prettierrc.js +0 -7
- package/example/Gemfile +0 -6
- package/example/Gemfile.lock +0 -98
- package/example/__tests__/App.test.tsx +0 -17
- package/example/app.json +0 -4
- package/example/babel.config.js +0 -3
- package/example/jest.config.js +0 -3
- package/example/tsconfig.json +0 -3
- package/ios/RGLWRegulaConfig.h +0 -26
- package/ios/RGLWRegulaConfig.m +0 -1152
- package/ios/RNRegulaDocumentReader.xcodeproj/project.pbxproj +0 -304
- package/ios/RNRegulaDocumentReader.xcworkspace/contents.xcworkspacedata +0 -9
package/ios/RGLWConfig.h
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
//
|
|
2
|
+
// RGLWConfig.h
|
|
3
|
+
// DocumentReader
|
|
4
|
+
//
|
|
5
|
+
// Created by Pavel Masiuk on 21.09.2023.
|
|
6
|
+
// Copyright © 2023 Regula. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#ifndef RGLWConfig_h
|
|
10
|
+
#define RGLWConfig_h
|
|
11
|
+
|
|
12
|
+
#import <DocumentReader/DocumentReader.h>
|
|
13
|
+
#import "RGLWJSONConstructor.h"
|
|
14
|
+
|
|
15
|
+
@import CoreGraphics;
|
|
16
|
+
@import UIKit;
|
|
17
|
+
@import AVFoundation;
|
|
18
|
+
|
|
19
|
+
@interface RGLWConfig : NSObject
|
|
20
|
+
|
|
21
|
+
+(void)setFunctionality:(NSDictionary*)options :(RGLFunctionality*)functionality;
|
|
22
|
+
+(void)setProcessParams:(NSDictionary*)options :(RGLProcessParams*)processParams;
|
|
23
|
+
+(void)setCustomization:(NSDictionary*)options :(RGLCustomization*)customization;
|
|
24
|
+
+(void)setRfidScenario:(NSDictionary*)options :(RGLRFIDScenario*)rfidScenario;
|
|
25
|
+
+(void)setDataGroups:(RGLDataGroup*)dataGroup dict:(NSDictionary*)dict;
|
|
26
|
+
+(void)setImageQA:(RGLImageQA*)result input:(NSDictionary*)input;
|
|
27
|
+
+(void)setAuthenticityParams:(RGLAuthenticityParams*)result input:(NSDictionary*)input;
|
|
28
|
+
+(void)setLivenessParams:(RGLLivenessParams*)result input:(NSDictionary*)input;
|
|
29
|
+
|
|
30
|
+
+(NSDictionary*)getFunctionality:(RGLFunctionality*)functionality;
|
|
31
|
+
+(NSDictionary*)getProcessParams:(RGLProcessParams*)processParams;
|
|
32
|
+
+(NSDictionary*)getCustomization:(RGLCustomization*)customization;
|
|
33
|
+
+(NSDictionary*)getRfidScenario:(RGLRFIDScenario*)rfidScenario;
|
|
34
|
+
+(NSDictionary*)getDataGroups:(RGLDataGroup*)dataGroup;
|
|
35
|
+
+(NSDictionary*)getImageQA:(RGLImageQA*)input;
|
|
36
|
+
+(NSDictionary*)getAuthenticityParams:(RGLAuthenticityParams*)input;
|
|
37
|
+
+(NSDictionary*)getLivenessParams:(RGLLivenessParams*)input;
|
|
38
|
+
|
|
39
|
+
+(RGLImageQualityCheckType)imageQualityCheckTypeWithNumber:(NSNumber*)value;
|
|
40
|
+
+(NSNumber*)generateDocReaderAction:(RGLDocReaderAction)action;
|
|
41
|
+
+(NSNumber*)generateRFIDCompleteAction:(RGLRFIDCompleteAction)action;
|
|
42
|
+
+(NSNumber*)generateImageQualityCheckType:(RGLImageQualityCheckType)value;
|
|
43
|
+
|
|
44
|
+
+(RGLDocReaderFrame)docReaderFrameWithString:(NSString*)value;
|
|
45
|
+
+(NSString*)generateDocReaderFrame:(RGLDocReaderFrame)value;
|
|
46
|
+
|
|
47
|
+
@end
|
|
48
|
+
#endif
|