Questions tagged [flutter-local-notification]
270 questions
0
votes
1 answer
Notification not triggering for a time(FLutter)
How do I trigger a notification for a particular time period using flutter_local_notification pacakage. I tried out the tutorial on pub.dev but I am still not able to do it. Someone, please help.
Here is my try to trigger it at 4:23 pm.
…

Shashwat Singh
- 21
- 2
0
votes
1 answer
Flutter Local notifications - ZonedSchedule notification is not working while the app in background
I'm using Flutter local notification plugin for alarm app, the alarm fire when the app is opened or closed but when it's in the background it's not working until it resumed even it's not at the correct time, I know it's a strange thing but it's…

Ramez Sleem
- 53
- 1
- 6
0
votes
0 answers
How to invoke a screen when flutter_local_notification is triggered?
I have implemented a scheduled notification using flutter_local_notifications. How to perform a function or invoke a screen when a scheduled notification is triggered?

Agnel Selvan
- 109
- 2
- 8
0
votes
1 answer
how to create a notification with small image using a String image path in Flutter?
I have tried to watch a lot of tutorials that show how to implement natification with big picture using big picture style information like this
var bigPictureStyleInformation = BigPictureStyleInformation(
…

Alexa289
- 8,089
- 10
- 74
- 178
0
votes
0 answers
setting several scheduled Notifications in flutter doesn't work
I changed the id to a randomly generated number but still after I schedule one notification and then another one the first one won't be shown.
(I need these old versions because of other version issues)
flutter_local_notifications: ^1.4.4+4
rxdart:…

Felix
- 113
- 2
- 10
0
votes
0 answers
Error displaying local notifications in Flutter
I am using the flutter_local_notifications plugin and the default boilerplate app.
This is the code that I'm using-
import 'package:flutter/material.dart';
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
void main()…

Anshul Raj
- 63
- 1
- 4
- 13
0
votes
1 answer
Flutter Local Notifications Plugin: createNotificationChannel function not working
I am trying to create an android notification channel with flutter_local_notifications: ^5.0.0+4
Put it looks like it does not work as should be.
I wrote a code using getNotificationChannels to verify if the channel was created successfully
Please…

Appoodeh
- 104
- 1
- 8
0
votes
0 answers
Notification sound does not work in flutter flutter_local_notifications
Future scheduleAlarmWithSound(Task task) async {
final exists = await _checkIfAlreadyScheduled(task.id);
if (exists) return;
var scheduleNotificationDateTime =
DateTime.fromMillisecondsSinceEpoch(task.endTime);
const…

Tech Trivia
- 65
- 1
- 6
0
votes
2 answers
Flutter Local Notification onSelectNotification function argument type can't be assinged
I am using Local Notifications for my app and I am trying to set up the onSelectNotification but I can not make it work. This is how I init:
Future initialize() async {
FlutterLocalNotificationsPlugin flutterLocalNotificationsPlugin =
…

Chris
- 1,828
- 6
- 40
- 108
0
votes
2 answers
Flutter Local Notification only showing dot on Android
I am using Local Notifications for my app and it is working fine on my iPhone but when firing a Notification on my Android Simulator it is not showing the Notification on top of the screen but only the dot:
The Notification actually appears fine in…

Chris
- 1,828
- 6
- 40
- 108
-1
votes
1 answer
flutter_local_notification code no longer working
My push notification code was working as of yesterday but now I'm getting error for SelectNotificationCallback.
I've added a screenshot of the code below.
-1
votes
1 answer
flutter local notification if i turn off the phone
I wanted to use this package (https://pub.dev/packages/flutter_local_notifications) to schedule local notifications on my app.
I know it is possible to show them even if the app is turned off; but if I restart the phone will the notifications that…

CastoldiG
- 178
- 3
- 17
-1
votes
2 answers
required to specify an explicit value for `android:exported` in the Debug/androidMenifest.xml for flutter_local_notification
The error shows that I need to add android:exported in the debug/androidMenifest.xml . But there is no activity defined the file . so I am not sure what can I do . I tried changing the compileSDK version in the build.gradle but that also didnt to…

vikrant yadav
- 37
- 10
-1
votes
1 answer
How to show local notifications on lock screen by default in flutter
Is there a way to show local notifications on the lockscreen by default? I've added the permissions but it's only showing up when I manually allow it in settings. By default it'll only use vibration and sound and stay tucked in the notifications…

zinbrox
- 103
- 1
- 7