react-native-rectangle-doc-scanner 3.156.0 → 3.157.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.
@@ -1,6 +1,7 @@
1
1
  package com.reactnativerectangledocscanner
2
2
 
3
3
  import android.graphics.Color
4
+ import android.util.Log
4
5
  import com.facebook.react.bridge.ReadableArray
5
6
  import com.facebook.react.common.MapBuilder
6
7
  import com.facebook.react.uimanager.SimpleViewManager
@@ -11,12 +12,19 @@ class DocumentScannerViewManager : SimpleViewManager<DocumentScannerView>() {
11
12
 
12
13
  companion object {
13
14
  const val REACT_CLASS = "RNPdfScanner"
15
+ private const val TAG = "DocScannerViewManager"
14
16
  }
15
17
 
16
18
  override fun getName() = REACT_CLASS
17
19
 
18
20
  override fun createViewInstance(reactContext: ThemedReactContext): DocumentScannerView {
19
- return DocumentScannerView(reactContext)
21
+ Log.d(TAG, "╔════════════════════════════════════════╗")
22
+ Log.d(TAG, "║ createViewInstance CALLED ║")
23
+ Log.d(TAG, "╚════════════════════════════════════════╝")
24
+ Log.d(TAG, "[CREATE] reactContext: $reactContext")
25
+ val view = DocumentScannerView(reactContext)
26
+ Log.d(TAG, "[CREATE] DocumentScannerView created: $view")
27
+ return view
20
28
  }
21
29
 
22
30
  @ReactProp(name = "overlayColor", customType = "Color")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-rectangle-doc-scanner",
3
- "version": "3.156.0",
3
+ "version": "3.157.0",
4
4
  "description": "Native-backed document scanner for React Native with customizable overlays.",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",