CrossPT / flutter_plugin_pdf_viewer

A flutter plugin for handling PDF files. Works on both Android & iOS
BSD 3-Clause "New" or "Revised" License
91 stars 323 forks source link

Problem with dependencies (RxDart) #39

Open KnucklesEQ opened 5 years ago

KnucklesEQ commented 5 years ago

Using 'flutter pub get' I have the following error in my project:

Because no versions of flutter_plugin_pdf_viewer match >1.0.7 <2.0.0 and flutter_plugin_pdf_viewer 1.0.7 depends on rxdart ^0.21.0, flutter_plugin_pdf_viewer ^1.0.7 requires rxdart ^0.21.0. And because bloc >=0.13.0 depends on rxdart ^0.22.0, flutter_plugin_pdf_viewer ^1.0.7 is incompatible with bloc >=0.13.0. So, because PROJECT_NAME depends on both bloc ^0.15.0 and flutter_plugin_pdf_viewer ^1.0.7, version solving failed.

I supose you should upgrade the version of RxDart that are actually using.

If someone has the same problem, and meanwhile this is not fixed, you have to use a previous version of bloc (0.12) and flutter_bloc (0.12)

iamriajul commented 5 years ago

Please Fix this Issue.