react-native-scanbot-barcode-scanner-sdk 7.0.0-rc.1 → 7.0.0-rc.3

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.
Files changed (48) hide show
  1. package/Libraries.txt +13 -33
  2. package/README.md +272 -39
  3. package/RNScanbotBarcodeSDK.podspec +1 -1
  4. package/android/gradle.properties +1 -1
  5. package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/ScanbotBarcodeSdkModule.kt +1 -1
  6. package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/ScanbotBarcodeSdkPluginResultDelegate.kt +2 -2
  7. package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/components/barcode_scanner_view/ScanbotBarcodeScannerViewManager.kt +5 -0
  8. package/android/src/paper/com/facebook/react/viewmanagers/ScanbotBarcodeScannerViewManagerDelegate.java +3 -0
  9. package/android/src/paper/com/facebook/react/viewmanagers/ScanbotBarcodeScannerViewManagerInterface.java +1 -0
  10. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerLegacyView.h +1 -0
  11. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerLegacyView.m +17 -11
  12. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerView.h +1 -0
  13. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerView.mm +18 -13
  14. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewControllerWrapper.h +3 -0
  15. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewControllerWrapper.m +4 -0
  16. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewManager.mm +1 -0
  17. package/ios/ScanbotBarcodeSdkPluginResultDelegate.m +1 -1
  18. package/lib/commonjs/barcode/BarcodeConfigurationTypes.js +19 -19
  19. package/lib/commonjs/barcode/BarcodeTypes.js +1 -1
  20. package/lib/commonjs/component/barcode-camera-view/ScanbotBarcodeCameraView.js +10 -5
  21. package/lib/commonjs/component/barcode-camera-view/ScanbotBarcodeCameraView.js.map +1 -1
  22. package/lib/commonjs/component/spec/ScanbotBarcodeScannerViewNativeComponent.js.map +1 -1
  23. package/lib/commonjs/documents/CommonFieldType.js +1 -1
  24. package/lib/commonjs/utils/json/JsonSerializationTypes.js +1 -1
  25. package/lib/module/barcode/BarcodeConfigurationTypes.js +19 -19
  26. package/lib/module/barcode/BarcodeTypes.js +1 -1
  27. package/lib/module/component/barcode-camera-view/ScanbotBarcodeCameraView.js +10 -5
  28. package/lib/module/component/barcode-camera-view/ScanbotBarcodeCameraView.js.map +1 -1
  29. package/lib/module/component/spec/ScanbotBarcodeScannerViewNativeComponent.js.map +1 -1
  30. package/lib/module/documents/CommonFieldType.js +1 -1
  31. package/lib/module/utils/json/JsonSerializationTypes.js +1 -1
  32. package/lib/typescript/src/barcode/BarcodeConfigurationTypes.d.ts +19 -19
  33. package/lib/typescript/src/barcode/BarcodeTypes.d.ts +1 -1
  34. package/lib/typescript/src/component/barcode-camera-view/ScanbotBarcodeCameraView.d.ts.map +1 -1
  35. package/lib/typescript/src/component/barcode-camera-view/ScanbotBarcodeCameraViewProperties.d.ts +6 -1
  36. package/lib/typescript/src/component/barcode-camera-view/ScanbotBarcodeCameraViewProperties.d.ts.map +1 -1
  37. package/lib/typescript/src/component/spec/ScanbotBarcodeScannerViewNativeComponent.d.ts +1 -0
  38. package/lib/typescript/src/component/spec/ScanbotBarcodeScannerViewNativeComponent.d.ts.map +1 -1
  39. package/lib/typescript/src/documents/CommonFieldType.d.ts +1 -1
  40. package/lib/typescript/src/utils/json/JsonSerializationTypes.d.ts +1 -1
  41. package/package.json +6 -11
  42. package/src/barcode/BarcodeConfigurationTypes.ts +19 -19
  43. package/src/barcode/BarcodeTypes.ts +1 -1
  44. package/src/component/barcode-camera-view/ScanbotBarcodeCameraView.tsx +11 -4
  45. package/src/component/barcode-camera-view/ScanbotBarcodeCameraViewProperties.ts +6 -1
  46. package/src/component/spec/ScanbotBarcodeScannerViewNativeComponent.ts +1 -0
  47. package/src/documents/CommonFieldType.ts +1 -1
  48. package/src/utils/json/JsonSerializationTypes.ts +1 -1
@@ -77,6 +77,7 @@ interface NativeProps extends ViewProps {
77
77
  maxZoom?: WithDefault<Float, 12.0>;
78
78
  };
79
79
  cameraModule?: WithDefault<string, 'BACK'>;
80
+ hardwareButtonsEnabled?: WithDefault<boolean, true>;
80
81
  scanningEnabled?: WithDefault<boolean, true>;
81
82
  minFocusDistanceLock?: WithDefault<boolean, false>;
82
83
  overlayEnabled?: WithDefault<boolean, false>;
@@ -21,7 +21,7 @@ Common field types.
21
21
  - `EXPIRY_DATE`:
22
22
  Document expiry date field.
23
23
  - `EYE_COLOR`:
24
- Person height field.
24
+ Person eye color field.
25
25
  - `HEIGHT`:
26
26
  Person height field.
27
27
  - `ISSUE_DATE`:
@@ -14,7 +14,7 @@ export class ToJsonConfiguration extends PartiallyConstructible {
14
14
  */
15
15
  public readonly serializeImages: boolean = true;
16
16
  /**
17
- image serialization mode.
17
+ Image serialization mode.
18
18
 
19
19
  Default is REFERENCE
20
20
  */