Setting showNotification to false doesn't work. Still shows notification. [Android]
gmaggio opened this issue · 1 comments
gmaggio commented
Setting showNotification
to false
doesn't work. The notification still shows.
await FlutterDownloader.enqueue(
url: fileUrl,
headers: {},
savedDir: path,
saveInPublicStorage: true,
fileName: '$id.pdf',
showNotification: false,
openFileFromNotification: false,
)
Expected behavior
The notification should not show.
Screenshots
flutter_downloader 1.11.3
[✓] Flutter (Channel stable, 3.13.4, on macOS 13.4.1 22F82 darwin-arm64, locale en-ID)
• Flutter version 3.13.4 on channel stable at /Users/upbanx/dev/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 367f9ea16b (4 weeks ago), 2023-09-12 23:27:53 -0500
• Engine revision 9064459a8b
• Dart version 3.1.2
• DevTools version 2.25.0
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at /Users/upbanx/Library/Android/sdk
• Platform android-34, build-tools 33.0.0
• ANDROID_HOME = /Users/upbanx/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E300c
• CocoaPods version 1.12.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
[✓] VS Code (version 1.83.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.74.0
[✓] Connected device (3 available)
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 13 (API 33) (emulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 13.4.1 22F82 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 117.0.5938.149
[✓] Network resources
• All expected network resources are available.
salmaahhmed commented
@gmaggio thanks for spotting the issue i will take a look on it. If you have a proposed solution as well feel free to open a pr thanks!