-
Notifications
You must be signed in to change notification settings - Fork 936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems showing pdf #147
Comments
Error in android emulator:
|
Apparently it is a problem of the android webview, it is a problem that is repeated on several platforms. |
does it work for iOS platform? |
@Abgaryan In ios I had no problems with putting the url directly in some cases. |
@lgArlequin, The Webview doesn't render PDFs, unfortunately. The solution you specified works for online files, though there are are some setbacks (there's the GDrive button that you can't get rid of, etc). flutter_full_pdf_viewer is a good workaround. https://github.com/pycampers/flutter_pdf_viewer also works great, though it isn't inline yet. :) |
its work thanks |
I am opening some files with extensions such as .pdf, .mov(video of mac) and unable to open in android webview and able to open ios webview. I am accessing these files from microsoft one drive and connecting to webview to open these files. Another issue is .png files are not fitting inside one view in android webview, where as in iOS it is fitting on single screen. Since my one drive microsoft is in webview and i cannot open in flutter_pdf_viewer |
Links hosted on AWS does not work too. You guys have Any perspective when this issue will be solve? |
I have problems trying to show a pdf, in android directly it never loads them and in Ios, it depends on the server, if it is https it shows them, if it is http, it does not show them.
In apple I have no feedback.
In Android I have this the first time I run the plugin:
I'm using WebviewScaffold, but I just realized that when I try to open a fullscreen or a rect, it does not do anything (android). It also does not show any error.
Pdf examples:
http://www.pdfpdf.com/samples/Sample1.PDF (not work in android or ios)
https://www.adobe.com/support/products/enterprise/knowledgecenter/media/c4611_sample_explain.pdf (only work in ios)
Tested in Iphone 6 (ios 11.4.1), and MotoG3 (android 6.0)
This is my flutter doctor.
The text was updated successfully, but these errors were encountered: