Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11504 Reply

    Lars

    Hi,
    we want to use your SDK in one of our apps to view PDF documents directly by providing a url to a specific file served via https.
    During our investigation we stumbled over the method “openURL”.

    Our backend service provides urls using TLS 1.1+.
    In our app we want to support Android 4.1+
    It is possible to use TLS 1.1 on Android 4.1+, but you need to enable that feature explicitly on the ssl socket. In Android 5.0+ this is enabled by default.

    Could you please provide some mechanism to customize your http client or even use a totally different one (our own instance)? Maybe you can let us hook in into the download stream/flow by using a callback/stream api or something similar?

    Another idea of ours was to extend your ReaderView class and implement our own method for online PDFs. But for that we have some constraints regarding private/final member variables/methods given by your library that won’t let us integrate in a good way.

    Do you have a suggestion how we can proceed?

    Is it planned in a future release of your SDK to provide a streaming like feature for seeking through a PDF file and displaying pages without even downloading it completely as a file?

    Kind regards
    Lars

    #11514 Reply

    Dr. Plug
    Moderator

    Hello Lars

    Thank you for sending us your question.

    Actually, this is the first issue report about TLS 1.1+.
    Could you provide us your https URL for reproducing?
    And then, we will let you know our plan about the issue.

    We appreciate your interest in the PlugPDF SDK.

    Best regards,
    Dr.Plug

    PlugPDF Support.

    #11518 Reply

    Lars

    Hi,

    sorry, i cannot give you an example url as all of them are within the scope of one of our products, but the error should occur in all cases where pdf files are served via TLS using an Android device with version < 5.0.

    If a user is not able to customize the internal httpclient other problems might occur using this method as well:

    – self-signed certificates, certificate pinning
    – non-configurable authentication handling (for example Basic-Auth)
    – special download headers for requests
    – …

    Kind regards,
    Lars

    #11522 Reply

    Dr. Plug
    Moderator

    Hello Lars

    Thank you again for your interest in the PlugPDF SDK.

    There are some difficulties to resolve the issue.
    So,could you ask again that question at https://plugpdf.com/contact/ ?

    Thank you for being patient.

    Best regards,
    Dr.Plug

    PlugPDF Support.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Android SDK: openURL – http client TLS 1.1
Your information: