@regulaforensics/react-native-document-reader-api 9.10.916-rc → 9.10.917-rc
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/src/main/java/com/regula/plugin/document/reader/Config.kt +2 -0
- package/android/src/main/java/com/regula/plugin/document/reader/JSONConstructor.kt +10 -18
- package/android/src/main/java/com/regula/plugin/document/reader/Main.kt +14 -4
- package/example/App.tsx +49 -38
- package/example/README.md +2 -8
- package/example/android/app/build.gradle +5 -31
- package/example/android/app/src/main/java/com/regula/dr/fullauthrfid/MainActivity.kt +22 -0
- package/example/android/app/src/main/java/com/regula/dr/fullauthrfid/MainApplication.kt +28 -0
- package/example/android/build.gradle +7 -5
- package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/example/android/gradle/wrapper/gradle-wrapper.properties +2 -1
- package/example/android/gradle.properties +6 -5
- package/example/babel.config.js +3 -0
- package/example/ios/DocumentReader/AppDelegate.mm +10 -5
- package/example/ios/DocumentReader/Info.plist +21 -24
- package/example/ios/DocumentReader/SceneDelegate.h +7 -0
- package/example/ios/DocumentReader/SceneDelegate.mm +27 -0
- package/example/ios/DocumentReader.xcodeproj/project.pbxproj +19 -25
- package/example/ios/Podfile +5 -5
- package/example/package-lock.json +2756 -9214
- package/example/package.json +23 -39
- package/example/tsconfig.json +5 -0
- package/index.d.ts +20 -10
- package/index.js +13 -5
- package/ios/RGLWConfig.m +2 -0
- package/ios/RGLWJSONConstructor.m +1 -0
- package/ios/RGLWMain.h +1 -0
- package/ios/RGLWMain.m +16 -0
- package/ios/RNRegulaDocumentReader.m +1 -0
- package/package.json +1 -1
- package/example/android/app/src/debug/java/com/regula/dr/fullrfid/ReactNativeFlipper.java +0 -75
- package/example/android/app/src/main/java/com/regula/dr/fullauthrfid/MainActivity.java +0 -32
- package/example/android/app/src/main/java/com/regula/dr/fullauthrfid/MainApplication.java +0 -68
- package/example/android/app/src/release/java/com/regula/dr/fullrfid/ReactNativeFlipper.java +0 -20
- package/example/react-native.config.js +0 -5
- package/example/vendor/image-size-metro-compat/index.cjs +0 -16
- package/example/vendor/image-size-metro-compat/package.json +0 -8
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
7699B88040F8A987B510C191 /* libPods-DocumentReader-DocumentReaderTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-DocumentReader-DocumentReaderTests.a */; };
|
|
18
18
|
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
|
|
19
19
|
970CEEFE26CC4F5086D8C455 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 0B138461659C02ED353D3184 /* PrivacyInfo.xcprivacy */; };
|
|
20
|
+
A12700000000000000000001 /* SceneDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = A12700000000000000000002 /* SceneDelegate.mm */; };
|
|
20
21
|
/* End PBXBuildFile section */
|
|
21
22
|
|
|
22
23
|
/* Begin PBXContainerItemProxy section */
|
|
@@ -50,6 +51,8 @@
|
|
|
50
51
|
5DCACB8F33CDC322A6C60F78 /* libPods-DocumentReader.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-DocumentReader.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
51
52
|
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = DocumentReader/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
|
52
53
|
89C6BE57DB24E9ADA2F236DE /* Pods-DocumentReader-DocumentReaderTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DocumentReader-DocumentReaderTests.release.xcconfig"; path = "Target Support Files/Pods-DocumentReader-DocumentReaderTests/Pods-DocumentReader-DocumentReaderTests.release.xcconfig"; sourceTree = "<group>"; };
|
|
54
|
+
A12700000000000000000002 /* SceneDelegate.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; name = SceneDelegate.mm; path = DocumentReader/SceneDelegate.mm; sourceTree = "<group>"; };
|
|
55
|
+
A12700000000000000000003 /* SceneDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SceneDelegate.h; path = DocumentReader/SceneDelegate.h; sourceTree = "<group>"; };
|
|
53
56
|
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
|
|
54
57
|
/* End PBXFileReference section */
|
|
55
58
|
|
|
@@ -98,6 +101,8 @@
|
|
|
98
101
|
3471549F2A4D9A1500361434 /* DocumentReader.entitlements */,
|
|
99
102
|
13B07FAF1A68108700A75B9A /* AppDelegate.h */,
|
|
100
103
|
13B07FB01A68108700A75B9A /* AppDelegate.mm */,
|
|
104
|
+
A12700000000000000000002 /* SceneDelegate.mm */,
|
|
105
|
+
A12700000000000000000003 /* SceneDelegate.h */,
|
|
101
106
|
13B07FB51A68108700A75B9A /* Images.xcassets */,
|
|
102
107
|
13B07FB61A68108700A75B9A /* Info.plist */,
|
|
103
108
|
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,
|
|
@@ -188,7 +193,6 @@
|
|
|
188
193
|
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "DocumentReader" */;
|
|
189
194
|
buildPhases = (
|
|
190
195
|
C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */,
|
|
191
|
-
FD10A7F022414F080027D42C /* Start Packager */,
|
|
192
196
|
13B07F871A680F5B00A75B9A /* Sources */,
|
|
193
197
|
13B07F8C1A680F5B00A75B9A /* Frameworks */,
|
|
194
198
|
13B07F8E1A680F5B00A75B9A /* Resources */,
|
|
@@ -278,7 +282,7 @@
|
|
|
278
282
|
);
|
|
279
283
|
runOnlyForDeploymentPostprocessing = 0;
|
|
280
284
|
shellPath = /bin/sh;
|
|
281
|
-
shellScript = "set -e\n\nWITH_ENVIRONMENT=\"../node_modules/react-native/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"../node_modules/react-native/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
|
|
285
|
+
shellScript = "set -e\n\n# Embed JS for Debug simulators too; no Metro server is needed at runtime.\nexport FORCE_BUNDLING=1\nexport EXTRA_PACKAGER_ARGS=\"$EXTRA_PACKAGER_ARGS --dev false\"\nexport SKIP_BUNDLING_METRO_IP=1\nexport RCT_NO_LAUNCH_PACKAGER=1\nunset SKIP_BUNDLING\n\nWITH_ENVIRONMENT=\"../node_modules/react-native/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"../node_modules/react-native/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
|
|
282
286
|
};
|
|
283
287
|
00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
|
|
284
288
|
isa = PBXShellScriptBuildPhase;
|
|
@@ -392,25 +396,6 @@
|
|
|
392
396
|
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-DocumentReader-DocumentReaderTests/Pods-DocumentReader-DocumentReaderTests-resources.sh\"\n";
|
|
393
397
|
showEnvVarsInLog = 0;
|
|
394
398
|
};
|
|
395
|
-
FD10A7F022414F080027D42C /* Start Packager */ = {
|
|
396
|
-
isa = PBXShellScriptBuildPhase;
|
|
397
|
-
buildActionMask = 2147483647;
|
|
398
|
-
files = (
|
|
399
|
-
);
|
|
400
|
-
inputFileListPaths = (
|
|
401
|
-
);
|
|
402
|
-
inputPaths = (
|
|
403
|
-
);
|
|
404
|
-
name = "Start Packager";
|
|
405
|
-
outputFileListPaths = (
|
|
406
|
-
);
|
|
407
|
-
outputPaths = (
|
|
408
|
-
);
|
|
409
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
410
|
-
shellPath = /bin/sh;
|
|
411
|
-
shellScript = "export RCT_METRO_PORT=\"${RCT_METRO_PORT:=8081}\"\necho \"export RCT_METRO_PORT=${RCT_METRO_PORT}\" > \"${SRCROOT}/../node_modules/react-native/scripts/.packager.env\"\nif [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\n if nc -w 5 -z localhost ${RCT_METRO_PORT} ; then\n if ! curl -s \"http://localhost:${RCT_METRO_PORT}/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly\"\n exit 2\n fi\n else\n open \"$SRCROOT/../node_modules/react-native/scripts/launchPackager.command\" || echo \"Can't start packager automatically\"\n fi\nfi\n";
|
|
412
|
-
showEnvVarsInLog = 0;
|
|
413
|
-
};
|
|
414
399
|
/* End PBXShellScriptBuildPhase section */
|
|
415
400
|
|
|
416
401
|
/* Begin PBXSourcesBuildPhase section */
|
|
@@ -427,6 +412,7 @@
|
|
|
427
412
|
buildActionMask = 2147483647;
|
|
428
413
|
files = (
|
|
429
414
|
13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */,
|
|
415
|
+
A12700000000000000000001 /* SceneDelegate.mm in Sources */,
|
|
430
416
|
13B07FC11A68108700A75B9A /* main.m in Sources */,
|
|
431
417
|
);
|
|
432
418
|
runOnlyForDeploymentPostprocessing = 0;
|
|
@@ -452,7 +438,7 @@
|
|
|
452
438
|
"$(inherited)",
|
|
453
439
|
);
|
|
454
440
|
INFOPLIST_FILE = DocumentReaderTests/Info.plist;
|
|
455
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
441
|
+
IPHONEOS_DEPLOYMENT_TARGET = 17.6;
|
|
456
442
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
457
443
|
"$(inherited)",
|
|
458
444
|
"@executable_path/Frameworks",
|
|
@@ -476,7 +462,7 @@
|
|
|
476
462
|
BUNDLE_LOADER = "$(TEST_HOST)";
|
|
477
463
|
COPY_PHASE_STRIP = NO;
|
|
478
464
|
INFOPLIST_FILE = DocumentReaderTests/Info.plist;
|
|
479
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
465
|
+
IPHONEOS_DEPLOYMENT_TARGET = 17.6;
|
|
480
466
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
481
467
|
"$(inherited)",
|
|
482
468
|
"@executable_path/Frameworks",
|
|
@@ -606,7 +592,7 @@
|
|
|
606
592
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
607
593
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
608
594
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
609
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
595
|
+
IPHONEOS_DEPLOYMENT_TARGET = 17.6;
|
|
610
596
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
611
597
|
/usr/lib/swift,
|
|
612
598
|
"$(inherited)",
|
|
@@ -620,15 +606,19 @@
|
|
|
620
606
|
ONLY_ACTIVE_ARCH = YES;
|
|
621
607
|
OTHER_CFLAGS = "$(inherited)";
|
|
622
608
|
OTHER_CPLUSPLUSFLAGS = (
|
|
609
|
+
"$(inherited)",
|
|
623
610
|
"$(OTHER_CFLAGS)",
|
|
624
611
|
"-DFOLLY_NO_CONFIG",
|
|
625
612
|
"-DFOLLY_MOBILE=1",
|
|
626
613
|
"-DFOLLY_USE_LIBCPP=1",
|
|
614
|
+
"-DFOLLY_CFG_NO_COROUTINES=1",
|
|
615
|
+
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
|
|
627
616
|
);
|
|
628
617
|
OTHER_LDFLAGS = (
|
|
629
618
|
"$(inherited)",
|
|
630
619
|
" ",
|
|
631
620
|
);
|
|
621
|
+
PODFILE_DIR = "$(SRCROOT)";
|
|
632
622
|
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
|
|
633
623
|
SDKROOT = iphoneos;
|
|
634
624
|
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
|
|
@@ -678,7 +668,7 @@
|
|
|
678
668
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
679
669
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
680
670
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
681
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
671
|
+
IPHONEOS_DEPLOYMENT_TARGET = 17.6;
|
|
682
672
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
683
673
|
/usr/lib/swift,
|
|
684
674
|
"$(inherited)",
|
|
@@ -691,15 +681,19 @@
|
|
|
691
681
|
MTL_ENABLE_DEBUG_INFO = NO;
|
|
692
682
|
OTHER_CFLAGS = "$(inherited)";
|
|
693
683
|
OTHER_CPLUSPLUSFLAGS = (
|
|
684
|
+
"$(inherited)",
|
|
694
685
|
"$(OTHER_CFLAGS)",
|
|
695
686
|
"-DFOLLY_NO_CONFIG",
|
|
696
687
|
"-DFOLLY_MOBILE=1",
|
|
697
688
|
"-DFOLLY_USE_LIBCPP=1",
|
|
689
|
+
"-DFOLLY_CFG_NO_COROUTINES=1",
|
|
690
|
+
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
|
|
698
691
|
);
|
|
699
692
|
OTHER_LDFLAGS = (
|
|
700
693
|
"$(inherited)",
|
|
701
694
|
" ",
|
|
702
695
|
);
|
|
696
|
+
PODFILE_DIR = "$(SRCROOT)";
|
|
703
697
|
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
|
|
704
698
|
SDKROOT = iphoneos;
|
|
705
699
|
USE_HERMES = true;
|
package/example/ios/Podfile
CHANGED
|
@@ -8,7 +8,7 @@ require Pod::Executable.execute_command('node', ['-p',
|
|
|
8
8
|
{paths: [process.argv[1]]},
|
|
9
9
|
)', __dir__]).strip
|
|
10
10
|
|
|
11
|
-
platform :ios,
|
|
11
|
+
platform :ios, '17.6'
|
|
12
12
|
prepare_react_native_project!
|
|
13
13
|
|
|
14
14
|
linkage = ENV['USE_FRAMEWORKS']
|
|
@@ -38,11 +38,11 @@ target 'DocumentReader' do
|
|
|
38
38
|
:mac_catalyst_enabled => false
|
|
39
39
|
)
|
|
40
40
|
|
|
41
|
-
#
|
|
41
|
+
# Xcode 27 rejects older deployment targets, including resource/privacy bundles.
|
|
42
42
|
installer.pods_project.targets.each do |target|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
config.build_settings['
|
|
43
|
+
target.build_configurations.each do |config|
|
|
44
|
+
if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 17.6
|
|
45
|
+
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '17.6'
|
|
46
46
|
end
|
|
47
47
|
end
|
|
48
48
|
end
|