Closed santoshshinde2012 closed 7 years ago
Please check which browsers are supported for pdf.js: https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#what-browsers-are-supported
so it is not supported with ionic framework
Which mobile browser are you using?
this is hybrid based mobile application which is run internally on system webview
I solved this problem changing the reference from pdf.js to pdf.combined.js in the index.html
this is not working for hybrid mobile applications. This is able to render PDF on android but not able to render pdf on IOS.
iOS version 9.3
Edit: For iOS check if position of any parent is set as absolute. Change that to relative and it renders correctly .
I have use the your given template example in my ionic app , it test very well in browser but not in device it shows blank screen.
Why it is happening ?