ScerIO / packages.flutter

👨‍💻 Plugins and packages for Flutter framework
https://pub.dev/publishers/serge.software/packages
MIT License
437 stars 420 forks source link

Publish new version to pub.dev #467

Closed eliudio closed 6 months ago

eliudio commented 6 months ago

This is now a real problem: https://stackoverflow.com/questions/77517742/error-type-decodercallback-not-found-imagestreamcompleter-loadpdfpageimagep

Flutter upgrade has happened, and DecoderCallback is depricated. However, the current version on pub.dev of pdfx 2.5.0 still contains references to DecoderCallback. So ones people - like me - upgrade flutter, pdfx breaks.

As the solution on stackoverflow shows, referring to the version on git fixes the problem.

Also works is forking / cloning your version and referencing from local disk.

However, neither of these solutiosn allow people to be used in packages that need to be published to pub.dev also: these require actual packages available on pub.dev

So, hence: please publish the latest master version of pdfx to pub.dev

ManuelRauber commented 6 months ago

There is already a long discussion about this, see #463 - please close this issue @eliudio.