fluttercommunity / fluttercommunity/flutter_downloader

Set showNotification to false does not work in iOS

Open
#775 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
940
Forks
561
Avg merge
1h 18m
Merged PRs (30d)
1

Description

Hi,
Since we do not want to notify user that the video download is finished, when creating download task, showNotification is set to false in this way:
FlutterDownloader.enqueue(
url: widget.videoUrl,
savedDir: saveDir,
fileName: videoFilename,
**showNotification: false**);
But it does not work.

Steps to reproduce the behavior:
1. Open the app, the video starts downloading
2. Press the home button to make the app run in the background
3. After a while, a notification appears on the top

Seems setting showNotification to false does not work in iOS.

- Device: iPhone 8
- OS: iOS 15.5
- plugin version: 1.7.4

Thanks a lot!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with FlutterDownloader.enqueue and showNotification: false on iOS, following the listed background-download steps. Confirm whether a notification appears after the app is sent to the background; done means the download completes without showing a notification.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, ios
Domain
mobile
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.