fluttercommunity / fluttercommunity/flutter_downloader

openFileFromNotification not working

Open
#466 7 comments 11 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
940
Forks
561
Avg merge
1h 18m
Merged PRs (30d)
1

Description

When download is finished, the notification show a Complete status, when i click on it, it doesn't open the file.
Here's my code:

### app.dart
```
FlutterDownloader.enqueue(
url: url,
headers: {'Authorization': user.token},
fileName: fileName,
savedDir: localPath,
showNotification: true,
openFileFromNotification: true,
);
```

### AndroidManifest.xml
```


....
....



```

What can be the problem?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the completed-notification tap using the code in app.dart and the provider configuration in AndroidManifest.xml. Check whether the download completes and whether the configured provider can open the saved file; done means tapping the notification opens that downloaded file on the affected Android setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, dart
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.