Skip to content

Commit 59ca0bc

Browse files
author
Jenkins
committed
9.6.645
1 parent b63c1dc commit 59ca0bc

9 files changed

Lines changed: 959 additions & 916 deletions

File tree

RNDocumentReaderApi.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ Pod::Spec.new do |s|
1414
s.source = { :http => 'file:' + __dir__ }
1515
s.ios.deployment_target = '13.0'
1616
s.source_files = "ios/*.{h,m}"
17-
s.dependency 'DocumentReader', '9.5.6487'
17+
s.dependency 'DocumentReader', '9.6.6619'
1818
s.dependency 'React'
1919
end

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies {
2929
//noinspection GradleDynamicVersion
3030
implementation 'com.facebook.react:react-native:+'
3131
//noinspection GradleDependency
32-
implementation('com.regula.documentreader:api:9.5.12982') {
32+
implementation('com.regula.documentreader:api:9.6.13058') {
3333
transitive = true
3434
}
3535
}

example/ios/Podfile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
source "https://github.com/CocoaPods/Specs.git"
1+
source 'https://github.com/CocoaPods/Specs.git'
2+
source 'https://github.com/regulaforensics/podspecs.git'
23

34
# Resolve react_native_pods.rb with node to allow for hoisting
45
require Pod::Executable.execute_command('node', ['-p',
@@ -36,5 +37,14 @@ target 'DocumentReader' do
3637
config[:reactNativePath],
3738
:mac_catalyst_enabled => false
3839
)
40+
41+
# Fix for Xcode 26
42+
installer.pods_project.targets.each do |target|
43+
if target.name == 'fmt'
44+
target.build_configurations.each do |config|
45+
config.build_settings['CLANG_CXX_LANGUAGE_STANDARD'] = 'c++17'
46+
end
47+
end
48+
end
3949
end
4050
end

example/package-lock.json

Lines changed: 919 additions & 907 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"test": "jest"
1111
},
1212
"dependencies": {
13-
"@regulaforensics/react-native-document-reader-api": "9.5.617",
14-
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "9.5.2716",
13+
"@regulaforensics/react-native-document-reader-api": "9.6.645",
14+
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "9.6.2759",
1515
"@rneui/base": "4.0.0-rc.7",
1616
"@rneui/themed": "4.0.0-rc.7",
1717
"react": "19.0.0",
@@ -23,7 +23,8 @@
2323
"react-native-vector-icons": "10.2.0"
2424
},
2525
"overrides": {
26-
"fast-xml-parser": "^5.5.8"
26+
"fast-xml-parser": "^5.5.8",
27+
"js-yaml": "^4.1.1"
2728
},
2829
"devDependencies": {
2930
"@babel/core": "^7.26.0",

index.d.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2663,6 +2663,7 @@ export class CustomizationMatrices {
26632663
}
26642664

26652665
export class Customization {
2666+
theme?: number
26662667
showStatusMessages?: boolean
26672668
showResultStatusMessages?: boolean
26682669
showHelpAnimation?: boolean
@@ -2743,6 +2744,7 @@ export class Customization {
27432744
if (jsonObject == null || jsonObject == undefined) return undefined
27442745
const result = new Customization
27452746

2747+
result.theme = jsonObject["theme"]
27462748
result.showStatusMessages = jsonObject["showStatusMessages"]
27472749
result.showResultStatusMessages = jsonObject["showResultStatusMessages"]
27482750
result.showHelpAnimation = jsonObject["showHelpAnimation"]
@@ -3571,7 +3573,7 @@ export const eRFID_ErrorCodes = {
35713573
RFID_ERROR_LAYER6_GENERAL_AUTH_FAILURE: 0x86000309,
35723574
RFID_ERROR_LAYER6_FILE_NOT_FOUND: 0x80006A82,
35733575
RFID_ERROR_LAYER6_FILE_EOF1: 0x80006282,
3574-
RFID_ERROR_LAYER6_FILE_EOF2: 0x80006B00,
3576+
RFID_LAYER6_WRONG_PARAMS: 0x80006B00,
35753577
RFID_ERROR_LAYER6_INCORRECT_PARAMS: 0x80006A80,
35763578
RFID_ERROR_LAYER6_NO_REFERENCE_DATA: 0x80006A88,
35773579
RFID_ERROR_LAYER6_PWD_SUSPEND: 0x800063C1,
@@ -3856,6 +3858,11 @@ export const eMDLDeviceRetrieval = {
38563858
BLE: 2,
38573859
}
38583860

3861+
export const CustomizationTheme = {
3862+
CLEAR: 0,
3863+
LIQUID_GLASS: 1,
3864+
}
3865+
38593866
export const eRFID_BaudRate = {
38603867
rfbr_106: 1,
38613868
rfbr_212: 2,
@@ -5847,6 +5854,7 @@ export const eVisualFieldType = {
58475854
FT_JURISDICTION_SPECIFIC_DATA: 703,
58485855
FT_DATA_DATE_OF_EXPIRY: 704,
58495856
FT_CONSUL: 705,
5857+
FT_CANTON_REFERENCE: 706,
58505858
}
58515859

58525860
export const DocReaderOrientation = {
@@ -6104,6 +6112,7 @@ export const Enum = {
61046112
eRPRM_ResultType,
61056113
FrameShapeType,
61066114
eMDLDeviceRetrieval,
6115+
CustomizationTheme,
61076116
eRFID_BaudRate,
61086117
LineCap,
61096118
eRPRM_FieldVerificationResult,

index.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1769,6 +1769,7 @@ export class Customization {
17691769
if (jsonObject == null) return null
17701770
const result = new Customization()
17711771

1772+
result.theme = jsonObject["theme"]
17721773
result.showStatusMessages = jsonObject["showStatusMessages"]
17731774
result.showResultStatusMessages = jsonObject["showResultStatusMessages"]
17741775
result.showHelpAnimation = jsonObject["showHelpAnimation"]
@@ -2360,7 +2361,7 @@ export const eRFID_ErrorCodes = {
23602361
RFID_ERROR_LAYER6_GENERAL_AUTH_FAILURE: 0x86000309,
23612362
RFID_ERROR_LAYER6_FILE_NOT_FOUND: 0x80006A82,
23622363
RFID_ERROR_LAYER6_FILE_EOF1: 0x80006282,
2363-
RFID_ERROR_LAYER6_FILE_EOF2: 0x80006B00,
2364+
RFID_LAYER6_WRONG_PARAMS: 0x80006B00,
23642365
RFID_ERROR_LAYER6_INCORRECT_PARAMS: 0x80006A80,
23652366
RFID_ERROR_LAYER6_NO_REFERENCE_DATA: 0x80006A88,
23662367
RFID_ERROR_LAYER6_PWD_SUSPEND: 0x800063C1,
@@ -2645,6 +2646,11 @@ export const eMDLDeviceRetrieval = {
26452646
BLE: 2,
26462647
}
26472648

2649+
export const CustomizationTheme = {
2650+
CLEAR: 0,
2651+
LIQUID_GLASS: 1,
2652+
}
2653+
26482654
export const eRFID_BaudRate = {
26492655
rfbr_106: 1,
26502656
rfbr_212: 2,
@@ -4636,6 +4642,7 @@ export const eVisualFieldType = {
46364642
FT_JURISDICTION_SPECIFIC_DATA: 703,
46374643
FT_DATA_DATE_OF_EXPIRY: 704,
46384644
FT_CONSUL: 705,
4645+
FT_CANTON_REFERENCE: 706,
46394646
}
46404647

46414648
export const DocReaderOrientation = {
@@ -4893,6 +4900,7 @@ export const Enum = {
48934900
eRPRM_ResultType,
48944901
FrameShapeType,
48954902
eMDLDeviceRetrieval,
4903+
CustomizationTheme,
48964904
eRFID_BaudRate,
48974905
LineCap,
48984906
eRPRM_FieldVerificationResult,

ios/RGLWConfig.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,8 @@ +(NSDictionary*)getProcessParams:(RGLProcessParams*)processParams {
388388
}
389389

390390
+(void)setCustomization:(NSDictionary*)options :(RGLCustomization*)customization {
391+
if(options[@"theme"]) customization.theme = [options[@"theme"] integerValue];
392+
391393
// Boolean
392394
if([options valueForKey:@"showStatusMessages"] != nil)
393395
customization.showStatusMessages = [[options valueForKey:@"showStatusMessages"] boolValue];
@@ -533,6 +535,7 @@ +(void)setCustomization:(NSDictionary*)options :(RGLCustomization*)customization
533535

534536
+(NSDictionary*)getCustomization:(RGLCustomization*)customization {
535537
NSMutableDictionary *result = [NSMutableDictionary new];
538+
result[@"theme"] = [NSNumber numberWithInteger:customization.theme];
536539

537540
// Boolean
538541
result[@"showStatusMessages"] = [NSNumber numberWithBool:customization.showStatusMessages];

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@regulaforensics/react-native-document-reader-api",
3-
"version": "9.5.617",
3+
"version": "9.6.645",
44
"description": "React Native module for reading and validation of identification documents (API framework)",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)