scandit-react-native-datacapture-core 8.3.1 → 8.4.0-beta.1
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/README.md +13 -0
- package/android/build.gradle +3 -3
- package/dist/core.js +378 -83
- package/dist/core.js.map +1 -1
- package/dist/dts/DataCaptureView.d.ts +4 -0
- package/dist/dts/index.d.ts +3 -0
- package/dist/index.js +10 -2
- package/dist/index.js.flow +3 -0
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/ios/Sources/NewArch/RCTDataCaptureView.mm +4 -0
- package/ios/Sources/NewArch/ScanditDataCaptureCore.mm +4 -0
- package/ios/Sources/OldArch/ScanditDataCaptureCore.mm +4 -0
- package/ios/Sources/ScanditDataCaptureCore-Bridging-Header.h +9 -0
- package/ios/Sources/ScanditDataCaptureCore.swift +1 -0
- package/ios/Sources/Shared/ScanditReactNativeFactoryContainer.swift +12 -10
- package/package.json +8 -8
- package/scandit-react-native-datacapture-core.podspec +1 -1
package/README.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
1
|
ScanditCaptureCore builds the foundation of all data capture related functionality offered by the Scandit Data Capture SDK. It contains classes and interfaces shared between the data capture modules.
|
|
2
2
|
|
|
3
3
|
Learn more with the [official documentation](https://docs.scandit.com/) or get started with [our samples](https://github.com/Scandit/datacapture-react-native-samples)
|
|
4
|
+
|
|
5
|
+
## iOS troubleshooting
|
|
6
|
+
|
|
7
|
+
### `use_frameworks!` and Expo `useFrameworks: "static"` support
|
|
8
|
+
|
|
9
|
+
The Scandit SDK builds and runs in every supported React Native iOS configuration without Podfile workarounds, including:
|
|
10
|
+
|
|
11
|
+
- Default static libraries (no `use_frameworks!`)
|
|
12
|
+
- `use_frameworks! :linkage => :dynamic`
|
|
13
|
+
- `use_frameworks! :linkage => :static` (required by [`react-native-firebase`](https://rnfirebase.io/))
|
|
14
|
+
- Expo apps with `expo-build-properties: ios.useFrameworks: "static"` (RN ≥ 0.83 prebuilt React.xcframework path)
|
|
15
|
+
|
|
16
|
+
All features — including new-architecture advanced overlays (MatrixScan AR, Smart Label Capture overlays) — work in each of these configurations. No `pod 'React-RCTAppDelegate', :modular_headers => true` declaration or post-install hook is required.
|
package/android/build.gradle
CHANGED
|
@@ -99,13 +99,13 @@ 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.4.0-beta.1"
|
|
103
103
|
|
|
104
|
-
println("Version of the native sdk used in this build: ${safeExtGet('
|
|
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) {
|
|
106
106
|
api project(":scandit-datacapture-frameworks-core")
|
|
107
107
|
} else {
|
|
108
|
-
api "com.scandit.datacapture.frameworks:core:${safeExtGet('
|
|
108
|
+
api "com.scandit.datacapture.frameworks:core:${safeExtGet('frameworks_sdk_version', sdk_version)}"
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
// For < 0.71, this will be from the local maven repo
|