Questions tagged [flutter-notification]
117 questions
0
votes
0 answers
flutter firebase onclick redirection when app is open
in my app firebase push notification is implemented.
on click event works when app is terminated.
but how to achieve notification on click of redirection when app is open.
class _Application extends State {
// It is assumed that…

user20076241
- 1
- 2
0
votes
0 answers
PlatformException Flutter
What is this error?
I was building a demo app to for Android and IOS notifications then this error appeared when I ran the project:
PlatformException (PlatformException(error, null, null,
java.lang.IllegalArgumentException …

Eng Raggad
- 3
- 1
- 6
0
votes
2 answers
flutter_downloader notification wrongly showing?
I'm using flutter_downloader: ^1.9.1 to download files. It's working fine, The file gets downloaded in the download folder. But the issue is after the file is downloaded the notification wrongly shows as failed and, On the notification click it's…

Anand
- 4,355
- 2
- 35
- 45
0
votes
1 answer
How do I show a notification when app is closed?
I saw different question regarding this topic like this one:
Flutter send local notification when app is closed (alarm)
Some of them with accepted answers but nothing seems to work with latest version. Notification package has changed and all of…

Dani
- 3,128
- 2
- 43
- 91
0
votes
1 answer
How to check if new data added in to firebase collection in flutter
how to know if a new data added in to firebase collection.
my question is i need to push notification when the new data added to the firebase collection.
here is my code look like.
and i know it will work if i put this code in to the functin where i…

Pluto WEB
- 19
- 5
0
votes
0 answers
how to get notification if app is terminated or closed
I want to show notification based on a condition. I tried with flutter local notification package but I was only getting the foreground and background notification. if I close the app i was not having any notification from app.
example:
app is…

Jam es
- 9
- 3
0
votes
1 answer
Flutter notifications from firebase messaging is delayed?
sometime the notification is delayed for no reason and then comes all together iam using
https://pub.dev/packages/flutter_local_notifications
https://pub.dev/packages/firebase_messaging
here is my code from cloud functions ( nodejs…

ialyzaafan
- 378
- 6
- 21
0
votes
1 answer
Notifications for orders from customer to employee flutter
How do I make notifications for orders?
I have an application that contains a customer and an employee, and when the customer requests a request, a notification must be sent to the employee, how can I do that
Knowing that I have a card containing…

Hagar Nasser
- 1
- 1
0
votes
3 answers
Argument type 'String?' cannot be assigned to parameter type 'String', Triggering Dart's Null Safety either way
In this current snippet I have declared notification to be nullable but get an null safe error for the if loop's notification.body and notification.title.
Here's my code:
FirebaseMessaging.onMessageOpenedApp.listen((RemoteMessage message) {
…

Rithik Sandron
- 3
- 3
0
votes
1 answer
The argument type 'String' can't be assigned to the parameter type 'AndroidNotificationSound'
this is the dart analyses info:
error: The argument type 'String' can't be assigned to the parameter type 'AndroidNotificationSound'. (argument_type_not_assignable at [mediminder] lib/src/ui/new_entry/new_entry.dart:335)
and the file…

Asheer Butt
- 71
- 5
0
votes
1 answer
Flutter- open page on click notification
I am developing flutter application using awesome notification. I want to redirect to notification page when notification is clicked.
Initialize main.dart notification:
AwesomeNotifications().initialize(
'resource://drawable/ic_stat_ida',
…

zey
- 177
- 2
- 15
0
votes
0 answers
absoluteTime vs wallClockTime - Flutter
I know the definitions:
absoluteTime: The date is interpreted as absolute GMT time.
wallClockTime: The date is interpreted as a wall-clock time.
But can't figure out when to use which one. For example, which one should I use for a reminder…
0
votes
1 answer
How can we send push notification to an specific user while app is exited. - FLUTTER
I am actually working with a e-commerce app and want to send notification to a delivery boy when order is placed from user app.
How can we identify the specific delivery boy app from backgroud (when app is exited).
Future…

Abin vs
- 103
- 5
0
votes
0 answers
How to create proper notifications on iOS (FCM doesn't seem to be the way)?
According to FCM official documentation:
On iOS, if the user swipes away the application from app Switcher, it
must be manually reopened again for background messages to start
working…

yoni keren
- 300
- 2
- 14
0
votes
1 answer
Is there some methodology to increase count upon the number of notification recieved when there is not internet in flutter and app is still running
I have inserted the logic for increasing count upon receiving notification in the onMessage of firebase messaging. But the count value increases just once when there is no internet and multiple notifications comes at once. In that case when the app…

Alisha Budhathoki
- 26
- 3