You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2016/10/30 13:08:58 UTC

[jira] [Closed] (CB-3325) Add PDF support to the InAppBrowser within Android

     [ https://issues.apache.org/jira/browse/CB-3325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile closed CB-3325.
----------------------------
       Resolution: Won't Fix
         Assignee: jcesarmobile
    Fix Version/s:     (was: Master)

Android webview still doesn't render PDF, and Cordova it's not going to implement a PDF viewer inside the inAppBrowser, that should be a 3rd party plugin.
To use option 1, just use _system when using inAppBrowser, that should launch a 3rd party app that can handle PDFs (if there is one installed)
There are also some 3rd party plugins to launch apps that handle PDFs (file opener plugins)
So, closing the issue as won't fix

> Add PDF support to the InAppBrowser within Android
> --------------------------------------------------
>
>                 Key: CB-3325
>                 URL: https://issues.apache.org/jira/browse/CB-3325
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>    Affects Versions: 2.6.0
>         Environment: Windows 7, Eclipse v3.8.0
>            Reporter: Kelvin Dart
>            Assignee: jcesarmobile
>            Priority: Minor
>
> When I was making use of the ChildBrowser for both iOS and Android, I wrote an extra bit of code to enable PDF support for the Android version (which started up the installed PDF application if there was one).
> I also understand that the Android WebView doesn't natively support viewing a PDF document which is why it doesn't fully behave like the iOS version - but is it possible to either: 1) write similar code which, if the opened URL is directed to a PDF file, then it opens the native PDF reader or; 2) integrate a PDF view into the InAppBrowser which opens a PDF document much like InAppBrowser does on iOS.
> (1) is what I currently have working at the moment and would probably be easiest. (2) is what would be very good but I expect more difficult to achieve.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org