Lowe B
Lowe B

Reputation: 89

Download files and/or display pdf through inAppBrowser

I successfully added the inAppBrowser Plugin to my Cordova (Ionic) app, but browsing through pages in the link I cannot download files or display PDFs, even though I can in other pages of my app (not in the iAB).

I tried to debug the plugin with adb, but i could not find anything.

Anyone has a solution for this?

Upvotes: 1

Views: 2356

Answers (1)

Andrew Berry
Andrew Berry

Reputation: 863

I have had issues with the inAppBrowser and PDF's.

The current way I am doing it is by using a document viewer plugin: https://github.com/sitewaerts/cordova-plugin-document-viewer

It isn't ideal as it uses a 2nd app to display the PDF, but it's good enough for now. My aim is to eventually develop my own solution using PDF.js

Upvotes: 2

Related Questions