flutter_downloader icon indicating copy to clipboard operation
flutter_downloader copied to clipboard

flutter_downloader local network

Open windysinaga opened this issue 2 years ago • 2 comments

I just started using flutter and tried the file download feature using the flutter_downloader plugin. When this plugin is used and there is internet access, the feature runs. But when this plugin is used on a local network, this feature doesn't work. The data/files to be downloaded are on the local network.

Has anyone experienced this, and is it really necessary to use the flutter_downloader plugin with internet access? I tried to read the documentation, and there doesn't seem to be any explanation regarding this. Thank you.

windysinaga avatar Jan 16 '23 05:01 windysinaga

Local resources should be no problem as long those have valid TLS certificates and here is most likely your issue. I think in the readme is a hint how to bypass the encryption requirements.

rekire avatar Jan 18 '23 05:01 rekire

You should use ignoreSSL: true in the plugin inizialization in main.dart

lucaantonelli avatar Jan 30 '23 08:01 lucaantonelli