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.
package/android/src/main/kotlin/com/reactnativerectangledocscanner/DocumentScannerViewManager.kt
CHANGED
|
@@ -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
|
-
|
|
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