scandit-react-native-datacapture-parser 8.4.1 → 8.4.2
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/android/build.gradle
CHANGED
|
@@ -96,7 +96,7 @@ if (file( "${rootProject.projectDir}/build-test.gradle").exists()) {
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
dependencies {
|
|
99
|
-
def sdk_version = "8.4.
|
|
99
|
+
def sdk_version = "8.4.2"
|
|
100
100
|
|
|
101
101
|
println("Version of the native sdk used in this build: ${safeExtGet('frameworks_sdk_version', sdk_version)}")
|
|
102
102
|
api project(path: ':scandit-react-native-datacapture-core')
|
|
@@ -25,5 +25,25 @@ target_link_libraries(
|
|
|
25
25
|
reactnative
|
|
26
26
|
)
|
|
27
27
|
|
|
28
|
-
target_compile_reactnative_options
|
|
28
|
+
# target_compile_reactnative_options ships with React Native 0.81+. On older
|
|
29
|
+
# RN (e.g. 0.78 with New Architecture) the macro is undefined and configure
|
|
30
|
+
# fails with "Unknown CMake command". Guard it and fall back to the equivalent
|
|
31
|
+
# flags the helper sets, including RN_SERIALIZABLE_STATE on Android (required
|
|
32
|
+
# for correct Fabric memory layout in Release builds).
|
|
33
|
+
if(COMMAND target_compile_reactnative_options)
|
|
34
|
+
target_compile_reactnative_options(react_codegen_ScanditReactNativeDatacaptureParserSpec PRIVATE)
|
|
35
|
+
else()
|
|
36
|
+
target_compile_options(
|
|
37
|
+
react_codegen_ScanditReactNativeDatacaptureParserSpec
|
|
38
|
+
PRIVATE
|
|
39
|
+
-DLOG_TAG=\"ReactNative\"
|
|
40
|
+
-fexceptions
|
|
41
|
+
-frtti
|
|
42
|
+
-std=c++20
|
|
43
|
+
-Wall
|
|
44
|
+
)
|
|
45
|
+
if(ANDROID)
|
|
46
|
+
target_compile_definitions(react_codegen_ScanditReactNativeDatacaptureParserSpec PRIVATE RN_SERIALIZABLE_STATE)
|
|
47
|
+
endif()
|
|
48
|
+
endif()
|
|
29
49
|
target_compile_options(react_codegen_ScanditReactNativeDatacaptureParserSpec PRIVATE -Wno-deprecated-declarations)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scandit-react-native-datacapture-parser",
|
|
3
|
-
"version": "8.4.
|
|
3
|
+
"version": "8.4.2",
|
|
4
4
|
"description": "Scandit Data Capture SDK for React Native",
|
|
5
5
|
"homepage": "https://github.com/Scandit/scandit-react-native-datacapture-parser",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"typescript": "4.9.5"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"scandit-datacapture-frameworks-core": "8.4.
|
|
38
|
-
"scandit-datacapture-frameworks-parser": "8.4.
|
|
39
|
-
"scandit-react-native-datacapture-core": "8.4.
|
|
37
|
+
"scandit-datacapture-frameworks-core": "8.4.2",
|
|
38
|
+
"scandit-datacapture-frameworks-parser": "8.4.2",
|
|
39
|
+
"scandit-react-native-datacapture-core": "8.4.2"
|
|
40
40
|
},
|
|
41
41
|
"packageManager": "pnpm@10.15.0",
|
|
42
42
|
"codegenConfig": {
|
|
@@ -19,7 +19,7 @@ Pod::Spec.new do |s|
|
|
|
19
19
|
s.header_dir = "ScanditDataCaptureParser"
|
|
20
20
|
|
|
21
21
|
s.dependency "scandit-react-native-datacapture-core", "= #{version}"
|
|
22
|
-
s.dependency "scandit-datacapture-frameworks-parser", '= 8.4.
|
|
22
|
+
s.dependency "scandit-datacapture-frameworks-parser", '= 8.4.2'
|
|
23
23
|
|
|
24
24
|
is_new_arch_enabled = ENV['RCT_NEW_ARCH_ENABLED'] == '1'
|
|
25
25
|
|