Force download files on iOS

    • Frank
      Participant
      # 2 years, 11 months ago

      Hello, hope your doing fine.

      I have install your plugin on a PWA site.

      Using the PWA: Android users can see their private files and download them without problem, but not for iOS users, they can’t download the file just see them.

      On the image I attach you can see the pdf open but theres no navigation and users can’t go back nor share the document.

      With Android, when users click the download button it works fine, it downloads.

      For iOS users, when they click on download it doesn’t not downloading but instead it opens on safari.

      Please, any idea of how to force (only for iOS users) to download the documents? I don’t want to open on safari the document.

      Any suggest? Thanks in advance

    • # 2 years, 10 months ago

      Hi,

      I have no idea what could be the issue on that browser. If you find a workaround, do not hesitate to let us know.

      All this is handled by the function « output_file » of customer-area/src/php/core-addons/private-file/private-file-default-handlers.class.php

Viewing 1 reply thread

The topic ‘Force download files on iOS’ is closed to new replies.