Closed mitesh-db closed 4 years ago
@mitjnextt can you please provide react
, react-native
, and react-native-tesseract-ocr
version?
The versions are like this :
"react": "16.13.1",
"react-native": "0.63.1",
"react-native-tesseract-ocr": "^2.0.0",
@mitjnextt are you trying to use it on Android or iOS?
@jonathanpalma Update on the issue: I have cleaned builds and now working on Android, getting scanned data in String
But on iOS, no luck even after cleaning build
@jonathanpalma I think code you provided is working successfully but issue is in linking, Am I missing something on iOS?
@mitjnextt I am glad you were able to make it work on Android. Unfortunately, this library doesn't support iOS
@jonathanpalma Oh okay, Thanks for the help
Facing following error :
[TypeError: _reactNativeTesseractOcr.default.recognize is not a function. (In '_reactNativeTesseractOcr.default.recognize(path, _reactNativeTesseractOcr.LANG_ENGLISH, tesseractOptions)', '_reactNativeTesseractOcr.default.recognize' is undefined)]
Here is my code :