Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flutter_plugin_pdf_viewer 1.0.7 depends on flutter_advanced_networkimage ^0.5.0 and no versions of flutter_plugin_pdf_viewer match >1.0.7 <2.0.0 #71

Open
minhduc1827 opened this issue May 9, 2020 · 7 comments

Comments

@minhduc1827
Copy link

No description provided.

@M6268
Copy link

M6268 commented May 11, 2020

same issue

@aarjan
Copy link

aarjan commented May 11, 2020

Same issue.
While upgrading flutter to 1.7. The flutter_svg v0.13.0 fails.
I can't upgrade the flutter_svg since, this package is dependent on that specific version.

@michaelmairegger
Copy link

Same issue here when using flutter_plugin_pdf_viewer in connection with cached_network_image. If i update cached_network_image beyond 2.0.0 then pub get fails

@ShubhamKarki
Copy link

Same Issue here

Because flutter_advanced_networkimage 0.5.0 depends on flutter_svg ^0.13.0 and no versions of flutter_advanced_networkimage match >0.5.0 <0.6.0, flutter_advanced_networkimage ^0.5.0 requires flutter_svg ^0.13.0.

And because flutter_plugin_pdf_viewer 1.0.7 depends on flutter_advanced_networkimage ^0.5.0, flutter_plugin_pdf_viewer 1.0.7 requires flutter_svg ^0.13.0.

So, because app depends on both flutter_plugin_pdf_viewer 1.0.7 and flutter_svg 0.17.3, version solving failed.
pub get failed (1; So, because app depends on both flutter_plugin_pdf_viewer 1.0.7 and flutter_svg 0.17.3, version solving failed.)

fabiancrx added a commit to fabiancrx/flutter_plugin_pdf_viewer that referenced this issue Jun 23, 2020
feat: customizable FloatingActionButton
@fabiancrx
Copy link

Had the same issue, and package author does not seem likely to respond so I forked the project and fixed the dependencies problem to have it running.
If you are in need just add this to your pubspec.yaml.

  flutter_plugin_pdf_viewer:
    git: https://github.com/fabiancrx/flutter_plugin_pdf_viewer.git

It is fully functional, tested with flutter 1.17.0

@premy
Copy link

premy commented Aug 3, 2020

Thanks @fabiancrx

@premy
Copy link

premy commented Aug 3, 2020

@fabiancrx When there's only 1 page in the pdf file, the picker crashes the app. And also I would like to localize the picker dialog (it says 'Pick a image' and I would like to show that in portuguese, since the app is going to be used in Brazil). Could you pls provide me some instructions on how to fork it and apply these changes (since I guess you're ok with the english dialog)? I've never done anything like this before. Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants