Комментарии:
thank you for this awesome video
Ответитьhello sir. Do you have any tutorial how to implement push notification for flutter with bloc state management? For example chatting.
ОтветитьThank you so much bro 🔥🔥🔥🔥
Ответитьthis is outdated
ОтветитьShould we store the device token in the database only once when the app is started for the first time, or should we store it every time the app is opened? The reason behind this is that I want to trigger notifications from the backend (using Laravel) using the device token.
So, what would be the best approach according to your experience? I'm developing my first app for production, and your opinion is very important to me.
Sir I want to send notifications while my application may be closed or running but these notifications are for some specific change in data in firebase how could I do that
Ответитьnice video sir thank you so much 🙏🏼🙏🏼🙏🏼, but how to send msg to multiple user please reply...
ОтветитьPlease how can i navigate to a specific screen that requires a uid
ОтветитьHey, I'm sending notifications to users using topics from Cloud Messaging. I want to build an in-app notifications screen, so am I going to have to store that notification data in my database to be able to show them?
Ответитьhello, i want to ask. can we use it for scheduled notification?
Ответить2 Months ago i couldnt quite get what you were doing in some parts. 2 months after that, i come again. this time everything works flawlessly. I can see my progress
thanks to people like you
wa'alaikumussalam
ОтветитьHey, Iam getting "null check operator used on null value" error while clicking on notification in terminated state (android only). everything else works fine. help would be much appreciated. Thanks.
ОтветитьHy this was an excellent tutorial, and I have also seen your other videos they were awesome🤯
I have a doubt in this notifications, I saw your previous tutorials as well you only explained how to send notifications to a particular user using those tokens, but how to send notifications to all the users?
For example, I made an Event app that shows all the events, and another events admin app where I can create new events, if an event is created it should notify all the users who have the Event app.
Can you help me with this?
sir I have error {Unhandled Exception: 'package:flutter_local_notifications/src/platform_flutter_local_notifications.dart': Failed assertion: line 1018 pos 12: 'callback != null': The backgroundHandler needs to be either a static function or a top}
how can fix?
⚠ Sending notifications directly from app is not safe. Because anyone can listen local network and see your auth token. Then change "to" field and send notification to everybody. You should handle this at backend.
ОтветитьHi, how are you ? I wanted to ask you something. I made the video and when I installed the app on two phones, the admin sends a notification to the client app using the sending mode "to": "/topics/myTopic1". The admin sends the notification but the client app does not receive the notification unless the client app also sends a notification. apart from if you receive the notifications that the admin app sends you... what could be the problem?
ОтветитьI followed your tutorial and everything worked as you showed except for one thing: In my case, the notification heads-up are not showing as yours. Instead, just a small icon app appears on the status bar and I have to expand the control section in order to see the notification. Do you know why this happens?
ОтветитьThis video is perfecto! Thanks for everything dude
ОтветитьonSelectNotification was deprecated with new updates , how to add click action to my notifications , could you help me about this ?
Ответитьi want to know, how to open a post in webview from the firebase message on flutter.
i saw , in ur tutorial , we can go to new page.
but how to open a link , in webview in the new page from the firebase notification.
i have been searching for this , for very long time.
any info is very helpful.
This is great! Thank you so much!
ОтветитьNotifications aren't visible(in terminated and background) as popup like I get in foreground. I have to slide down the notification tray to see the notification. Pls help
ОтветитьHello sir! Thank you for this tutorial I have used it. I just want to ask also, can I use this in web build?
ОтветитьThank You! It really helps me a lot. JzakAllah
ОтветитьHey bro, for sending push notification from the app the legacy version used server-key but now it uses Oauth2 token how can I get that any idea?
Ответить'image' :"asdas.png"
I tried to send a picture, but the picture is not sent, do you know a way?
On Android 12, notification arrives on application on foreground it throws an error as "set PendingIntent flag to mutable or immutable".
Please help me to show foreground notification using flutter_local_notifications plugin.
Do you have github repo for this?
ОтветитьVery great content, thank you. I have a question :- How can we customize the push notification sound and how to make the notification appear like a snackbar on top when the app is on background or terminated.
Ответитьبارك الله فيك اخي العزيز BAREK ELLAH FIK MY BRO
ОтветитьHello can i ask i should initialize on every screen i have or in just the main screen?
ОтветитьHey there. My IOS app is closing when gets a notification. Any idea why?
BTW, i only uploaded APNs authentication key to Firebase
flutter_local_notifications 12.0.4
firebase_messaging 14.1.4
Thank you so much for this. Quick one, in an authentication scenario, when is the best time to get device token, at registration time or when the user is logged in, and also, the user can login from other devices too?
Can the device token string of a particular device change when you recapture the token of that same device, so one can update the device token of that particular device?
Thanks.
thx sir for the tuto , i have question!
i have e-commerce app and i want users to get notification when there is new product is added, and also when they click on notification they went to the page and display the product info !
how can i do it !
and 3rd question , in the port methode , if i remove the "to" key will the notification be sent to all devices?
can i send Notification from one device to another??
Ответитьthank you so much
ОтветитьFor some reason my code is getting two instances of main, one of them "requestPermission" is returning as null.
Ответитьvery informative tutorial thanks for sharing
Ответитьgithub link please. it would really help me
Ответитьgreat work ... i have did all but notification not showing when click on button nothing happen ,,, please share code thank alot
ОтветитьThis video was very useful, just what i need. Thank you so much, man.
ОтветитьThanks i really do appreciate it but for some reason im having issues with the line FlutterLocalNotificationsPlugin().initialize(initializationSettings, onSelectNotification: (String? payload) async. it says the named parameter 'onSelectNotification' isn't defined.
Ответитьjust exactly what i need, Sir. big support ❤
subs +1
brother why i try to make notification but messaging.requestPermission is not functional and when starting i didn't get any request for permission what do u think the problem ??
Ответить