ionic3file-transfersocialshare

Is there any way to provide share option after download file using file transfer plugin


I have a file on server and i download it from server using file transfer plugin and open it using fileopen plugin but it having issue on some devices that downloaded file not open. and how to provide social sharing option after download the file.

Thanks in advance


Solution

  • I don't have any idea about sharing a downloaded file using Ionic3.
    But you can try following steps:

    1. Download a file at a specific path like WhatsApp data. (for your project lets say com.project.com and then in Download folder).
    2. Open a downloaded file using phone's default application. Most of the reader application comes with share and edit option. They will share your file wherever you want.