-
Notifications
You must be signed in to change notification settings - Fork 567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FileDownload catch issue #1698
Comments
This issue needs more information before it can be addressed. Please see the Contributing Guide for how to create a Sample App. Thanks! |
I don't think this needs further reproduction. Just take a non-existent URL, for example "https://capacitorjs.com/test/test.zip" and start the download. Even tho the URL is not existent, something is being saved to the filesystem |
This issue needs more information before it can be addressed. Please see the Contributing Guide for how to create a Sample App. Thanks! |
I mean, i hope it helps? As i said, if the url leads to a 404 page, it should catch the error. |
This issue has been labeled as |
This comment was marked as off-topic.
This comment was marked as off-topic.
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 the plugin, please create a new issue and ensure the template is fully filled out. |
Bug Report
Plugin(s)
@capacitor/filesystem
Capacitor Version
Latest Dependencies:
@capacitor/cli: 5.2.2
@capacitor/core: 5.2.2
@capacitor/android: 5.2.2
@capacitor/ios: 5.2.2
Installed Dependencies:
@capacitor/cli: 5.2.2
@capacitor/core: 5.2.2
@capacitor/android: 5.2.2
@capacitor/ios: 5.2.2
Platform(s)
iOS
Current Behavior
When starting a download on iOS (via. Filesystem.downloadFile) and a non-existing url is given, catch is not being thrown.
When i start the same process on android (with the same url), the catch is being thrown.
Expected Behavior
Same behaviour on both systems.
Code Reproduction
Other Technical Details
iPhone 13 Pro - iOS 16.3.1
Additional Context
capacitor-community/http#224 - sounded a bit like it?
The text was updated successfully, but these errors were encountered: