@regulaforensics/react-native-document-reader-api 9.4.552-rc → 9.4.554-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 +1 -1
- package/android/build.gradle +2 -2
- package/example/package.json +2 -2
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/ios/RGLWMain.m +5 -5
- package/package.json +1 -1
|
@@ -14,6 +14,6 @@ Pod::Spec.new do |s|
|
|
|
14
14
|
s.source = { :http => 'file:' + __dir__ }
|
|
15
15
|
s.ios.deployment_target = '13.0'
|
|
16
16
|
s.source_files = "ios/*.{h,m}"
|
|
17
|
-
s.dependency '
|
|
17
|
+
s.dependency 'DocumentReaderNightly', '9.4.6283'
|
|
18
18
|
s.dependency 'React'
|
|
19
19
|
end
|
package/android/build.gradle
CHANGED
|
@@ -20,7 +20,7 @@ android {
|
|
|
20
20
|
rootProject.allprojects {
|
|
21
21
|
repositories {
|
|
22
22
|
maven {
|
|
23
|
-
url "https://maven.regulaforensics.com/RegulaDocumentReader/
|
|
23
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -29,7 +29,7 @@ dependencies {
|
|
|
29
29
|
//noinspection GradleDynamicVersion
|
|
30
30
|
implementation 'com.facebook.react:react-native:+'
|
|
31
31
|
//noinspection GradleDependency
|
|
32
|
-
implementation('com.regula.documentreader:api:9.4.
|
|
32
|
+
implementation('com.regula.documentreader:api:9.4.12803') {
|
|
33
33
|
transitive = true
|
|
34
34
|
}
|
|
35
35
|
}
|
package/example/package.json
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"test": "jest"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@regulaforensics/react-native-document-reader-api": "9.4.
|
|
14
|
-
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "9.4.
|
|
13
|
+
"@regulaforensics/react-native-document-reader-api": "9.4.554-nightly",
|
|
14
|
+
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "9.4.2363-nightly",
|
|
15
15
|
"@rneui/base": "4.0.0-rc.7",
|
|
16
16
|
"@rneui/themed": "4.0.0-rc.7",
|
|
17
17
|
"react": "19.0.0",
|
package/index.d.ts
CHANGED
|
@@ -4593,7 +4593,7 @@ export const eLDS_ParsingNotificationCodes = {
|
|
|
4593
4593
|
NTF_LDS_ICAO_CERTIFICATE_ISSUER_COUNTRY_NON_UPPER_CASE: 0x90000253,
|
|
4594
4594
|
NTF_LDS_ICAO_CERTIFICATE_SUBJECT_COUNTRY_NON_UPPER_CASE: 0x90000254,
|
|
4595
4595
|
NTFLDS_SI_STORAGE_CS_NONCONSISTANT: 0x91000111,
|
|
4596
|
-
NTFLDS_SI_STORAGE_CS_PACE_CAM_KEY_MISSING:
|
|
4596
|
+
NTFLDS_SI_STORAGE_CS_PACE_CAM_KEY_MISSING: 0x91000112,
|
|
4597
4597
|
}
|
|
4598
4598
|
|
|
4599
4599
|
export const eImageQualityCheckType = {
|
package/index.js
CHANGED
|
@@ -3387,7 +3387,7 @@ export const eLDS_ParsingNotificationCodes = {
|
|
|
3387
3387
|
NTF_LDS_ICAO_CERTIFICATE_ISSUER_COUNTRY_NON_UPPER_CASE: 0x90000253,
|
|
3388
3388
|
NTF_LDS_ICAO_CERTIFICATE_SUBJECT_COUNTRY_NON_UPPER_CASE: 0x90000254,
|
|
3389
3389
|
NTFLDS_SI_STORAGE_CS_NONCONSISTANT: 0x91000111,
|
|
3390
|
-
NTFLDS_SI_STORAGE_CS_PACE_CAM_KEY_MISSING:
|
|
3390
|
+
NTFLDS_SI_STORAGE_CS_PACE_CAM_KEY_MISSING: 0x91000112,
|
|
3391
3391
|
}
|
|
3392
3392
|
|
|
3393
3393
|
export const eImageQualityCheckType = {
|
package/ios/RGLWMain.m
CHANGED
|
@@ -638,7 +638,7 @@ RGLRFIDAccessControlCACallback caProtocolCompletion;
|
|
|
638
638
|
NSDictionary* rfidReaderRequest;
|
|
639
639
|
|
|
640
640
|
- (void)onRequestPACertificatesWithSerial:(NSData *)serialNumber issuer:(RGLPAResourcesIssuer *)issuer callback:(RGLRFIDCertificatesCallback)callback {
|
|
641
|
-
if (rfidReaderRequest && [rfidReaderRequest[@"paCertificates"] boolValue]) {
|
|
641
|
+
if ([rfidReaderRequest isKindOfClass:[NSDictionary class]] && [rfidReaderRequest[@"paCertificates"] boolValue]) {
|
|
642
642
|
paCertificateCompletion = callback;
|
|
643
643
|
sendEvent(paCertificateCompletionEvent, [RGLWJSONConstructor generatePACertificateCompletion:serialNumber :issuer]);
|
|
644
644
|
} else {
|
|
@@ -648,7 +648,7 @@ NSDictionary* rfidReaderRequest;
|
|
|
648
648
|
}
|
|
649
649
|
|
|
650
650
|
- (void)onRequestTACertificatesWithKey:(NSString *)keyCAR callback:(RGLRFIDCertificatesCallback)callback {
|
|
651
|
-
if (rfidReaderRequest && [rfidReaderRequest[@"taCertificates"] boolValue]) {
|
|
651
|
+
if ([rfidReaderRequest isKindOfClass:[NSDictionary class]] && [rfidReaderRequest[@"taCertificates"] boolValue]) {
|
|
652
652
|
taCertificateCompletion = callback;
|
|
653
653
|
sendEvent(taCertificateCompletionEvent, keyCAR);
|
|
654
654
|
} else {
|
|
@@ -658,7 +658,7 @@ NSDictionary* rfidReaderRequest;
|
|
|
658
658
|
}
|
|
659
659
|
|
|
660
660
|
- (void)onRequestTASignatureWithChallenge:(RGLTAChallenge *)challenge callback:(void(^)(NSData *signature))callback {
|
|
661
|
-
if (rfidReaderRequest && [rfidReaderRequest[@"taSignature"] boolValue]) {
|
|
661
|
+
if ([rfidReaderRequest isKindOfClass:[NSDictionary class]] && [rfidReaderRequest[@"taSignature"] boolValue]) {
|
|
662
662
|
taSignatureCompletion = callback;
|
|
663
663
|
sendEvent(taSignatureCompletionEvent, [RGLWJSONConstructor dictToString: [RGLWJSONConstructor generateTAChallenge:challenge]]);
|
|
664
664
|
} else {
|
|
@@ -668,7 +668,7 @@ NSDictionary* rfidReaderRequest;
|
|
|
668
668
|
}
|
|
669
669
|
|
|
670
670
|
- (void)onRequestPACEProtocolWithOptions:(NSArray<RGLRFIDAccessControlPACE*>*)protocols callback:(RGLRFIDAccessControlPACECallback)callback {
|
|
671
|
-
if (rfidReaderRequest && [rfidReaderRequest[@"paceProtocol"] boolValue]) {
|
|
671
|
+
if ([rfidReaderRequest isKindOfClass:[NSDictionary class]] && [rfidReaderRequest[@"paceProtocol"] boolValue]) {
|
|
672
672
|
paceProtocolCompletion = callback;
|
|
673
673
|
NSMutableArray *array = [NSMutableArray new];
|
|
674
674
|
for(RGLRFIDAccessControlPACE* item in protocols)
|
|
@@ -681,7 +681,7 @@ NSDictionary* rfidReaderRequest;
|
|
|
681
681
|
}
|
|
682
682
|
|
|
683
683
|
- (void)onRequestCAProtocolWithOptions:(NSArray<RGLRFIDAccessControlCA*>*)protocols callback:(RGLRFIDAccessControlCACallback)callback {
|
|
684
|
-
if (rfidReaderRequest && [rfidReaderRequest[@"caProtocol"] boolValue]) {
|
|
684
|
+
if ([rfidReaderRequest isKindOfClass:[NSDictionary class]] && [rfidReaderRequest[@"caProtocol"] boolValue]) {
|
|
685
685
|
caProtocolCompletion = callback;
|
|
686
686
|
NSMutableArray *array = [NSMutableArray new];
|
|
687
687
|
for(RGLRFIDAccessControlCA* item in protocols)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/react-native-document-reader-api",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.554-nightly",
|
|
4
4
|
"description": "React Native module for reading and validation of identification documents (API framework)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|