react-native-rectangle-doc-scanner 3.164.0 → 3.165.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.
@@ -77,8 +77,7 @@ class DocumentScannerView(context: ThemedReactContext) : FrameLayout(context), L
77
77
  previewView = PreviewView(context).apply {
78
78
  layoutParams = LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT)
79
79
  scaleType = PreviewView.ScaleType.FILL_CENTER
80
- // Force TextureView for React Native compatibility (SurfaceView has rendering issues)
81
- implementationMode = PreviewView.ImplementationMode.TEXTURE_VIEW
80
+ preferredImplementationMode = PreviewView.ImplementationMode.COMPATIBLE
82
81
  }
83
82
  Log.d(TAG, "[INIT] PreviewView created: $previewView")
84
83
  Log.d(TAG, "[INIT] PreviewView implementationMode: ${previewView.implementationMode}")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-rectangle-doc-scanner",
3
- "version": "3.164.0",
3
+ "version": "3.165.0",
4
4
  "description": "Native-backed document scanner for React Native with customizable overlays.",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",