Questions tagged [flutter-local-notification]
270 questions
3
votes
0 answers
How to call a function when the notification arrives? In flutter
I am using the plugin flutter_local_notifications 6.0.0, where the user schedules a specific time to send the database.db file
I was able to carry out the daily notification with the respective programming but I don't know where to call the function…

Moisés Ochoa
- 83
- 2
- 6
3
votes
0 answers
MissingPluginException(No implementation found for method initialize on channel dexterous.com/flutter/local_notifications)
I am trying to setup the most basic version of flutter local notifications but I keep getting this error
[ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: MissingPluginException(No implementation found for method initialize on…

anonymous-dev
- 2,897
- 9
- 48
- 112
3
votes
0 answers
Scheduled notifications not working on iOS Flutter
I'm using flutter_local_notifications to schedule notifications at specific times every day.
The user can select different time zones, it works on Android but doesn't work on iOS, as I don't have experience with iOS, I don't know how it handles…

ahmed galal
- 504
- 5
- 15
2
votes
0 answers
Playing custom sounds for flutter_local_notification
I need to play a custom alert for push notifications and I'm using flutter_local_notification. I have added an audio file in android/app/src/main/res/raw/ and also enabled playSound to true, but it still plays the default sound. Is there anything I…

Akhil
- 419
- 5
- 15
2
votes
0 answers
How to start a process on main isolate from background task
In a Flutter app, a background task can be started via a local notification (e.g. onDidReceiveBackgroundNotificationResponse from flutter_local_notifications plugin). The main isolate may or may not be active at this point and as far as my…

Geralt von Riva
- 324
- 3
- 16
2
votes
1 answer
Fcm notification shown by both Firebase_messaging sdk and flutter local notifications package in flutter
I am trying to implement push notifications in flutter, I am using firebase_messaging for that and flutter_local_notification to show notification when the app is in foreground.
I know the contents of the message sent by firebase it is as follows:
{…

Lalit Thakare
- 63
- 1
- 10
2
votes
0 answers
Flutter - How can i cancel FCM notification from ios device when app is closed?
I made an application with Flutter. The application has webrtc and users can call each other. When someone get call we send call notification with custom sound. The problem is right here. In scenarios such as the call not starting or the person not…

Yiğit ARİK
- 21
- 2
2
votes
0 answers
Flutter open file from notification without opening the app
I'm working on a flutter app which uses flutter_local_notifications.
I can create the notifications if the app is closed, but I would like to open a file when tapping on a notification.
At the moment, it is opening the app, when tapping the notif.…

Philipos D.
- 2,036
- 1
- 26
- 33
2
votes
1 answer
How can I run background code when a notification is executed with Flutter?
I am using flutter_local_notification and workmanager plugins in order to run some background code when a notification is generated (only Android). This is how flutter_local_notification is initialised:
final StreamController…

Randomize
- 8,651
- 18
- 78
- 133
2
votes
0 answers
Notification not showing when using flutter local notification with fcm (firebase messaging) when app is in background or terminated
i am using firebase messaging to deliver notifications to my app. However, my app needs some customization to our notification and wants it to support big text style notification.
to make this possible i installed flutter local notification
The…

austin
- 517
- 5
- 16
2
votes
1 answer
How to change background color of notification flutter_local_notification?
I am using the flutter_local_notification package for showing the notification. For example, I want to change the background color of notifications to blue, but using the color property in notification detail changes the text color of the App name…

Sania Developer
- 130
- 1
- 9
2
votes
0 answers
Firebase local notification in background in Flutter
I am trying to implement local Firebase notifications in background in Android with Flutter.
Following this tutorial, I was able to get my notifications successfully set up when the app is in foreground. But while the app is in background, I do see…

Praharsh Bhatt
- 556
- 5
- 24
2
votes
2 answers
do an action after click on notification flutter?
hello am trying to navigate to a second screen after clicking on notification using flutter_local_notifications
https://pub.dev/packages/flutter_local_notifications
final BehaviorSubject selectNotificationSubject =
…

ialyzaafan
- 378
- 6
- 21
2
votes
0 answers
Updateable local notification in flutter
How to show a persistent local notification which updates every second in Flutter? An example of local notification that I am trying to emulate is timer notification of clock app.
I tried using flutter_local_notifications package. One can…

Manish Wagle
- 456
- 2
- 5
- 12
2
votes
1 answer
How to create notifications in flutter with different body each day?
Right now I have a notification set up with local_notifications, problem is, it has the same body every single day.
How do I create daily notifications where the body is, for example, a random string from a list that is new each day?
This seems very…

Coder
- 340
- 1
- 9