react-native-rectangle-doc-scanner 3.63.0 → 3.64.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
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
[self setEnableBorderDetection:YES];
|
|
13
13
|
[self setDelegate: self];
|
|
14
14
|
_hasSetupCamera = NO;
|
|
15
|
-
self.manualOnly = YES
|
|
16
|
-
self.detectionCountBeforeCapture =
|
|
15
|
+
self.manualOnly = NO; // Changed from YES to NO - allow manual capture to work
|
|
16
|
+
self.detectionCountBeforeCapture = 99999; // High threshold to prevent auto-capture
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
return self;
|
|
@@ -413,7 +413,12 @@
|
|
|
413
413
|
|
|
414
414
|
- (void)captureImageWithCompletionHander:(void(^)(id data, id initialData, CIRectangleFeature *rectangleFeature))completionHandler
|
|
415
415
|
{
|
|
416
|
-
|
|
416
|
+
NSLog(@"[IPDFCameraViewController] captureImageWithCompletionHander called, _isCapturing=%@", _isCapturing ? @"YES" : @"NO");
|
|
417
|
+
|
|
418
|
+
if (_isCapturing) {
|
|
419
|
+
NSLog(@"[IPDFCameraViewController] Already capturing, ignoring request");
|
|
420
|
+
return;
|
|
421
|
+
}
|
|
417
422
|
|
|
418
423
|
__weak typeof(self) weakSelf = self;
|
|
419
424
|
|