@regulaforensics/react-native-document-reader-api 6.9.1 → 7.2.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 +692 -0
- package/android/src/main/java/com/regula/documentreader/JSONConstructor.kt +2198 -0
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderModule.kt +535 -0
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderPackage.kt +11 -0
- package/android/src/main/java/com/regula/documentreader/Utils.kt +261 -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 +2 -2
- package/example/index.js +1 -2
- package/example/ios/DocumentReader.xcodeproj/project.pbxproj +8 -4
- package/example/ios/Podfile +2 -21
- package/example/package-lock.json +3444 -2439
- package/example/package.json +28 -28
- package/example/react-native.config.js +5 -0
- package/index.d.ts +1375 -446
- package/index.js +843 -272
- package/ios/RGLWConfig.h +48 -0
- package/ios/RGLWConfig.m +1312 -0
- package/ios/RGLWJSONConstructor.h +173 -69
- package/ios/RGLWJSONConstructor.m +1832 -786
- package/ios/RNRegulaDocumentReader.h +10 -9
- package/ios/RNRegulaDocumentReader.m +388 -587
- 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/example/.bundle/config
DELETED
package/example/.eslintrc.js
DELETED
package/example/.prettierrc.js
DELETED
package/example/Gemfile
DELETED
package/example/Gemfile.lock
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
GEM
|
|
2
|
-
remote: https://rubygems.org/
|
|
3
|
-
specs:
|
|
4
|
-
CFPropertyList (3.0.6)
|
|
5
|
-
rexml
|
|
6
|
-
activesupport (7.0.5.1)
|
|
7
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
8
|
-
i18n (>= 1.6, < 2)
|
|
9
|
-
minitest (>= 5.1)
|
|
10
|
-
tzinfo (~> 2.0)
|
|
11
|
-
addressable (2.8.4)
|
|
12
|
-
public_suffix (>= 2.0.2, < 6.0)
|
|
13
|
-
algoliasearch (1.27.5)
|
|
14
|
-
httpclient (~> 2.8, >= 2.8.3)
|
|
15
|
-
json (>= 1.5.1)
|
|
16
|
-
atomos (0.1.3)
|
|
17
|
-
claide (1.1.0)
|
|
18
|
-
cocoapods (1.12.1)
|
|
19
|
-
addressable (~> 2.8)
|
|
20
|
-
claide (>= 1.0.2, < 2.0)
|
|
21
|
-
cocoapods-core (= 1.12.1)
|
|
22
|
-
cocoapods-deintegrate (>= 1.0.3, < 2.0)
|
|
23
|
-
cocoapods-downloader (>= 1.6.0, < 2.0)
|
|
24
|
-
cocoapods-plugins (>= 1.0.0, < 2.0)
|
|
25
|
-
cocoapods-search (>= 1.0.0, < 2.0)
|
|
26
|
-
cocoapods-trunk (>= 1.6.0, < 2.0)
|
|
27
|
-
cocoapods-try (>= 1.1.0, < 2.0)
|
|
28
|
-
colored2 (~> 3.1)
|
|
29
|
-
escape (~> 0.0.4)
|
|
30
|
-
fourflusher (>= 2.3.0, < 3.0)
|
|
31
|
-
gh_inspector (~> 1.0)
|
|
32
|
-
molinillo (~> 0.8.0)
|
|
33
|
-
nap (~> 1.0)
|
|
34
|
-
ruby-macho (>= 2.3.0, < 3.0)
|
|
35
|
-
xcodeproj (>= 1.21.0, < 2.0)
|
|
36
|
-
cocoapods-core (1.12.1)
|
|
37
|
-
activesupport (>= 5.0, < 8)
|
|
38
|
-
addressable (~> 2.8)
|
|
39
|
-
algoliasearch (~> 1.0)
|
|
40
|
-
concurrent-ruby (~> 1.1)
|
|
41
|
-
fuzzy_match (~> 2.0.4)
|
|
42
|
-
nap (~> 1.0)
|
|
43
|
-
netrc (~> 0.11)
|
|
44
|
-
public_suffix (~> 4.0)
|
|
45
|
-
typhoeus (~> 1.0)
|
|
46
|
-
cocoapods-deintegrate (1.0.5)
|
|
47
|
-
cocoapods-downloader (1.6.3)
|
|
48
|
-
cocoapods-plugins (1.0.0)
|
|
49
|
-
nap
|
|
50
|
-
cocoapods-search (1.0.1)
|
|
51
|
-
cocoapods-trunk (1.6.0)
|
|
52
|
-
nap (>= 0.8, < 2.0)
|
|
53
|
-
netrc (~> 0.11)
|
|
54
|
-
cocoapods-try (1.2.0)
|
|
55
|
-
colored2 (3.1.2)
|
|
56
|
-
concurrent-ruby (1.2.2)
|
|
57
|
-
escape (0.0.4)
|
|
58
|
-
ethon (0.16.0)
|
|
59
|
-
ffi (>= 1.15.0)
|
|
60
|
-
ffi (1.15.5)
|
|
61
|
-
fourflusher (2.3.1)
|
|
62
|
-
fuzzy_match (2.0.4)
|
|
63
|
-
gh_inspector (1.1.3)
|
|
64
|
-
httpclient (2.8.3)
|
|
65
|
-
i18n (1.14.1)
|
|
66
|
-
concurrent-ruby (~> 1.0)
|
|
67
|
-
json (2.6.3)
|
|
68
|
-
minitest (5.18.1)
|
|
69
|
-
molinillo (0.8.0)
|
|
70
|
-
nanaimo (0.3.0)
|
|
71
|
-
nap (1.1.0)
|
|
72
|
-
netrc (0.11.0)
|
|
73
|
-
public_suffix (4.0.7)
|
|
74
|
-
rexml (3.2.5)
|
|
75
|
-
ruby-macho (2.5.1)
|
|
76
|
-
typhoeus (1.4.0)
|
|
77
|
-
ethon (>= 0.9.0)
|
|
78
|
-
tzinfo (2.0.6)
|
|
79
|
-
concurrent-ruby (~> 1.0)
|
|
80
|
-
xcodeproj (1.22.0)
|
|
81
|
-
CFPropertyList (>= 2.3.3, < 4.0)
|
|
82
|
-
atomos (~> 0.1.3)
|
|
83
|
-
claide (>= 1.0.2, < 2.0)
|
|
84
|
-
colored2 (~> 3.1)
|
|
85
|
-
nanaimo (~> 0.3.0)
|
|
86
|
-
rexml (~> 3.2.4)
|
|
87
|
-
|
|
88
|
-
PLATFORMS
|
|
89
|
-
ruby
|
|
90
|
-
|
|
91
|
-
DEPENDENCIES
|
|
92
|
-
cocoapods (~> 1.12)
|
|
93
|
-
|
|
94
|
-
RUBY VERSION
|
|
95
|
-
ruby 2.7.6p219
|
|
96
|
-
|
|
97
|
-
BUNDLED WITH
|
|
98
|
-
2.1.4
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @format
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import 'react-native';
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import App from '../App';
|
|
8
|
-
|
|
9
|
-
// Note: import explicitly to use the types shiped with jest.
|
|
10
|
-
import {it} from '@jest/globals';
|
|
11
|
-
|
|
12
|
-
// Note: test renderer must be required after react-native.
|
|
13
|
-
import renderer from 'react-test-renderer';
|
|
14
|
-
|
|
15
|
-
it('renders correctly', () => {
|
|
16
|
-
renderer.create(<App />);
|
|
17
|
-
});
|
package/example/app.json
DELETED
package/example/babel.config.js
DELETED
package/example/jest.config.js
DELETED
package/example/tsconfig.json
DELETED
package/ios/RGLWRegulaConfig.h
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
#ifndef RGLWRegulaConfig_h
|
|
2
|
-
#define RGLWRegulaConfig_h
|
|
3
|
-
#import <DocumentReader/DocumentReader.h>
|
|
4
|
-
#import "RGLWJSONConstructor.h"
|
|
5
|
-
@import CoreGraphics;
|
|
6
|
-
@import UIKit;
|
|
7
|
-
@import AVFoundation;
|
|
8
|
-
|
|
9
|
-
@interface RGLWRegulaConfig : NSObject
|
|
10
|
-
|
|
11
|
-
+(void)setConfig:(NSDictionary*) options : (RGLDocReader*) reader;
|
|
12
|
-
+(NSMutableDictionary *)getConfig:(RGLDocReader*) reader;
|
|
13
|
-
+(void)setRfidScenario:(NSDictionary*) options : (RGLRFIDScenario*) rfidScenario;
|
|
14
|
-
+(void)setCustomization:(NSDictionary*) options : (RGLCustomization*) customization;
|
|
15
|
-
+(void)setFunctionality:(NSDictionary*) options : (RGLFunctionality*) functionality;
|
|
16
|
-
+(void)setProcessParams:(NSDictionary*) options : (RGLProcessParams*) processParams;
|
|
17
|
-
+(UIColor *)getUIColorObjectFromHexString:(NSString *)hexStr alpha:(CGFloat)alpha;
|
|
18
|
-
+(unsigned int)intFromHexString:(NSString *)hexStr;
|
|
19
|
-
+(RGLePassportDataGroup*)RGLePassportDataGroupFromJson:(NSDictionary *) dict;
|
|
20
|
-
+(RGLeIDDataGroup*)RGLeIDDataGroupFromJson:(NSDictionary*) dict;
|
|
21
|
-
+(RGLeDLDataGroup*)RGLeDLDataGroupFromJson:(NSDictionary*) dict;
|
|
22
|
-
+(RGLImageQA*)ImageQAFromJson:(NSDictionary*) dict;
|
|
23
|
-
+(NSDictionary*)ImageQAToJson:(RGLImageQA*) input;
|
|
24
|
-
+(RGLOnlineProcessingConfig*)RGLOnlineProcessingConfigFromJSON:(NSDictionary*) dict;
|
|
25
|
-
@end
|
|
26
|
-
#endif
|