react-native-document-scanner icon indicating copy to clipboard operation
react-native-document-scanner copied to clipboard

RNPdfScanner was not found in the UIManager

Open theocikos opened this issue 4 years ago • 36 comments

Although the linking works in the ios devices on the android i get error : Invariant Violation: requireNativeComponent:"RNPdfScanner"was not found in the UIManager.I follow exactly the steps from readme but i can't get around this error.Thanks

theocikos avatar Sep 11 '19 13:09 theocikos

@theocikos can you run it right for ios ? i am starting for android right now. If i do it i will text you

alicancelik avatar Sep 11 '19 14:09 alicancelik

@theocikos did you solve it ?

alicancelik avatar Sep 12 '19 06:09 alicancelik

No i can't make it work :/ For ios it works fine.

theocikos avatar Sep 12 '19 09:09 theocikos

I am try to run this on android using following config "react": "16.8.6", "react-native": "0.60.5", "react-native-document-scanner": "^1.4.2", And i am getting following error: Invariant Violation: requireNativeComponent: RNPdfScanner was not found in the UIManager

bhaveshdaswani93 avatar Sep 14 '19 12:09 bhaveshdaswani93

This package is not working in react-native 0.60 for android. I used rn-doc-scanner.

alicancelik avatar Sep 16 '19 06:09 alicancelik

I am also facing same issue:
"react": "16.8.3", "react-native": "0.59.1", "react-native-document-scanner": "^1.4.2",

For iOS its working as expected. Great!

For Android, I followed exact same steps given in ReadMe file. Build is successful, but when I open component that contains DocumentScanner reference gets below error on application.

error-android-pdfscanner

Can someone please help on this or give direction?

CC: @Michaelvilleneuve

@theocikos - any luck on this issue?

pnutmath avatar Oct 04 '19 17:10 pnutmath

Sorry @pnutmath i didn't had any luck either.I am working on creating my own scanner

theocikos avatar Oct 09 '19 16:10 theocikos

Okay @theocikos, let us know once you ready.. or need any help..

pnutmath avatar Oct 10 '19 06:10 pnutmath

Any update on this? @Michaelvilleneuve

I too get the same error. I'm using RN Version 0.59.10 and it doesn't work :(

saidattax avatar Oct 16 '19 06:10 saidattax

Having the same error. This package supports iOS only?

ruby0888 avatar Nov 08 '19 14:11 ruby0888

I have the same error. Solution?

kubilaytural avatar Nov 29 '19 08:11 kubilaytural

I hava the same error in iOS. "react": "16.9.0", "react-native": "0.61.2", "react-native-document-scanner": "^1.4.2". Any solution? I didn't try on Android yet.

fuchien avatar Jan 26 '20 02:01 fuchien

Invariant Violation: requireNativeComponent: RNPdfScanner was not found in the UIManager. Is anybody found the solution to this problem?

Pravesh701 avatar Jan 27 '20 06:01 Pravesh701

Please try to use the version in master by doing

yarn add https://github.com/Michaelvilleneuve/react-native-document-scanner

Michaelvilleneuve avatar Jan 31 '20 08:01 Michaelvilleneuve

Hi, I'm also getting the same error even for iOS! Invariant Violation: requireNativeComponent: RNPdfScanner was not found in the UIManager.

react-native : 0.61.5

Anybody has the solution?

mahendraios avatar Feb 03 '20 13:02 mahendraios

No i can't make it work :/ For ios it works fine.

I'm unable to run it for iOS. Can you help me out

mahendraios avatar Feb 04 '20 05:02 mahendraios

@Michaelvilleneuve can you please upload the example for android in index.android.js as you upload the example for ios in index.ios.js

faheem121 avatar Mar 30 '20 11:03 faheem121

any update on this??

nisargrthakkar avatar Apr 17 '20 19:04 nisargrthakkar

+1

ananthu-confianz avatar May 13 '20 04:05 ananthu-confianz

+1

GitPointer avatar May 24 '20 17:05 GitPointer

+1

hegdeMadan avatar Jul 09 '20 07:07 hegdeMadan

+1

ssudekum avatar Dec 08 '20 22:12 ssudekum

+1

shide1989 avatar Dec 14 '20 09:12 shide1989

Usualy the "invariant violation" issue can indicate that you didn't run "react-native link" correctly. Can you give it a try ?

shide1989 avatar Dec 14 '20 09:12 shide1989

Did anyone get a solution for this ?

shrutigarg-reactnative avatar Apr 12 '21 06:04 shrutigarg-reactnative

@Override protected List<ReactPackage> getPackages() { return Arrays.asList( new MainReactPackage(), new DocumentScannerPackage() //>>>> add this at MainApplication.java ); }

vinay37 avatar Aug 19 '21 12:08 vinay37

same issue here any update?

MuhammadKaleem171 avatar Nov 16 '21 11:11 MuhammadKaleem171

On Android device: requireNativeComponent:"RNPdfScanner"was not found in the UIManager.I follow exactly the steps from readme but i can't get around this error.Thanks

Adnan521 avatar Nov 25 '21 13:11 Adnan521

Any updates?

maxizhukov avatar Dec 03 '21 15:12 maxizhukov

Any updates?

rsm23 avatar Jun 30 '22 09:06 rsm23