lubritto / pdf_viewer_plugin

A Flutter plugin for IOS and Android providing a simple way to display PDFs.
MIT License
57 stars 62 forks source link

Is there anyone else with an error updating the component version? (1.0.1 - Dec 10, 2020) #46

Closed GustavoFior closed 3 years ago

GustavoFior commented 3 years ago

C:\flutter.pub-cache\hosted\pub.dartlang.org\pdf_viewer_plugin-1.0.1\android\src\main\java\com\example\pdfviewerplugin\PdfViewer.java:25: error: cannot find symbol Intent i = new Intent(this, Wakeup.class); symbol: class Intent location: class PdfViewer

lubritto commented 3 years ago

Hey @GustavoFior, sorry for this. I just accept a PR and goes with this problem. I already fix it in the last version and updated the platform view implementation. Now you can set PdfView.platform = SurfaceAndroidPdfViewer(); to avoid hot reload problems.