Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'detectFromUri' of undefined #13

Open
whdlrghks opened this issue Feb 23, 2019 · 5 comments
Open

Cannot read property 'detectFromUri' of undefined #13

whdlrghks opened this issue Feb 23, 2019 · 5 comments

Comments

@whdlrghks
Copy link

My app can be builded.

But when I activate the detectFromUri function, it shows it is undefined.

And also, I see the console, RNTextDetector is undefined after import this module.

How to solve this issue?

@SargoDarya
Copy link

Same issue here. Would love to know what the issue is here.

@zsajjad
Copy link
Owner

zsajjad commented Mar 14, 2019

Please make sure you have followed all the steps for linking library on native side.

@nasseh101
Copy link

Could this be an Expo issue?

@RiteekaC
Copy link

RiteekaC commented Apr 5, 2019

Facing the same issue. Seeking help to resolve this on urgent basis.
Displays as warning.
Possible Unhandled Promise Rejection (id:0):
TypeError : undefined is not an object (evaluating '-reactNativeTextDetector.RNTextDetector.detectFromUri')

I am using CRNA configuration not Expo.

Also want to know whether this library can be used with Expo too?

@alicanali-technoperia
Copy link

Issue solved after properly linking the library as @zsajjad suggested.
I also had to create "google-services.json" file from Firebase for application to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants