while IOS has builtin pdf support, android does not. typically you would use a javascript pdf viewer hosted in the webview.
The Webview does not display PDF
iOS is displaying pdf but android WebView does nothing.
I want to open a pdf from a web resource on WebView. But the WebView does not render the pdf. On the other hand the webpages are displayed on WebView without any problem.
2 answers
Sort by: Most helpful
-
-
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,821 Reputation points Microsoft Vendor
2024-12-18T06:00:04.4433333+00:00 Hello,
As Bruce mentioned, Android's native WebView does not support direct viewing of PDFs. You can refer to the detailed steps in this thread on how to set up Android Webivew to view PDFs.
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.