Questions tagged [flutter-local-notification]
270 questions
4
votes
1 answer
How to keep get notification using awesome package after app is terminated in Flutter?
I am using awesome package for notification i want to know how to keep get notification while app is terminated.

Abdelrahman Bahig
- 75
- 1
- 9
4
votes
2 answers
Display Local Notifications on Flutter the moment the App goes to the background
For some weird reasons I can't get notifications displayed on my flutter app the moment the app is exited.
What I want is that the moment the user exists the app I want to display a notification to tell the user that the app has currently gone into…

ololo
- 1,326
- 2
- 14
- 47
3
votes
2 answers
Show flutter local notification when firebase notification received in foreground and background
I am trying to show flutter local notification when receiving firebase notification in background, foreground and terminated states of app. i am trying to resolve this using work manager package and it is working like a charm in android. it works in…

Karen Ghazaryan
- 108
- 7
3
votes
0 answers
Firebase Push Notification is Not working Properly
i have implemented firebase push notification in my project with payload json,
I have done all the configurations and now when i click on the notification, it works sometimes perfectly but sometimes the redirection just doesn't work, let's say if i…

Swatantra Singh
- 105
- 8
3
votes
2 answers
The backgroundHandler needs to be either a static function or a top level function to be accessible as a Flutter entry point
hey guys when I use onDidReceiveBackgroundNotificationResponse in flutter_local_notification I got an error can someone help me?
here is error
here is my code
actually I want navigate to second page after user select my notification in background…

EmirBashiri
- 53
- 1
- 4
3
votes
1 answer
The argument type 'Future Function(String?)' can't be assigned to the parameter type 'void Function(NotificationResponse)?
I'm trying to include local notifications in my Flutter project using the latest version flutter_local_notifications: ^13.0.0, and I have this error:
The argument type 'Future Function(String?)' can't be assigned to the parameter type 'void…

Programmer2B
- 552
- 3
- 14
3
votes
0 answers
Android API 31 level causes error for Flutter local notifications in the app
As per Google's policy, I updated my targetSdkVersion and compileSdkVersion to 31. But I noticed that the Flutter local notification package now throws error for incoming messages as below:
Targeting S+ (version 31 and above) requires that one of…

Gaurangi
- 31
- 2
3
votes
1 answer
how to change icon on Android notification tray using flutter local notification?
I am using flutter local notification to show notification on my app locally (not FCM).
I can show the icon of my app on the status bar like this on my Android app
but when I open the Android notification tray, the icon is just white, it doesn't…

Alexa289
- 8,089
- 10
- 74
- 178
3
votes
0 answers
How can I use only Local Notification and prevent the automatic popup using Firebase Messaging on Ios with Flutter
I'm trying to use Local Notification on Flutter with an Ios device, it works, but the notification popup is shown two times, because one is from my flutterLocalNotificationsPlugin.show(...) and one is showed automatically when a notification is…

SciFi
- 119
- 7
3
votes
0 answers
Flutter local notification doesn't work and gives me PlatformException
I am trying to show notifications in my Flutter app but I am getting this exception:
Unhandled Exception: PlatformException(error, Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference, null,…

Henrique Tavolaro
- 491
- 5
- 16
3
votes
1 answer
How to send push notification in flutter, so that it will not stay in system tray? Or delete it from system tray after showing up
The app is in the foreground. I am showing a local notification to the user. After showing up, I don't want the user to see this notification in the system tray. Can this package or other allow me to send notification without entering to the system…

Akbar Pulatov
- 2,955
- 2
- 16
- 33
3
votes
1 answer
Flutter: Create a pdf file, show download notification and Open it when user click on notification
I am working on a flutter app. I am creating a pdf file in the "Downloads" folder, after creating the file in the "Downloads" folder, showing a notification "Download Completed" using the "local_notification" plugin.
Now I want to show that pdf when…

user1595266
- 85
- 3
- 12
3
votes
0 answers
How to implement Repeated alert sound notification in flutter Timer app
I've been developing my very first timer app, and now it kinda work both in iOS and android platform.
When the time's up, I use flutter_local_notification to play alert and sound. But it the sound doesn't repeat as the actual timer app. It only…

tharhtookyaw
- 71
- 3
3
votes
3 answers
Show local notification when the app is opened in iOS
I'm using flutter_local_notifications package and it's showing notifications when the app is opened (foreground) in Android but not in the iOS. The docs says:
For iOS 10+, use the presentation options to control the behaviour for when a…

iDecode
- 22,623
- 19
- 99
- 186
3
votes
3 answers
How to schedule notification at specific time using awesome package in Flutter?
I am using an awesome Package and am trying to make a notification at a specific time using this package.
Future showNotificationWithIconsAndActionButtons(int id) async {
AwesomeNotifications().initialize(
'',
[
…

Abdelrahman Bahig
- 75
- 1
- 9