react-native-rectangle-doc-scanner 3.135.0 → 3.136.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.
@@ -550,13 +550,6 @@ const FullDocScanner = ({ onResult, onClose, detectionConfig, overlayColor = '#3
550
550
  }
551
551
  }, []);
552
552
  const activePreviewImage = croppedImageData ? getActivePreviewImage(croppedImageData) : null;
553
- // Android: 카메라 컴포넌트가 없으므로 자동으로 갤러리 열기
554
- (0, react_1.useEffect)(() => {
555
- if (react_native_1.Platform.OS === 'android' && !croppedImageData && !isGalleryOpen) {
556
- console.log('[FullDocScanner] Android detected - opening gallery automatically');
557
- handleGalleryPick();
558
- }
559
- }, []);
560
553
  return (react_1.default.createElement(react_native_1.View, { style: styles.container },
561
554
  croppedImageData ? (
562
555
  // check_DP: Show confirmation screen
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-rectangle-doc-scanner",
3
- "version": "3.135.0",
3
+ "version": "3.136.0",
4
4
  "description": "Native-backed document scanner for React Native with customizable overlays.",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -751,14 +751,6 @@ export const FullDocScanner: React.FC<FullDocScannerProps> = ({
751
751
 
752
752
  const activePreviewImage = croppedImageData ? getActivePreviewImage(croppedImageData) : null;
753
753
 
754
- // Android: 카메라 컴포넌트가 없으므로 자동으로 갤러리 열기
755
- useEffect(() => {
756
- if (Platform.OS === 'android' && !croppedImageData && !isGalleryOpen) {
757
- console.log('[FullDocScanner] Android detected - opening gallery automatically');
758
- handleGalleryPick();
759
- }
760
- }, []);
761
-
762
754
  return (
763
755
  <View style={styles.container}>
764
756
  {croppedImageData ? (