pdf_viewer_plugin icon indicating copy to clipboard operation
pdf_viewer_plugin copied to clipboard

Update AndroidPdfViewer Dependency to 3.1.0-beta.1

Open matiasdev30 opened this issue 1 year ago • 2 comments

The plugin currently depends on com.github.barteksc:AndroidPdfViewer:3.0.0-beta.4, but the latest available version is 3.1.0-beta.1 (published on JitPack).

Depending on the outdated 3.0.0-beta.4 version causes build conflicts and missing features available in the new version.

To Reproduce

Steps to reproduce the behavior: 1. Integrate the plugin into a Flutter project. 2. Attempt to build or resolve dependencies. 3. See the warning or errors related to old AndroidPdfViewer versions.

Expected behavior

The plugin should use the latest stable or beta version available unless there is a known incompatibility.

Suggested fix

Update the plugin’s build.gradle to force the dependency version:

implementation 'com.github.barteksc:AndroidPdfViewer:3.1.0-beta.1'

Or at least expose a way for users to override it safely without needing hacks in build.gradle.

Additional context

Reference to JitPack repo: https://jitpack.io/#barteksc/AndroidPdfViewer/3.1.0-beta.1

matiasdev30 avatar Apr 28 '25 16:04 matiasdev30