Git Product home page Git Product logo

Comments (6)

Maxdegreat avatar Maxdegreat commented on August 17, 2024 1

ill try nd update if I resolve the issue

from flutter_downloader.

cbenhagen avatar cbenhagen commented on August 17, 2024

@hnvn I tried to dig into this issue. One thing I missed in the original report is this line which only prints when the app is being run from Xcode:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL initFileURLWithPath:]: nil string parameter'

The problem is here on line 222:
https://github.com/hnvn/flutter_downloader/blob/f8fa727c9f4a48cbf2b0d18b23feb20416fb85b6/ios/Classes/FlutterDownloaderPlugin.m#L211-L222

_downloadInfo is not being saved when the app is being suspended. So when a download finishes and the completion handler gets called we do not know where to move the file. Maybe this info can be saved in the task itself? In the session? Or should this info be saved in an SQLite db like on android?

from flutter_downloader.

hnvn avatar hnvn commented on August 17, 2024

It will be fixed in the new release.

from flutter_downloader.

bhavin-concetto avatar bhavin-concetto commented on August 17, 2024

@hnvn Is it fixed because I am getting the same error in the 1.8.4 version? Do you have any quick fixes?
@cbenhagen Have you found the solution?

from flutter_downloader.

Maxdegreat avatar Maxdegreat commented on August 17, 2024

it is not fixed

from flutter_downloader.

bhavin-concetto avatar bhavin-concetto commented on August 17, 2024

@Maxdegreat Have you able to find out?

from flutter_downloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.