Git Product home page Git Product logo

Comments (6)

hnvn avatar hnvn commented on August 17, 2024

it's possible to navigate a user to a specific UI when the user clicks on the notification by using PendingIntent. It's easy to do on the native side, but I wonder how to do it in case of Flutter

from flutter_downloader.

marica27 avatar marica27 commented on August 17, 2024

May I ask you, why didn't you use DownloadManager for Android? It's feels like that it would be possible to open file from notification.

Apps that request downloads through this API should register a broadcast receiver for ACTION_NOTIFICATION_CLICKED to appropriately handle when the user clicks on a running download in a notification or from the downloads UI.

I have a related question. As I am not familiar with Android, I don't know default behaviour. If app downloads image does it need to register broadcast receiver to open image in standard gallery?

from flutter_downloader.

hnvn avatar hnvn commented on August 17, 2024

WorkManager gives me more controlling of my downloading task, for example: tracking the progress of downloading, customizing the UI of notification and handling click on the notification. My library is lack of handling for an action of clicking on the notification of a completed download task. I have a plan to update for this feature but I want to find a proper way to deal with it friendly for Flutter. Opening an application to view the downloaded file is just a use-case, some people would like to drive user back to Flutter activity. I will try and update it as soon as possible. Thanks for your feedback.

from flutter_downloader.

hnvn avatar hnvn commented on August 17, 2024

This feature is supported in new version. Thanks for for your feedback.

from flutter_downloader.

Tanvir3488 avatar Tanvir3488 commented on August 17, 2024

I have Follow This instruction properly this file download showing in the notification But Not opening that file & i can find downloaded file in file manager can you please help

from flutter_downloader.

Akshat7321 avatar Akshat7321 commented on August 17, 2024

Is the issue resolved ? I still cannot open my pdf file by clicking on notification. It is being downloaded and I can view it in data folder of my application

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.