Closed soulmecca closed 6 years ago
Can you please share your Podfile here. Please check this Podfile of sample app. Also, there is a sample project you can check for reference. Hope it helps.
Hi, thanks for your response. Here is what I got.
First I tried the sample project by git cloning, npm installing and then pod installing. I can start the app by deploying it on iPhone but RNTextDetector.detectFromUri function always returns false whatever I scan.
I also tried to build an application only with this plugin with the same contents of the podfile as the sample project. ( by react-native init ) When trying to build the application with Xcode I got this error
ld: -weak_library and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I changed Enalbe Bitcode Build setting to No then I can run the applition on my device but got all these errors from logs
Unhandled JS Exception: undefined is not an object (evaluating 'CameraManager.Aspect')
[error][tid:com.facebook.react.JavaScript] Module AppRegistry is not a registered callable module (calling runApplication)
Module AppRegistry is not a registered callable module (calling runApplication)
[fatal][tid:com.facebook.react.ExceptionsManagerQueue] Unhandled JS Exception: Module AppRegistry is not a registered callable module (calling runApplication)
Unhandled JS Exception: Module AppRegistry is not a registered callable module (calling runApplication)
I did not write any code. This is a plan state only with this plugin. Do you know why this is happening ??
About that enable bitcode, you have to set it to NO for iOS, its required bt Tesseract. About camera aspect, sample app won't work on simulator rather it will work on device since simulators don't have camera.
Closing this issue, due to inactivity. Please feel free to reopen if its not resolved yet.
Hi, thanks for this great library.
I tried to implement this but with no luck. To replicate:
Do you know how to solve this or what I have done wrong?
Thanks a lot for your help in advance.