I used the cordova-plugin-file-transfer plugin to download files to local system.
No problem for downloading, I could write into the local system
But when I try to access the files, for example to display an video downloaded in the local filesystem, my IOS device does not show any videos.
The files.toURL() correctly returns : file:///var/mobile/Containers/Data/Application/xxxxxxxxxxx/Library/Documents/u1_seq1_ac1_sp01.mp4
Looking to the container shows that the files are inside.
Even this command gives an empty video :
<videosrc=“capacitor://localhost/capacitor_file/var/mobile/Containers/Data/Application/xxxxxxxxxxx/Library/Documents/u1_seq1_ac1_sp01.mp4”/>
Any help please ? Cannot understand why I can write but no read a downloaded file to the local system.
Thanks
1 post - 1 participant