Open wilz05 opened 3 years ago
I guess this package has to wait for https://github.com/endigo/flutter_pdfview/issues/154
I think they have fixed it, please check the changelog https://pub.dev/packages/flutter_pdfview/changelog
i faced same issue, pls update with newest version of package flutter_pdfview. Tks so much.
Hey everyone, since the package has not been maintained for some time and the deadline for the Android SDK is rapidly approaching. The package has been forked and updated. The repo can be found here.
Pubspec publishing is in the works, but in the meantime you're able to update your pubspec.yaml
to use it now:
flutter_cached_pdfview:
git:
url: https://github.com/BASE1com/flutter_cached_pdfview
This will help https://www.youtube.com/watch?v=gAUVz0U7eyA
Please upgrade the dependencies to the newer version, getting below error in Version ^0.4.0-nullsafety.
The plugins
flutter_pdfview
use a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to see if these plugins support the Android V2 embedding. Otherwise, consider removing them since a future release of Flutter will remove these deprecated APIs. If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.Current version • Flutter version 2.5.3 at "My flutter SDK Location" • Upstream repository https://github.com/flutter/flutter.git • Framework revision 18116933e7 (4 weeks ago), 2021-10-15 10:46:35 -0700 • Engine revision d3ea636dc5 • Dart version 2.14.4