react-native-rectangle-doc-scanner 3.22.0 → 3.23.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-rectangle-doc-scanner",
3
- "version": "3.22.0",
3
+ "version": "3.23.0",
4
4
  "description": "Native-backed document scanner for React Native with customizable overlays.",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -34,7 +34,9 @@ try {
34
34
  // Files to copy
35
35
  const filesToCopy = [
36
36
  'ios/IPDFCameraViewController.m',
37
+ 'ios/IPDFCameraViewController.h',
37
38
  'ios/DocumentScannerView.m',
39
+ 'ios/DocumentScannerView.h',
38
40
  'ios/RNPdfScannerManager.m',
39
41
  'ios/RNPdfScannerManager.h',
40
42
  'ios.js'
@@ -0,0 +1,17 @@
1
+ #import "IPDFCameraViewController.h"
2
+ #import <React/RCTViewManager.h>
3
+
4
+ @interface DocumentScannerView : IPDFCameraViewController <IPDFCameraViewControllerDelegate>
5
+
6
+ @property (nonatomic, copy) RCTDirectEventBlock onPictureTaken;
7
+ @property (nonatomic, copy) RCTDirectEventBlock onRectangleDetect;
8
+ @property (nonatomic, assign) NSInteger detectionCountBeforeCapture;
9
+ @property (assign, nonatomic) NSInteger stableCounter;
10
+ @property (nonatomic, assign) float quality;
11
+ @property (nonatomic, assign) BOOL useBase64;
12
+ @property (nonatomic, assign) BOOL captureMultiple;
13
+ @property (nonatomic, assign) BOOL saveInAppDocument;
14
+
15
+ - (void) capture;
16
+
17
+ @end