endigo / flutter_pdfview

PDF view for Flutter
https://pub.dev/packages/flutter_pdfview
MIT License
260 stars 211 forks source link

Problem with building - conflict with file_picker ^4.2.3 #157

Open l1z0b opened 2 years ago

l1z0b commented 2 years ago

When doing flutter run I get this error:

flutter doctor results: Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 2.5.3, on macOS 11.5 20G71 darwin-x64, locale it-IT) [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3) [✓] Xcode - develop for iOS and macOS [✓] Chrome - develop for the web [✓] Android Studio (version 2020.3) [✓] VS Code (version 1.57.1) [✓] Connected device (3 available)

• No issues found!

I noticed that if I downgrade the file_picker package to the 3.04 version it works without problems but if I upgrade it I get this error, I decided to open an issue here because the error says that is a flutter_pdfview problem. Let me know if I can solve this issue, thank you in advance.

vicelikedust commented 2 years ago

I'm thankful you posted this, I was having the same issue. Downgrading fixed my compile error as well.

l1z0b commented 2 years ago

I'm still having this issue even with the new versions... is there someone that resolved this other than downgrading?