Comments (6)
Fixed in V5.4.5
from background_downloader.
Thanks for submitting. The location where this happens is where the url you provided as a String (your contenUrl) is converted to a URL object. That conversion fails, causing nil, then causing the unwrap error. I will change the code to catch this error more gracefully, but it also is likely that the contentUrl you use is not a proper url. Can you share or verify? In particular, if the url contains special characters, is it urlEncoded?
from background_downloader.
Try the latest dev branch to see what error you get:
background_downloader:
git:
url: https://github.com/781flyingdutchman/background_downloader.git
ref: dev
from background_downloader.
Ahh right WWW_FCTC_W1 D2 S3 - Your Starting Point.mp3
url returned by backend contains spaces but Android handles it with ease.
I'll try with the dev and let you know in a second
from background_downloader.
Yeah the error was displayed to the console tomorow I'll add the additional url encoding before download request
from background_downloader.
Yep, the URL and any query parameters must be url encoded. Thanks for pointing out the inelegant error though!
from background_downloader.
Related Issues (20)
- Please add download with encrypt save file HOT 2
- Download file and encrypted file that can only view in my flutter application HOT 1
- Monthly issue metrics report for opened issues and prs
- Monthly issue metrics report for closed issues and prs
- Error for taskId 1: Cleartext HTTP traffic to commondatastorage.googleapis.com not permitted HOT 2
- Download paused percent is wrong show HOT 1
- How to download multiple list and record. HOT 1
- Warning in compiling project for Android HOT 4
- Inquiry about target platform requirements for windows HOT 2
- Feature Request: Uploading in Chunks, adding Offset/Length arguments HOT 6
- How can I download an M3U8 file and subsequently download all its TS segments? HOT 1
- Plugin does not provide a `kotlin_version` anymore? HOT 1
- How can i stop show Notification for some tasks HOT 2
- DownloadTask: How to pass POST request body HOT 1
- FileDownloader().download takes a lot of time(around 14 seconds ) in downloading an image of 3-5mbs of size HOT 1
- Monthly issue metrics report for opened issues and prs
- Monthly issue metrics report for closed issues and prs
- change file after downloaded to download dir of ios && sound for notification in android & ios HOT 3
- how to upload tow files in the same endpoint HOT 2
- chunked Uploader HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from background_downloader.