[iOS] - App crashes when URL given to downloadFile returns 404
When trying to download a file from bad URL my app crashes with the following error:
* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]'
Please advise.
A temporary fix was validating the URL beforehand using fetch. Causes bad performance though..
same as me on IOS.
i have this error and crash too
I have no time to fix this at the moment, but a proper PR is always welcome :)
I am facing the same issue on windows, anyone fixed this?