Force download files on iOS

    • Frank
      Participant
      # il y a 2 années et 3 mois

      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

    • Vincent Mimoun-Prat
      Maître des clés
      # il y a 2 années et 2 mois

      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

Vous lisez 1 fil de discussion

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