rumax / react-native-PDFView

📚 PDF viewer for React Native
MIT License
300 stars 92 forks source link

support rn 71.1 project not found #242

Open ajiehatajie opened 1 year ago

ajiehatajie commented 1 year ago

RN 71.1

 What went wrong:
Could not determine the dependencies of task ':app:minifyDevReleaseWithR8'.
> Could not resolve all task dependencies for configuration ':app:devReleaseRuntimeClasspath'.
   > Could not find com.github.mhiew:android-pdf-viewer:3.1.0-beta.1.
     Searched in the following locations:
       - https://oss.sonatype.org/content/repositories/snapshots/com/github/mhiew/android-pdf-viewer/3.1.0-beta.1/android-pdf-viewer-3.1.0-beta.1.pom
       - https://repo.maven.apache.org/maven2/com/github/mhiew/android-pdf-viewer/3.1.0-beta.1/android-pdf-viewer-3.1.0-beta.1.pom
       - file:/Users/legit-group/Documents/Works/Ismaya/kantor/fooma-apps/node_modules/jsc-android/dist/com/github/mhiew/android-pdf-viewer/3.1.0-beta.1/android-pdf-viewer-3.1.0-beta.1.pom
       - https://dl.google.com/dl/android/maven2/com/github/mhiew/android-pdf-viewer/3.1.0-beta.1/android-pdf-viewer-3.1.0-beta.1.pom
       - https://www.jitpack.io/com/github/mhiew/android-pdf-viewer/3.1.0-beta.1/android-pdf-viewer-3.1.0-beta.1.pom
     Required by:
         project :app > project :react-native-view-pdf

* Try:
denialfarizi1 commented 1 year ago

I added this to my build.gradle, hope it helps

buildscript {
    ext {
        ...
        pdfViewerVersion = "3.2.0-beta.1"
        pdfViewerRepo = "com.github.mhiew"
    }
}
stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

dhaivatkhanpara commented 1 week ago

Not working