Questions tagged [flutter-notification]

117 questions
1
vote
2 answers

Flutter reminder app alarm notification return value

I am writing a reminder application using flutter. I want it to send notifications for the tasks entered at that date and time, even if the application is closed. Its notification should be like the phone's default alarm app. Confirmation snooze…
zey
  • 177
  • 2
  • 15
1
vote
0 answers

Flutter OneSignal does not opens app when click on notification

I have Flutter app, which works fine with OneSignal plugin, but i have one issue, when click on notification i can not open app if app is closed or runs background, but when forground it opens notification without issue. I want to open app when…
1
vote
3 answers

Notification not showing when app is closed - Flutter

I have built a todo list app where users can schedule notifications based on certain dates and hours, the notifications show up without problems when the app is in the foreground but when the app is in the background or the app is closed, they do…
Taki
  • 3,290
  • 1
  • 16
  • 41
1
vote
0 answers

Flutter Local Notification Issue with One Plus Device

The example code https://github.com/MaikuB/flutter_local_notification works differently in native devices and Chinese devices. The notification sound does not come in one plus 7T that is Android 30 also the notification UI does not come on top of…
1
vote
1 answer

Flutter - How to send push notification If the user did not logged in the app for a period of 24 hours?

I am working on a client's application using flutter, where his requirement is to send a push notification if the user did not log in to the app for a period of more than 24 hours. Is there any way this can be achieved only by flutter or should I…
1
vote
0 answers

Send push notifications in different languages using FCM

I've added FCM in my Flutter app and it works, but I can't find a way to send notifications in different languages. I saw that you can set the conditions for the language on the Firebase console when sending a new notification, but I'm not quite…
1
vote
1 answer

Why flutter local notifications give exceptions

I'm trying to send a notification with flutter on android using this dependency: "flutter_local_notifications: ^9.0.1" But it gives me this error when I click the button "test". Anyone has an idea how can I solve…
1
vote
0 answers

Flutter screen not tappable when flash is shown

I'm using the Flash package but every time when I call the showFlash function and a Flash.dialog is displayed the screen below the Flash does not detect gestures anymore, only when the flash is dismissed again. This is my flash which I call all over…
JonasLevin
  • 1,592
  • 1
  • 20
  • 50
1
vote
1 answer

Displaying widget in notification in flutter

I want to display a widget in notification using flutter. I am using the awesome_notifications package but I am not able to achieve the same. Future triggerNotification() async{ await AwesomeNotifications().createNotification( …
1
vote
2 answers

How to push notification in flutter using FCM

I'm trying to push a notification from firebase using FCM by following the code in the youtube. When run the system, I found this error: [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: PlatformException(error,…
1
vote
1 answer

How to make FCM notification not show notification message when user is on the chat screen?

I'm building a chat app and using FCM for notification. Whenever a user receives a new message, he gets a pop-up notification when the app is in the foreground. However, I would like to customize the notification such that it will not show the…
1
vote
2 answers

Flutter Awesome Notification couldn't bind a method to action button

I'm developing an app which needs to answer the notifications. I can display the button when I received the notification. However, I couldn't bind any method to it. Here is my code: Future firebaseMessagingBackgroundHandler(RemoteMessage…
1
vote
0 answers

flutter : Firebase token returning null getToken, error fetching instanceID:

I'm trying to get the FCM token using the firebase_messaging: ^7.0.3 version. Getting the error getToken, error fetching instanceID: FCM token returns a null value. static final FirebaseMessaging _firebaseMessaging=FirebaseMessaging(); static…
1
vote
0 answers

Flutter local notifications in the background

We have an app that probes an api endpoint periodically (every 60 seconds) and provides data to a user. Currently we are using a Timer function and Observing the state of the app (whether its in foreground, background etc) and if it's in the…
1
vote
0 answers

java.lang.IllegalArgumentException: Service not registered: ls@1ff721a

I'm using firebase_messaging 7.0.3 and flutter_local_notifications 4.0.0 to send a notification in android, everything is working fine and I also using SQLite to save Notification, it's still working fine unless background mode I can see…