You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Large File Support
Due to the nature of the bridge, parsing and transferring large amount of data from native to the web can cause issues. Support for downloading and uploading files to the native device is planned to be added to the @capacitor/filesystem plugin in the near future.
At the same time Filesystem.downloadFile() doc needs to be improved, as it is totally missing all the HttpOptions from CapacitorHttp, currently only shows path and directory as parameters, but something like url is probably needed for a download ;-)
Some note in the other direction on how to enable CapacitorHttp for Filesystem.downloadFile() might help, too.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 6.0.0
@capacitor/core: 6.0.0
@capacitor/android: 6.0.0
@capacitor/ios: 6.0.0
Installed Dependencies:
@capacitor/android: not installed
@capacitor/cli: 6.0.0
@capacitor/core: 6.0.0
@capacitor/ios: 6.0.0
[success] iOS looking great! 👌
Other API Details
No response
Platforms Affected
Current Behavior
Current CapacitorHttp doc states:
Expected Behavior
Instead it should probably be updated and link to Filesystem.downloadFile() doc.
At the same time Filesystem.downloadFile() doc needs to be improved, as it is totally missing all the HttpOptions from CapacitorHttp, currently only shows
path
anddirectory
as parameters, but something likeurl
is probably needed for a download ;-)Some note in the other direction on how to enable
CapacitorHttp
forFilesystem.downloadFile()
might help, too.Project Reproduction
https://forum.ionicframework.com/t/how-to-use-filesystem-downloadfile-how-to-set-url/241420
Additional Information
No response
The text was updated successfully, but these errors were encountered: