question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invariant Violation: Native component for "RNPdfScanner" does not exist

See original GitHub issue

Hello, it looks like the index.js is not able to load the the RNPdfScanner even if i see

Invariant Violation: Native component for "RNPdfScanner" does not exist

This error is located at:
    in RNPdfScanner (at index.js:33)
    in PdfScanner (at WScanner.js:27)
    in WScanner (at App.js:21)
    in App (at registerRootComponent.js:34)
    in RootErrorBoundary (at registerRootComponent.js:33)
    in ExpoRootComponent (at renderApplication.js:35)
    in RCTView (at View.js:113)
    in View (at AppContainer.js:102)
    in RCTView (at View.js:113)
    in View (at AppContainer.js:122)
    in AppContainer (at renderApplication.js:34)

i see the explicit require on line 5 though

const RNPdfScanner = requireNativeComponent('RNPdfScanner', PdfScanner);

npm 5.5.1 node 9.0.0 expo xde on top

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
vinittycommented, May 12, 2018

can i use this library with expo , or is there any library like this which has support in expo

0reactions
kennethkloeppelcommented, Jan 1, 2018

You’re right. I didn’t. I told you… newbie here. LOL

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

requireNativeComponent: "RNSScreen" was not found in the ...
Invariant Violation : requireNativeComponent: "RNSScreen" was not found in the UIManager. Follow these steps: 1. Make sure in your `package.json` ...
Read more >
Ios – Invariant Violation: Native component for ... - iTecNote
I am using react-native-svg and I am having the same issues: No component found ... Invariant Violation: Native component for "RNSVGSvgView" does not...
Read more >
React Native Document Scanner Library (iPhone Only)
Best guide to use React Native Document Scanner Library for (Only iPhone), Live & preview document detection library easy to use base64 image....
Read more >
"RNCSafeAreaProvider" was not found in the UIManager.
npm install react-native-safe-area-context npx pod-install ios //add SafeAreaProvider to the app import { SafeAreaProvider } from ...
Read more >
invariant violation: "main" has not been registered. this can ...
iOS Bundling complete 1772ms ERROR Invariant Violation: Your JavaScript code tried to access a native module that doesn't exist.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found