Giter Site home page Giter Site logo

Comments (9)

asiby avatar asiby commented on June 3, 2024 2

I am simply detaching the delegate when I am moving away from the corresponding viewControllers, then I am re-attaching them when the app navigates back to it.

Also, I would like to add that I have been using this in a NativeScript app. So I doubt that my code will be of any use to you if you are using it in Object C or Swift.

Hopefully this helps.

from mzdownloadmanager.

asiby avatar asiby commented on June 3, 2024

Wouldn't it be easier to implement MZDownloadManagerDelegate after recreating the view controller? That way, you will receive all the updates from all the active downloads.

from mzdownloadmanager.

DipyaChandniDas avatar DipyaChandniDas commented on June 3, 2024

@asiby
Could you please let me know how to do this?

I am facing the same issue. When click on download, it starts, it can cancel there, if I go back to previous page, and then come back, I am not able to see the download progress as well. If at all I try to cancel the task by getting the task through index, it is not getting started again, its messed up there.

from mzdownloadmanager.

xtreme8210 avatar xtreme8210 commented on June 3, 2024

hi @asiby
Could you please show us how do you attach & detach the delegate?
Thank you very much

from mzdownloadmanager.

asiby avatar asiby commented on June 3, 2024

from mzdownloadmanager.

shivgolani avatar shivgolani commented on June 3, 2024

@asiby I want to integrate MZDownloadManager in my Nativescript App could you please help me with that I'm unable to generate ts typing for this library.

from mzdownloadmanager.

asiby avatar asiby commented on June 3, 2024

from mzdownloadmanager.

shivgolani avatar shivgolani commented on June 3, 2024

@asiby Thank you for the response. We are struggling iOS background downloads. If we could integrate this plugin it would be great. Any help would be appreciated.

from mzdownloadmanager.

asiby avatar asiby commented on June 3, 2024

Hi guys. Bad news. I couldn't find the code I had originally written. And I don't really have any time to rewrite it at this moment. Sorry guys.

from mzdownloadmanager.

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.