Could not find com.github.barteksc:android-pdf-viewer:2.8.2.
Describe the bug A clear and concise description of what the bug is. There is error when trying to run in expo:
Could not find com.github.barteksc:android-pdf-viewer:2.8.2.
To Reproduce just run expo run:android with react-native-view-pdf version: 0.14.0
- [ ] I checked the demo project and cannot reproduce the issue
- [ ] I checked the demo project and the issue exists
Steps to reproduce the behavior:
- Render PDF with '...'
- Other actions '...'
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
I've hit the same issue. I think we have to do this as explained in the project README:
It looks like it's gone from JCenter (permanently or temporarily I'm not sure)
You often replace. :
def pdfViewerVersion = safeExtGet('pdfViewerVersion', '2.8.2') def pdfViewerRepo = safeExtGet('pdfViewerRepo', 'com.github.barteksc')
with:
def pdfViewerVersion = safeExtGet('pdfViewerVersion', '3.2.0-beta.1') def pdfViewerRepo = safeExtGet('pdfViewerRepo', 'com.github.mhiew')
in the node_modules/react-native-view-pdf/android/build.gradle file.