scandit-react-native-datacapture-core 8.4.1 → 8.5.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/THIRD_PARTY.txt +0 -5
- package/android/build.gradle +3 -3
- package/android/generated/jni/CMakeLists.txt +21 -1
- package/dist/core.js +1581 -1545
- package/dist/core.js.map +1 -1
- package/dist/dts/hooks/ScanditProvider.d.ts +46 -0
- package/dist/dts/hooks/index.d.ts +5 -0
- package/dist/dts/hooks/useCameraPermission.d.ts +28 -0
- package/dist/dts/hooks/useIsForeground.d.ts +11 -0
- package/dist/dts/hooks/useScanditContext.d.ts +21 -0
- package/dist/dts/index.d.ts +4 -0
- package/dist/dts/native/ScanditNativeModule.d.ts +1 -1
- package/dist/dts/private/hooks/useMode.d.ts +49 -0
- package/dist/dts/private/hooks/useModeListener.d.ts +40 -0
- package/dist/dts/private/hooks/useNativeControl.d.ts +14 -0
- package/dist/dts/private/hooks/useOverlay.d.ts +68 -0
- package/dist/dts/private/hooks/useStableProp.d.ts +22 -0
- package/dist/dts/private/hooks/useViewHandle.d.ts +41 -0
- package/dist/dts/private/index.d.ts +11 -0
- package/dist/index.js +737 -6
- package/dist/index.js.flow +4 -0
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/scandit-react-native-datacapture-core.podspec +1 -1
- package/specs/NativeScanditDataCaptureCore.ts +2 -3
- package/specs/RNTDataCaptureViewNativeComponent.ts +1 -4
- package/THIRD_PARTY_ID.txt +0 -545
package/THIRD_PARTY.txt
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
ScanditCaptureCore / Scandit.DataCapture.Core / scandit-...-datacapture-core
|
|
2
|
-
includes components licensed under the following licenses:
|
|
3
|
-
|
|
4
|
-
================================================================================
|
|
5
|
-
|
|
6
1
|
|
|
7
2
|
Apache License
|
|
8
3
|
Version 2.0, January 2004
|
package/android/build.gradle
CHANGED
|
@@ -59,7 +59,7 @@ android {
|
|
|
59
59
|
namespace "com.scandit.datacapture.reactnative.core"
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
compileSdkVersion safeExtGet("compileSdkVersion",
|
|
62
|
+
compileSdkVersion safeExtGet("compileSdkVersion", 36)
|
|
63
63
|
|
|
64
64
|
sourceSets {
|
|
65
65
|
main {
|
|
@@ -78,7 +78,7 @@ android {
|
|
|
78
78
|
|
|
79
79
|
defaultConfig {
|
|
80
80
|
minSdkVersion safeExtGet("minSdkVersion", 24)
|
|
81
|
-
targetSdkVersion safeExtGet("targetSdkVersion",
|
|
81
|
+
targetSdkVersion safeExtGet("targetSdkVersion", 36)
|
|
82
82
|
versionCode 1
|
|
83
83
|
versionName "1.0"
|
|
84
84
|
}
|
|
@@ -99,7 +99,7 @@ if (file( "${rootProject.projectDir}/build-test.gradle").exists()) {
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
dependencies {
|
|
102
|
-
def sdk_version = "8.
|
|
102
|
+
def sdk_version = "8.5.0"
|
|
103
103
|
|
|
104
104
|
println("Version of the native sdk used in this build: ${safeExtGet('frameworks_sdk_version', sdk_version)}")
|
|
105
105
|
if (findProject(':scandit-datacapture-frameworks-core') != null) {
|
|
@@ -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_ScanditReactNativeDatacaptureCoreSpec PRIVATE)
|
|
35
|
+
else()
|
|
36
|
+
target_compile_options(
|
|
37
|
+
react_codegen_ScanditReactNativeDatacaptureCoreSpec
|
|
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_ScanditReactNativeDatacaptureCoreSpec PRIVATE RN_SERIALIZABLE_STATE)
|
|
47
|
+
endif()
|
|
48
|
+
endif()
|
|
29
49
|
target_compile_options(react_codegen_ScanditReactNativeDatacaptureCoreSpec PRIVATE -Wno-deprecated-declarations)
|