download link to pdf file not work

  1. 8 months ago

    I have been playing with the program and made my site into an APP.
    But if a click/push on the link what is a link to a pdf file I get a spinning circle that will not go away.
    Any solution?

  2. admin

    26 Oct 2021 Administrator

    You need to debug your app to check console error and get to know the exact issue:
    https://websitetoapk.com/docs/debugging-with-chrome.html

  3. 5 months ago
    Edited 5 months ago by DevWithCoffee

    Ask the website developer to use the download attribute in the link to PDF files.

    That's why:

    <a download="filename.pdf" href="pathurl/filename.pdf">LINK</a>

    Example:

    <a download="book1.pdf" href="https://mysite.me/encryptedpath/keyasdasdasd?redirect">Download</a>

    It may not work for customers with Android devices older than version 5.1, this is due to the WebView version.

    If that doesn't work, the webmaster will need to modify the htaccess file to force direct download of files in specific formats:
    Stack Overflow

 

or Sign Up to reply!