react-native-text-reader 1.3.0 → 1.4.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.
@@ -118,7 +118,8 @@ class TextReaderModule(reactContext: ReactApplicationContext) :
118
118
  else -> TextRecognizerOptions.DEFAULT_OPTIONS
119
119
  }
120
120
  }
121
-
121
+
122
+ @ReactMethod
122
123
  fun read(url: String, options: ReadableMap?, promise: Promise) {
123
124
  try {
124
125
  val script = options?.getString("script")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-text-reader",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "A React Native library for OCR (Optical Character Recognition) using Vision Framework on iOS and Firebase ML Kit on Android.",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",