jonathanpalma / react-native-tesseract-ocr

Tesseract OCR wrapper for React Native
MIT License
561 stars 172 forks source link

Changing package name causes crash #91

Closed aristech closed 3 years ago

aristech commented 3 years ago

Describe the bug A clear and concise description of what the bug is. I've been working with a clean installation and the app crashes when recognize starts, on the example everything works great so is started to upgrade the packages all good, app still works as expected. the moment i change the package name to anything beside com.example the app crashes at the return from createTesseractAPI with error: F DEBUG : #17 pc 0000000000000eac /dev/ashmem/dalvik-classes5.dex extracted in memory from /data/app/gr.example-tHMzooWQXpPE7PsvR3vs1A==/base.apk!classes5.dex_27171_27171 (deleted) (com.reactlibrary.TesseractOcrModule$2.run+80)

Dependencies (please complete the following information):

To Reproduce Steps to reproduce the behavior:

  1. create new react-native app example
  2. react-native-tesseract-ocr
  3. Make sure it works
  4. Change package name
  5. app crash

Expected behavior Should work with any package name

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

aristech commented 3 years ago

Is this package abandoned?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.