react-native-scanbot-barcode-scanner-sdk 3.2.1 → 3.3.0-alpha1
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 +2 -1
- package/RNScanbotBarcodeSDK.podspec +1 -1
- package/android/.gradle/6.2/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/checksums/sha1-checksums.bin +0 -0
- package/android/build/.transforms/8cdb68f56773f65afa4976aa86d988f7/classes/classes.dex +0 -0
- package/android/build/.transforms/8cdb68f56773f65afa4976aa86d988f7.bin +1 -0
- package/android/build/.transforms/991094845a707011dcf91007d9838bb7/classes/classes.dex +0 -0
- package/android/build/.transforms/991094845a707011dcf91007d9838bb7.bin +1 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +1 -1
- package/android/build/intermediates/compile_library_classes/debug/classes.jar +0 -0
- package/android/build/intermediates/compile_only_not_namespaced_r_class_jar/debug/R.jar +0 -0
- package/android/build/intermediates/incremental/debug-mergeNativeLibs/merge-state +0 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugResources/compile-file-map.properties +4 -3
- package/android/build/intermediates/incremental/packageDebugResources/merger.xml +1 -1
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/JSONUtils$WritableMapBuilder.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/JSONUtils.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/ObjectMapper.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/ReactBarcodeExtensionsFilter$1.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/ReactBarcodeExtensionsFilter$Type.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/ReactBarcodeExtensionsFilter.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/ScanbotBarcodeSdkModule$1.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/ScanbotBarcodeSdkModule$2.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/ScanbotBarcodeSdkModule$3.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/ScanbotBarcodeSdkModule.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/StorageUtils.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/barcode/ScanbotBarcodeDetectorAdditionalConfigBuilder.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/barcode/ScanbotBarcodeDetectorConfigBuilder.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/components/EventEmitter.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/components/barcodecameraview/ScanbotBarcodeCameraViewFragment$1.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/components/barcodecameraview/ScanbotBarcodeCameraViewFragment$2.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/components/barcodecameraview/ScanbotBarcodeCameraViewFragment.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/components/barcodecameraview/ScanbotBarcodeCameraViewManager.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/components/common/ScanbotComponentFrameLayout.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/components/common/ScanbotComponentRootView.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/filters/ReactBarcodeExtensionsFilter$1.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/filters/ReactBarcodeExtensionsFilter$Type.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/filters/ReactBarcodeExtensionsFilter.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/utils/BitmapHelper.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/utils/JSONUtils$WritableMapBuilder.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/utils/JSONUtils.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/utils/LogUtils.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/utils/ResponseUtils.class +0 -0
- package/android/build/intermediates/library_java_res/debug/res.jar +0 -0
- package/android/build/intermediates/library_manifest/debug/AndroidManifest.xml +1 -1
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLibraryResources/R-def.txt +1 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +3 -3
- package/android/build/intermediates/packaged_res/debug/drawable/ic_baseline_arrow_back_24.xml +10 -0
- package/android/build/intermediates/res/symbol-table-with-package/debug/package-aware-r.txt +5 -43
- package/android/build/intermediates/runtime_library_classes/debug/classes.jar +0 -0
- package/android/build/intermediates/symbols/debug/R.txt +869 -907
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +28 -28
- package/android/build.gradle +1 -1
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/ReactBarcodeExtensionsFilter.java +2 -2
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/ScanbotBarcodeSdkModule.java +10 -2
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/components/barcodecameraview/RNScanbotBarcodeCameraComponent.java +11 -4
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/components/barcodecameraview/RNScanbotBarcodeCameraConfiguration.java +48 -20
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/filters/ReactBarcodeExtensionsFilter.java +1 -1
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/utils/JSONUtils.java +78 -7
- package/ios/.DS_Store +0 -0
- package/ios/Components/BarcodeCameraView/RNScanbotBarcodeCameraView.h +3 -4
- package/ios/Components/BarcodeCameraView/RNScanbotBarcodeCameraView.m +61 -32
- package/ios/ScanbotBarcodeSdk.m +50 -52
- package/ios/ScanbotBarcodeSdk.xcodeproj/xcuserdata/mayankpatil.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/ios/ScanbotBarcodeSdk.xcworkspace/xcuserdata/mayankpatil.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/Utils/BarcodeMapping.h +17 -1
- package/ios/Utils/ObjectMapper.h +3 -2
- package/ios/Utils/ObjectMapper.m +74 -22
- package/package.json +1 -1
- package/src/components/barcode-camera-view/scanbot-barcode-camera-view-types.tsx +65 -57
- package/src/configuration.ts +102 -258
- package/src/enum.ts +10 -8
- package/src/model.ts +40 -1
- package/android/.gradle/6.1.1/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/6.1.1/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/6.1.1/fileChanges/last-build.bin +0 -0
- package/android/.gradle/6.1.1/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/6.1.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/6.1.1/gc.properties +0 -0
- package/android/.gradle/7.0-rc-1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/7.0-rc-1/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/7.0-rc-1/fileChanges/last-build.bin +0 -0
- package/android/.gradle/7.0-rc-1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/7.0-rc-1/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/.gradle/configuration-cache/gc.properties +0 -0
- package/android/.idea/caches/build_file_checksums.ser +0 -0
- package/android/.idea/compiler.xml +0 -6
- package/android/.idea/gradle.xml +0 -22
- package/android/.idea/jarRepositories.xml +0 -50
- package/android/.idea/libraries/Gradle__androidx_activity_activity_1_2_3_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_annotation_annotation_1_2_0.xml +0 -11
- package/android/.idea/libraries/Gradle__androidx_annotation_annotation_experimental_1_1_0_rc01_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_appcompat_appcompat_1_3_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_appcompat_appcompat_resources_1_3_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_arch_core_core_common_2_1_0.xml +0 -11
- package/android/.idea/libraries/Gradle__androidx_arch_core_core_runtime_2_1_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_asynclayoutinflater_asynclayoutinflater_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_camera_camera_camera2_1_0_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_camera_camera_core_1_0_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_camera_camera_lifecycle_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_camera_camera_view_1_0_0_alpha24_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_cardview_cardview_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_collection_collection_1_1_0.xml +0 -11
- package/android/.idea/libraries/Gradle__androidx_constraintlayout_constraintlayout_2_0_4_aar.xml +0 -11
- package/android/.idea/libraries/Gradle__androidx_constraintlayout_constraintlayout_solver_2_0_4.xml +0 -9
- package/android/.idea/libraries/Gradle__androidx_coordinatorlayout_coordinatorlayout_1_1_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_core_core_1_5_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_core_core_ktx_1_3_2_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_cursoradapter_cursoradapter_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_customview_customview_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_databinding_viewbinding_4_2_1_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_documentfile_documentfile_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_drawerlayout_drawerlayout_1_0_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_dynamicanimation_dynamicanimation_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_fragment_fragment_1_3_4_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_interpolator_interpolator_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_legacy_legacy_support_core_ui_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_legacy_legacy_support_core_utils_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_legacy_legacy_support_v4_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_common_2_3_1.xml +0 -11
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_2_1_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_core_2_3_1_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_runtime_2_3_1_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_runtime_ktx_2_3_1_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_viewmodel_2_3_1_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_viewmodel_savedstate_2_3_1_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_loader_loader_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_localbroadcastmanager_localbroadcastmanager_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_media_media_1_0_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_print_print_1_0_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_recyclerview_recyclerview_1_1_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_savedstate_savedstate_1_1_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_slidingpanelayout_slidingpanelayout_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_swiperefreshlayout_swiperefreshlayout_1_0_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_transition_transition_1_2_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_1_1_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_animated_1_1_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_versionedparcelable_versionedparcelable_1_1_1_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_viewpager2_viewpager2_1_0_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_viewpager_viewpager_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__com_commonsware_cwac_camera_camera_0_6_41_aar.xml +0 -11
- package/android/.idea/libraries/Gradle__com_facebook_fresco_drawee_2_0_0_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_facebook_fresco_fbcore_2_0_0_aar.xml +0 -18
- package/android/.idea/libraries/Gradle__com_facebook_fresco_fresco_2_0_0_aar.xml +0 -18
- package/android/.idea/libraries/Gradle__com_facebook_fresco_imagepipeline_2_0_0_aar.xml +0 -18
- package/android/.idea/libraries/Gradle__com_facebook_fresco_imagepipeline_base_2_0_0_aar.xml +0 -18
- package/android/.idea/libraries/Gradle__com_facebook_fresco_imagepipeline_okhttp3_2_0_0_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_facebook_fresco_nativeimagefilters_2_0_0_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_facebook_fresco_nativeimagetranscoder_2_0_0_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_facebook_infer_annotation_infer_annotation_0_11_2.xml +0 -13
- package/android/.idea/libraries/Gradle__com_facebook_react_react_native_0_60_6_aar.xml +0 -18
- package/android/.idea/libraries/Gradle__com_facebook_soloader_soloader_0_6_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__com_google_android_material_material_1_3_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__com_google_code_findbugs_jsr305_3_0_2.xml +0 -13
- package/android/.idea/libraries/Gradle__com_google_code_gson_gson_2_8_6.xml +0 -13
- package/android/.idea/libraries/Gradle__com_google_dagger_dagger_2_35.xml +0 -13
- package/android/.idea/libraries/Gradle__com_google_guava_listenablefuture_1_0.xml +0 -13
- package/android/.idea/libraries/Gradle__com_squareup_okhttp3_okhttp_3_12_1.xml +0 -13
- package/android/.idea/libraries/Gradle__com_squareup_okhttp3_okhttp_urlconnection_3_12_1.xml +0 -13
- package/android/.idea/libraries/Gradle__com_squareup_okio_okio_1_15_0.xml +0 -13
- package/android/.idea/libraries/Gradle__commons_io_commons_io_2_4.xml +0 -13
- package/android/.idea/libraries/Gradle__io_reactivex_rxjava2_rxandroid_2_0_1_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__io_reactivex_rxjava2_rxjava_2_1_5.xml +0 -13
- package/android/.idea/libraries/Gradle__io_scanbot_scanbot_barcode_scanner_sdk_3_0_1_aar.xml +0 -11
- package/android/.idea/libraries/Gradle__io_scanbot_scanbot_barcode_scanner_sdk_ui_3_0_1_aar.xml +0 -11
- package/android/.idea/libraries/Gradle__io_scanbot_scanbot_sdk_barcode_3_0_1_aar.xml +0 -11
- package/android/.idea/libraries/Gradle__io_scanbot_scanbot_sdk_base_3_0_1_aar.xml +0 -11
- package/android/.idea/libraries/Gradle__io_scanbot_scanbot_sdk_ui_barcode_3_0_1_aar.xml +0 -11
- package/android/.idea/libraries/Gradle__io_scanbot_scanbot_sdk_ui_base_3_0_1_aar.xml +0 -11
- package/android/.idea/libraries/Gradle__io_scanbot_sdk_barcode_assets_3_0_1_aar.xml +0 -11
- package/android/.idea/libraries/Gradle__io_scanbot_sdk_core_barcode_3_0_1_aar.xml +0 -11
- package/android/.idea/libraries/Gradle__io_scanbot_sdk_core_barcode_native_3_0_1_aar.xml +0 -11
- package/android/.idea/libraries/Gradle__io_scanbot_sdk_core_sap_3_0_1_aar.xml +0 -11
- package/android/.idea/libraries/Gradle__javax_inject_javax_inject_1.xml +0 -13
- package/android/.idea/libraries/Gradle__org_jetbrains_annotations_13_0.xml +0 -13
- package/android/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_1_4_20.xml +0 -13
- package/android/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_common_1_4_20.xml +0 -13
- package/android/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_jdk7_1_4_20.xml +0 -13
- package/android/.idea/libraries/Gradle__org_jetbrains_kotlinx_kotlinx_coroutines_android_1_4_1.xml +0 -13
- package/android/.idea/libraries/Gradle__org_jetbrains_kotlinx_kotlinx_coroutines_core_jvm_1_4_1.xml +0 -13
- package/android/.idea/libraries/Gradle__org_reactivestreams_reactive_streams_1_0_1.xml +0 -13
- package/android/.idea/misc.xml +0 -9
- package/android/.idea/modules/android.iml +0 -133
- package/android/.idea/modules.xml +0 -8
- package/android/.idea/vcs.xml +0 -6
- package/android/.idea/workspace.xml +0 -62
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/ScanbotBarcodeSdkModule$2$1$1.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/ScanbotBarcodeSdkModule$2$1.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/ScanbotBarcodeSdkModule$4.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/components/barcodecameraview/ScanbotBarcodeCameraViewFragment$3$1.class +0 -0
- package/android/build/intermediates/javac/debug/classes/io/scanbot/barcodesdk/plugin/reactnative/components/barcodecameraview/ScanbotBarcodeCameraViewFragment$3.class +0 -0
package/src/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Copyright (c) 2020 doo GmbH. All rights reserved.
|
|
4
4
|
https://scanbot.io/sdk
|
|
5
5
|
*/
|
|
6
|
-
import { FinderAspectRatio } from "./model";
|
|
6
|
+
import { FinderAspectRatio, SelectionOverlayConfiguration } from "./model";
|
|
7
7
|
import {
|
|
8
8
|
BarcodeDocumentFormat,
|
|
9
9
|
BarcodeFormat,
|
|
@@ -11,53 +11,15 @@ import {
|
|
|
11
11
|
UIInterfaceOrientationMask,
|
|
12
12
|
EngineMode,
|
|
13
13
|
CameraModule,
|
|
14
|
-
BarcodeFilter
|
|
14
|
+
BarcodeFilter,
|
|
15
|
+
CodeDensity
|
|
15
16
|
} from "./enum";
|
|
16
17
|
import { MSIPlesseyChecksumAlgorithm } from "./enum";
|
|
17
18
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
*/
|
|
23
|
-
acceptedDocumentFormats?: BarcodeDocumentFormat[];
|
|
24
|
-
/**
|
|
25
|
-
* Allowed orientations for automatic interface rotations.
|
|
26
|
-
*/
|
|
27
|
-
allowedInterfaceOrientations?: UIInterfaceOrientationMask;
|
|
28
|
-
/**
|
|
29
|
-
* Background color of the detection overlay.
|
|
30
|
-
*/
|
|
31
|
-
cameraOverlayColor?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Whether the cancel button is hidden or not.
|
|
34
|
-
*/
|
|
35
|
-
cancelButtonHidden?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* String being displayed on the cancel button.
|
|
38
|
-
*/
|
|
39
|
-
cancelButtonTitle?: string;
|
|
40
|
-
/**
|
|
41
|
-
* Foreground color of the detection overlay.
|
|
42
|
-
*/
|
|
43
|
-
finderLineColor?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Width of the finder frame border. Default is 2.
|
|
46
|
-
*/
|
|
47
|
-
finderLineWidth?: number;
|
|
48
|
-
/**
|
|
49
|
-
* String being displayed as the description label.
|
|
50
|
-
*/
|
|
51
|
-
finderTextHint?: string;
|
|
52
|
-
/**
|
|
53
|
-
* Foreground color of the description label.
|
|
54
|
-
*/
|
|
55
|
-
finderTextHintColor?: string;
|
|
56
|
-
/**
|
|
57
|
-
* Aspect ratio of the finder frame (width \ height), which is used to build the actual finder frame.
|
|
58
|
-
* Default is 1 - which is a square frame (good for QR capturing).
|
|
59
|
-
*/
|
|
60
|
-
finderAspectRatio?: FinderAspectRatio;
|
|
19
|
+
/**
|
|
20
|
+
* An interface that contains all the Barcode Scanning configurations.
|
|
21
|
+
*/
|
|
22
|
+
export interface BarcodeScannerConfiguration extends InternalBarcodeDetectionCommonParameters, BarcodeAdditionalParameters {
|
|
61
23
|
/**
|
|
62
24
|
* String being displayed on the flash button.
|
|
63
25
|
*/
|
|
@@ -66,115 +28,17 @@ export interface BarcodeScannerConfiguration {
|
|
|
66
28
|
* Foreground color of the flash button when the flash is off.
|
|
67
29
|
*/
|
|
68
30
|
flashButtonInactiveColor?: string;
|
|
69
|
-
/**
|
|
70
|
-
* Whether the flash is toggled on or off.
|
|
71
|
-
*/
|
|
72
|
-
flashEnabled?: boolean;
|
|
73
|
-
/**
|
|
74
|
-
* Optional minimum required text length of the detected barcode.
|
|
75
|
-
* The default is 0 (setting is turned off).
|
|
76
|
-
* NOTE: This feature works on ITF and MSI Plessey barcodes only.
|
|
77
|
-
*/
|
|
78
|
-
minimumTextLength?: number,
|
|
79
|
-
/**
|
|
80
|
-
* Optional maximum required text length of the detected barcode.
|
|
81
|
-
* The default is 0 (setting is turned off).
|
|
82
|
-
* NOTE: This feature works on ITF and MSI Plessey barcodes only.
|
|
83
|
-
*/
|
|
84
|
-
maximumTextLength?: number,
|
|
85
|
-
/**
|
|
86
|
-
* Optional minimum required quiet zone on the barcode.
|
|
87
|
-
* Measured in modules (the size of narrowest bar in the barcode).
|
|
88
|
-
* The default is 10.
|
|
89
|
-
* NOTE: This feature works on ITF and MSI Plessey barcodes only.
|
|
90
|
-
*/
|
|
91
|
-
minimum1DBarcodesQuietZone?: number
|
|
92
|
-
/**
|
|
93
|
-
* Use a filter to determine which type of barcode can be detected; see `BarcodeFilter`
|
|
94
|
-
*/
|
|
95
|
-
barcodeFilter?: BarcodeFilter;
|
|
96
|
-
/**
|
|
97
|
-
* Whether a sound should be played on successful barcode detection.
|
|
98
|
-
*/
|
|
99
|
-
successBeepEnabled?: boolean;
|
|
100
|
-
/**
|
|
101
|
-
* Background color of the top bar.
|
|
102
|
-
*/
|
|
103
|
-
topBarBackgroundColor?: string;
|
|
104
|
-
/**
|
|
105
|
-
* Foreground color of the cancel button.
|
|
106
|
-
*/
|
|
107
|
-
topBarButtonsColor?: string;
|
|
108
|
-
/**
|
|
109
|
-
* Accepted barcode formats.
|
|
110
|
-
*/
|
|
111
|
-
barcodeFormats?: BarcodeFormat[];
|
|
112
31
|
/**
|
|
113
32
|
* Specifies the way a barcode image is generated or disables this generation altogether.
|
|
114
33
|
* Use if you want to receive a full sized image with barcodes. Defaults to NONE.
|
|
115
34
|
*/
|
|
116
35
|
barcodeImageGenerationType?: BarcodeImageGenerationType;
|
|
117
|
-
/**
|
|
118
|
-
* Controls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE.
|
|
119
|
-
* Android only.
|
|
120
|
-
*/
|
|
121
|
-
useButtonsAllCaps?: boolean;
|
|
122
|
-
/**
|
|
123
|
-
* The relative initial zoom level of the camera in the range [0,1], where 0 is zoomed out and 1 is zoomed in.
|
|
124
|
-
* The default value is 0.
|
|
125
|
-
*/
|
|
126
|
-
cameraZoomFactor?: number;
|
|
127
|
-
/**
|
|
128
|
-
* The engine mode of the barcode recognizer. Defaults to NEXT_GEN.
|
|
129
|
-
* To use the legacy recognizer, please specify LEGACY.
|
|
130
|
-
*/
|
|
131
|
-
engineMode?: EngineMode;
|
|
132
|
-
/**
|
|
133
|
-
* When set to `true`, the scanner assumes that the barcode can be a GS1 barcode.
|
|
134
|
-
* Turn it off if you don't want to see decoded FNC1 characters ("]C1" and ASCII char 29).
|
|
135
|
-
* The default value is `true`.
|
|
136
|
-
* NOTE: Currently works for CODE128 barcodes only!
|
|
137
|
-
*/
|
|
138
|
-
gs1DecodingEnabled?: boolean;
|
|
139
|
-
/**
|
|
140
|
-
* The checksum algorithm for MSI Plessey barcodes.
|
|
141
|
-
* The default value is [MSIPlesseyChecksumAlgorithm.Mod10].
|
|
142
|
-
*/
|
|
143
|
-
msiPlesseyChecksumAlgorithm?: MSIPlesseyChecksumAlgorithm;
|
|
144
|
-
/**
|
|
145
|
-
* With this option enabled, the scanner removes check digits for UPC, EAN and MSI Plessey codes.
|
|
146
|
-
* Has no effect if both single and double digit MSI Plessey checksums are enabled.
|
|
147
|
-
* The default is `false`.
|
|
148
|
-
*/
|
|
149
|
-
stripCheckDigits?: boolean;
|
|
150
|
-
/**
|
|
151
|
-
* The preferred camera module (default: BACK).
|
|
152
|
-
*/
|
|
153
|
-
cameraModule?: CameraModule;
|
|
154
|
-
/**
|
|
155
|
-
* If `true`, enables the mode which slightly decreases the scanning quality and the energy consumption, thus increasing the scanning speed.
|
|
156
|
-
* The default is `false`.
|
|
157
|
-
* Android only.
|
|
158
|
-
*/
|
|
159
|
-
lowPowerMode?: boolean;
|
|
160
|
-
/**
|
|
161
|
-
* If `true`, replaces the cancel button in the top bar with a back arrow icon
|
|
162
|
-
* The default is `false`.
|
|
163
|
-
* Android only.
|
|
164
|
-
*/
|
|
165
|
-
replaceCancelButtonWithIcon?: boolean;
|
|
166
36
|
}
|
|
167
37
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
*/
|
|
173
|
-
acceptedDocumentFormats?: BarcodeDocumentFormat[];
|
|
174
|
-
/**
|
|
175
|
-
* Allowed orientations for automatic interface rotations.
|
|
176
|
-
*/
|
|
177
|
-
allowedInterfaceOrientations?: UIInterfaceOrientationMask;
|
|
38
|
+
/**
|
|
39
|
+
* An interface that contains all the Batch Barcode Scanning configurations.
|
|
40
|
+
*/
|
|
41
|
+
export interface BatchBarcodeScannerConfiguration extends InternalBarcodeDetectionCommonParameters, BarcodeAdditionalParameters {
|
|
178
42
|
/**
|
|
179
43
|
* String used for displaying the numer of scanned barcodes. Use %d for number formatting symbol.
|
|
180
44
|
*/
|
|
@@ -183,23 +47,6 @@ export interface BatchBarcodeScannerConfiguration {
|
|
|
183
47
|
* Text color of the barcodes count label.
|
|
184
48
|
*/
|
|
185
49
|
barcodesCountTextColor?: string;
|
|
186
|
-
/**
|
|
187
|
-
* Background color of the detection overlay.
|
|
188
|
-
*/
|
|
189
|
-
cameraOverlayColor?: string;
|
|
190
|
-
/**
|
|
191
|
-
* Whether the cancel button is hidden or not. (iOS only).
|
|
192
|
-
*/
|
|
193
|
-
cancelButtonHidden?: boolean;
|
|
194
|
-
/**
|
|
195
|
-
* The relative initial zoom level of the camera in the range [0,1], where 0 is zoomed out and 1 is zoomed in.
|
|
196
|
-
* The default value is 0.
|
|
197
|
-
*/
|
|
198
|
-
cameraZoomFactor?: number;
|
|
199
|
-
/**
|
|
200
|
-
* String being displayed on the cancel button.
|
|
201
|
-
*/
|
|
202
|
-
cancelButtonTitle?: string;
|
|
203
50
|
/**
|
|
204
51
|
* String being displayed on the clear button.
|
|
205
52
|
*/
|
|
@@ -225,147 +72,147 @@ export interface BatchBarcodeScannerConfiguration {
|
|
|
225
72
|
*/
|
|
226
73
|
fetchingStateText?: string;
|
|
227
74
|
/**
|
|
228
|
-
*
|
|
229
|
-
* Default is 1 - which is a square frame (good for QR capturing).
|
|
75
|
+
* String to show that no barcodes were scanned yet.
|
|
230
76
|
*/
|
|
231
|
-
|
|
77
|
+
noBarcodesTitle?: string;
|
|
232
78
|
/**
|
|
233
|
-
*
|
|
79
|
+
* String being displayed on the submit button.
|
|
234
80
|
*/
|
|
235
|
-
|
|
81
|
+
submitButtonTitle?: string;
|
|
236
82
|
/**
|
|
237
|
-
*
|
|
83
|
+
* Foreground color of the flash button when the flash is off.
|
|
238
84
|
*/
|
|
239
|
-
|
|
85
|
+
topBarButtonsInactiveColor?: string;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* An interface that contains parameters for Detection of barcodes from images.
|
|
91
|
+
*/
|
|
92
|
+
export interface DetectBarcodesOnImageArguments
|
|
93
|
+
extends InternalBarcodeDetectionCommonParameters {
|
|
240
94
|
/**
|
|
241
|
-
*
|
|
95
|
+
* The input image file URI.
|
|
242
96
|
*/
|
|
243
|
-
|
|
97
|
+
imageFileUri: string;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* An interface that contains Common parameters for barcodes detection and filtering.
|
|
102
|
+
*/
|
|
103
|
+
interface InternalBarcodeDetectionCommonParameters {
|
|
244
104
|
/**
|
|
245
|
-
*
|
|
105
|
+
* An optional array of barcode document formats that acts as a detection filter.
|
|
106
|
+
* By default all supported document formats will be detected.
|
|
246
107
|
*/
|
|
247
|
-
|
|
108
|
+
acceptedDocumentFormats?: BarcodeDocumentFormat[];
|
|
248
109
|
/**
|
|
249
|
-
*
|
|
110
|
+
* Allowed orientations for automatic interface rotations.
|
|
250
111
|
*/
|
|
251
|
-
|
|
112
|
+
allowedInterfaceOrientations?: UIInterfaceOrientationMask;
|
|
252
113
|
/**
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
114
|
+
* Background color of the detection overlay.
|
|
115
|
+
*/
|
|
116
|
+
cameraOverlayColor?: string;
|
|
256
117
|
/**
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
118
|
+
* Whether the cancel button is hidden or not.
|
|
119
|
+
*/
|
|
120
|
+
cancelButtonHidden?: boolean;
|
|
260
121
|
/**
|
|
261
|
-
*
|
|
122
|
+
* String being displayed on the cancel button.
|
|
262
123
|
*/
|
|
263
|
-
|
|
124
|
+
cancelButtonTitle?: string;
|
|
264
125
|
/**
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
126
|
+
* Foreground color of the detection overlay.
|
|
127
|
+
*/
|
|
128
|
+
finderLineColor?: string;
|
|
268
129
|
/**
|
|
269
|
-
*
|
|
130
|
+
* Width of the finder frame border. Default is 2.
|
|
270
131
|
*/
|
|
271
|
-
|
|
132
|
+
finderLineWidth?: number;
|
|
272
133
|
/**
|
|
273
|
-
*
|
|
134
|
+
* String being displayed as the description label.
|
|
274
135
|
*/
|
|
275
|
-
|
|
136
|
+
finderTextHint?: string;
|
|
276
137
|
/**
|
|
277
|
-
*
|
|
138
|
+
* Foreground color of the description label.
|
|
278
139
|
*/
|
|
279
|
-
|
|
140
|
+
finderTextHintColor?: string;
|
|
280
141
|
/**
|
|
281
|
-
*
|
|
282
|
-
*
|
|
142
|
+
* Aspect ratio of the finder frame (width \ height), which is used to build the actual finder frame.
|
|
143
|
+
* Default is 1 - which is a square frame (good for QR capturing).
|
|
283
144
|
*/
|
|
284
|
-
|
|
145
|
+
finderAspectRatio?: FinderAspectRatio;
|
|
285
146
|
/**
|
|
286
|
-
*
|
|
287
|
-
* The default is 0 (setting is turned off).
|
|
288
|
-
* NOTE: This feature works on ITF and MSI Plessey barcodes only.
|
|
147
|
+
* Whether the flash is toggled on or off.
|
|
289
148
|
*/
|
|
290
|
-
|
|
149
|
+
flashEnabled?: boolean;
|
|
291
150
|
/**
|
|
292
|
-
*
|
|
293
|
-
* The default is 0 (setting is turned off).
|
|
294
|
-
* NOTE: This feature works on ITF and MSI Plessey barcodes only.
|
|
151
|
+
* iOS Only: Whether the flash button shouldn be visible or not in the UI.
|
|
295
152
|
*/
|
|
296
|
-
|
|
153
|
+
flashButtonHidden?: boolean;
|
|
297
154
|
/**
|
|
298
|
-
*
|
|
299
|
-
* Measured in modules (the size of narrowest bar in the barcode).
|
|
300
|
-
* The default is 10.
|
|
301
|
-
* NOTE: This feature works on ITF and MSI Plessey barcodes only.
|
|
155
|
+
* Accepted barcode formats.
|
|
302
156
|
*/
|
|
303
|
-
|
|
157
|
+
barcodeFormats?: BarcodeFormat[];
|
|
304
158
|
/**
|
|
305
159
|
* Use a filter to determine which type of barcode can be detected; see `BarcodeFilter`
|
|
306
160
|
*/
|
|
307
161
|
barcodeFilter?: BarcodeFilter;
|
|
308
162
|
/**
|
|
309
|
-
*
|
|
310
|
-
*
|
|
163
|
+
* Controls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE.
|
|
164
|
+
* Android only.
|
|
311
165
|
*/
|
|
312
|
-
|
|
166
|
+
useButtonsAllCaps?: boolean;
|
|
313
167
|
/**
|
|
314
|
-
*
|
|
315
|
-
* Turn it off if you don't want to see decoded FNC1 characters ("]C1" and ASCII char 29).
|
|
316
|
-
* The default value is `true`.
|
|
317
|
-
* NOTE: Currently works for CODE128 barcodes only!
|
|
168
|
+
* The preferred camera module (default: BACK).
|
|
318
169
|
*/
|
|
319
|
-
|
|
170
|
+
cameraModule?: CameraModule;
|
|
320
171
|
/**
|
|
321
|
-
*
|
|
322
|
-
* The default value is [MSIPlesseyChecksumAlgorithm.Mod10].
|
|
172
|
+
* Background color of the top bar.
|
|
323
173
|
*/
|
|
324
|
-
|
|
174
|
+
topBarBackgroundColor?: string;
|
|
325
175
|
/**
|
|
326
|
-
*
|
|
327
|
-
* Has no effect if both single and double digit MSI Plessey checksums are enabled.
|
|
328
|
-
* The default is `false`.
|
|
176
|
+
* Foreground color of the top bar buttons on the scanning screen.
|
|
329
177
|
*/
|
|
330
|
-
|
|
178
|
+
topBarButtonsColor?: string;
|
|
331
179
|
/**
|
|
332
|
-
* The
|
|
180
|
+
* The relative initial zoom level of the camera in the range [0,1], where 0 is zoomed out and 1 is zoomed in.
|
|
181
|
+
* The default value is 0.
|
|
333
182
|
*/
|
|
334
|
-
|
|
183
|
+
cameraZoomFactor?: number;
|
|
335
184
|
/**
|
|
336
|
-
*
|
|
337
|
-
*
|
|
338
|
-
* Android only.
|
|
185
|
+
* The engine mode of the barcode recognizer. Defaults to NEXT_GEN.
|
|
186
|
+
* To use the legacy recognizer, please specify LEGACY.
|
|
339
187
|
*/
|
|
340
|
-
|
|
188
|
+
engineMode?: EngineMode;
|
|
189
|
+
/**
|
|
190
|
+
* Whether a sound should be played on successful barcode detection.
|
|
191
|
+
*/
|
|
192
|
+
successBeepEnabled?: boolean;
|
|
341
193
|
/**
|
|
342
194
|
* If `true`, replaces the cancel button in the top bar with a back arrow icon
|
|
343
195
|
* The default is `false`.
|
|
344
196
|
* Android only.
|
|
345
197
|
*/
|
|
346
198
|
replaceCancelButtonWithIcon?: boolean;
|
|
347
|
-
}
|
|
348
199
|
|
|
349
|
-
interface InternalBarcodeDetectionCommonParameters {
|
|
350
200
|
/**
|
|
351
|
-
*
|
|
352
|
-
*/
|
|
353
|
-
barcodeFormats?: BarcodeFormat[];
|
|
354
|
-
/**
|
|
355
|
-
* An optional array of barcode document formats that acts as a detection filter.
|
|
356
|
-
* By default all supported document formats will be detected.
|
|
357
|
-
*/
|
|
358
|
-
acceptedDocumentFormats?: BarcodeDocumentFormat[];
|
|
359
|
-
/**
|
|
360
|
-
* Use a filter to determine which type of barcode can be detected; see `BarcodeFilter`
|
|
201
|
+
* The configuration for barcode overlays.
|
|
361
202
|
*/
|
|
362
|
-
|
|
203
|
+
overlayConfiguration?: SelectionOverlayConfiguration;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* An interface that contains additional parameters for barcodes detection and filtering.
|
|
208
|
+
*/
|
|
209
|
+
export interface BarcodeAdditionalParameters {
|
|
363
210
|
/**
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
lowPowerMode?: boolean;
|
|
211
|
+
* If `true`, enables the mode which slightly decreases the scanning quality and the energy consumption, thus increasing the scanning speed.
|
|
212
|
+
* The default is `false`.
|
|
213
|
+
* Android only.
|
|
214
|
+
*/
|
|
215
|
+
lowPowerMode?: boolean;
|
|
369
216
|
/**
|
|
370
217
|
* Optional minimum required text length of the detected barcode.
|
|
371
218
|
* The default is 0 (setting is turned off).
|
|
@@ -399,16 +246,13 @@ interface InternalBarcodeDetectionCommonParameters {
|
|
|
399
246
|
*/
|
|
400
247
|
gs1DecodingEnabled?: boolean;
|
|
401
248
|
/**
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
249
|
+
* The checksum algorithm for MSI Plessey barcodes.
|
|
250
|
+
* The default value is [MSIPlesseyChecksumAlgorithm.Mod10].
|
|
251
|
+
*/
|
|
405
252
|
msiPlesseyChecksumAlgorithm?: MSIPlesseyChecksumAlgorithm;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
export interface DetectBarcodesOnImageArguments
|
|
409
|
-
extends InternalBarcodeDetectionCommonParameters {
|
|
410
253
|
/**
|
|
411
|
-
*
|
|
254
|
+
* Low density. Finds up to 6 QR codes in one image or video frame. This is the default value.
|
|
255
|
+
* High density. Finds up to 24 QR codes in one image or video frame.
|
|
412
256
|
*/
|
|
413
|
-
|
|
257
|
+
codeDensity?: CodeDensity;
|
|
414
258
|
}
|
package/src/enum.ts
CHANGED
|
@@ -21,14 +21,10 @@ export type DocumentDetectorMode = "EDGE_BASED" | "ML_BASED";
|
|
|
21
21
|
export type FileEncryptionMode = "AES128" | "AES256";
|
|
22
22
|
|
|
23
23
|
export type UIInterfaceOrientationMask =
|
|
24
|
-
|
|
25
|
-
| "
|
|
26
|
-
| "
|
|
27
|
-
|
|
28
|
-
| "LANDSCAPE"
|
|
29
|
-
| "ALL"
|
|
30
|
-
| "ALL_BUT_UPSIDE_DOWN";
|
|
31
|
-
|
|
24
|
+
"ALL"
|
|
25
|
+
| "PORTRAIT"
|
|
26
|
+
| "LANDSCAPE";
|
|
27
|
+
|
|
32
28
|
export type BarcodeImageGenerationType =
|
|
33
29
|
"NONE"
|
|
34
30
|
| "VIDEO_FRAME"
|
|
@@ -82,3 +78,9 @@ export type BarcodeFilter =
|
|
|
82
78
|
'WithExtension' |
|
|
83
79
|
'WithEAN2Extension' |
|
|
84
80
|
'WithEAN5Extension';
|
|
81
|
+
|
|
82
|
+
export type CodeDensity = 'LOW' | 'HIGH';
|
|
83
|
+
|
|
84
|
+
export type BarcodeOverlayFormat = 'NONE' |
|
|
85
|
+
'CODE' |
|
|
86
|
+
'CODEANDTYPE';
|
package/src/model.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CameraImageFormat, LicenseStatus } from "./enum";
|
|
1
|
+
import { BarcodeOverlayFormat, CameraImageFormat, LicenseStatus } from "./enum";
|
|
2
2
|
|
|
3
3
|
export interface InitializationOptions {
|
|
4
4
|
/**
|
|
@@ -54,4 +54,43 @@ export interface LicenseInfo {
|
|
|
54
54
|
export interface FinderAspectRatio {
|
|
55
55
|
width: number;
|
|
56
56
|
height: number;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* The Selection Overlay configuration interface for setting overlay over the barcode while ongoing detection.
|
|
61
|
+
*/
|
|
62
|
+
export interface SelectionOverlayConfiguration {
|
|
63
|
+
/**
|
|
64
|
+
* Displays an augmented reality view that draws the frames, content and type text
|
|
65
|
+
* of the found barcodes when it finds them. Defaults to NO.
|
|
66
|
+
*/
|
|
67
|
+
overlayEnabled: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* The text format for the results overlays.
|
|
70
|
+
*/
|
|
71
|
+
overlayTextFormat?: BarcodeOverlayFormat;
|
|
72
|
+
/**
|
|
73
|
+
* The color for the results overlays polygons.
|
|
74
|
+
*/
|
|
75
|
+
polygonColor: string;
|
|
76
|
+
/**
|
|
77
|
+
* The text color for the results overlays.
|
|
78
|
+
*/
|
|
79
|
+
textColor: string;
|
|
80
|
+
/**
|
|
81
|
+
* The text background color for the results overlays.
|
|
82
|
+
*/
|
|
83
|
+
textContainerColor: string;
|
|
84
|
+
/**
|
|
85
|
+
* The highlighted color for the results overlays polygons.
|
|
86
|
+
*/
|
|
87
|
+
highlightedPolygonColor?: string;
|
|
88
|
+
/**
|
|
89
|
+
* The highlighted color for the results overlays polygons.
|
|
90
|
+
*/
|
|
91
|
+
highlightedTextColor?: string;
|
|
92
|
+
/**
|
|
93
|
+
* The highlighted color for the results overlays polygons.
|
|
94
|
+
*/
|
|
95
|
+
highlightedTextContainerColor?: string;
|
|
57
96
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
package/android/.idea/gradle.xml
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="GradleSettings">
|
|
4
|
-
<option name="linkedExternalProjectsSettings">
|
|
5
|
-
<GradleProjectSettings>
|
|
6
|
-
<option name="testRunner" value="PLATFORM" />
|
|
7
|
-
<option name="disableWrapperSourceDistributionNotification" value="true" />
|
|
8
|
-
<option name="distributionType" value="DEFAULT_WRAPPED" />
|
|
9
|
-
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
|
10
|
-
<option name="gradleHome" value="/usr/local/Cellar/gradle/6.8.3/libexec" />
|
|
11
|
-
<option name="gradleJvm" value="1.8 (2)" />
|
|
12
|
-
<option name="modules">
|
|
13
|
-
<set>
|
|
14
|
-
<option value="$PROJECT_DIR$" />
|
|
15
|
-
</set>
|
|
16
|
-
</option>
|
|
17
|
-
<option name="resolveModulePerSourceSet" value="false" />
|
|
18
|
-
<option name="useQualifiedModuleNames" value="true" />
|
|
19
|
-
</GradleProjectSettings>
|
|
20
|
-
</option>
|
|
21
|
-
</component>
|
|
22
|
-
</project>
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="RemoteRepositoriesConfiguration">
|
|
4
|
-
<remote-repository>
|
|
5
|
-
<option name="id" value="central" />
|
|
6
|
-
<option name="name" value="Maven Central repository" />
|
|
7
|
-
<option name="url" value="https://repo1.maven.org/maven2" />
|
|
8
|
-
</remote-repository>
|
|
9
|
-
<remote-repository>
|
|
10
|
-
<option name="id" value="jboss.community" />
|
|
11
|
-
<option name="name" value="JBoss Community repository" />
|
|
12
|
-
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
|
13
|
-
</remote-repository>
|
|
14
|
-
<remote-repository>
|
|
15
|
-
<option name="id" value="maven2" />
|
|
16
|
-
<option name="name" value="maven2" />
|
|
17
|
-
<option name="url" value="file:$PROJECT_DIR$/../node_modules/jsc-android/dist/" />
|
|
18
|
-
</remote-repository>
|
|
19
|
-
<remote-repository>
|
|
20
|
-
<option name="id" value="MavenLocal" />
|
|
21
|
-
<option name="name" value="MavenLocal" />
|
|
22
|
-
<option name="url" value="file:$USER_HOME$/.m2/repository/" />
|
|
23
|
-
</remote-repository>
|
|
24
|
-
<remote-repository>
|
|
25
|
-
<option name="id" value="maven" />
|
|
26
|
-
<option name="name" value="maven" />
|
|
27
|
-
<option name="url" value="file:$PROJECT_DIR$/../node_modules/react-native/android/" />
|
|
28
|
-
</remote-repository>
|
|
29
|
-
<remote-repository>
|
|
30
|
-
<option name="id" value="maven4" />
|
|
31
|
-
<option name="name" value="maven4" />
|
|
32
|
-
<option name="url" value="https://nexus.scanbot.io/nexus/content/repositories/snapshots/" />
|
|
33
|
-
</remote-repository>
|
|
34
|
-
<remote-repository>
|
|
35
|
-
<option name="id" value="BintrayJCenter" />
|
|
36
|
-
<option name="name" value="BintrayJCenter" />
|
|
37
|
-
<option name="url" value="https://jcenter.bintray.com/" />
|
|
38
|
-
</remote-repository>
|
|
39
|
-
<remote-repository>
|
|
40
|
-
<option name="id" value="maven3" />
|
|
41
|
-
<option name="name" value="maven3" />
|
|
42
|
-
<option name="url" value="https://nexus.scanbot.io/nexus/content/repositories/releases/" />
|
|
43
|
-
</remote-repository>
|
|
44
|
-
<remote-repository>
|
|
45
|
-
<option name="id" value="Google" />
|
|
46
|
-
<option name="name" value="Google" />
|
|
47
|
-
<option name="url" value="https://dl.google.com/dl/android/maven2/" />
|
|
48
|
-
</remote-repository>
|
|
49
|
-
</component>
|
|
50
|
-
</project>
|