Open Tako opened 7 years ago
I do even though I linked everything fine, I don't understand why... help pls :)
Same error.
me too
same here. Any help on this maybe?
"react-native": "0.43.3", "react": "16.0.0-alpha.6", "react-native-pdf-view": "^0.3.2",
+1
same
same
Adding it into your package.json straight from github as per this comment is working for me on iOS, haven't tested on android yet.
"react-native-pdf-view": "git+https://github.com/cnjon/react-native-pdf-view.git"
Obviously this is a workaround but will work until the repo is published again.
The suggested solution above didn't work for me.
Can we have a real FIX for this issue?
@fackius, make sure to run npm install
or yarn
(if you use it) to download the library after adding it to your package.json
Then run react-native link
- you may need to rerun react-native run-bla
again to get the lib copied over
@jpdenford I tried it and it doesn't work! And now, because of trying that, I am having more errors and the build fails (it was working before)
4 warnings and 18 errors generated.
** BUILD FAILED **
The following build commands failed:
CompileC /Users/myuser/dev/comp/app-mobile/ios/build/Build/Intermediates/RNPDFView.build/Debug-iphonesimulator/RNPDFView.build/Objects-normal/x86_64/RNPDFViewManager.o RNPDFView/RNPDFViewManager.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/myapp.app
Launching com.myapp.myapp
com.myapp.myapp: 36581
Full log: https://gist.github.com/fackius/63adf33997c2254ee060ec8b70a5307a
Any idea?
@jpdenford now, it's working with "react-native-pdf-view": "git+https://github.com/cnjon/react-native-pdf-view.git"
Still getting Warning: Native component for "RNPDFView" does not exist on import ?
Anyone ?