PdfiumAndroid relies on pretty old versions of PDFium. PdfiumAndroidKt is a rewrite of that library in Kotlin with updated native libraries. It also depends on API 21.
This PR:
Updates the minimum SDK to 21 to match PdfiumAndroidKt.
Updates the compile and target SDKs to 34 and makes necessary compat changes.
Updates the AndroidX dependencies.
Replaces JCenter repository declarations with Maven Central.
Updates AGP to 7.4.2.
Replaces the PdfiumAndroid dependency with PdfiumAndroidKt.
Updates imports as necessary to reference PdfiumAndroidKt instead of PdfiumAndroid.
Adds a JitPack config file so the library can successfully build.
Consumers of the library (e.g., react-native-pdf) will need to update any transitive imports of PdfiumAndroid to PdfiumAndroidKt when updating to a version containing the changes in this PR.
This is a breaking change to the library.
PdfiumAndroid relies on pretty old versions of PDFium. PdfiumAndroidKt is a rewrite of that library in Kotlin with updated native libraries. It also depends on API 21.
This PR:
Consumers of the library (e.g.,
react-native-pdf
) will need to update any transitive imports of PdfiumAndroid to PdfiumAndroidKt when updating to a version containing the changes in this PR.