👉Join 12 Week Flutter Training: heyflutter.com 👉Join the WhatsApp Channel to get the latest news about Flutter & HeyFlutter: whatsapp.com/channel/0029VaDNCZtC1Fu8nL2vmw3f Source Code: github.com/JohannesMilke/local_notifications_example
Important note: The 'IOS' prefix keyword has been replaced by 'Darwin' keyword. IOSInitializationSettings and IOSNotificationDetails are now DarwinNotificationDetails and DarwinInitializationSettings
if you get an error(Unhandled Exception)... , just go to AndroidNotificationDetails('channel id', 'channel name','channel description', icon:"@mipmap/ic_launcher",//add this line importance: Importance.max ), ensure you have your ic_launcher.png is in drawable folder(android\app\src\main es\drawable\ic_launcher.png)
it really impressive, you deserve a olympic gold medal to the flutter best channel, you listen to the people, that kind of notification is what i wanted and you make this awesome video, take your gold medal right now
thank you! I was rushing too much whilst watching the video, and wondered why it didn't work until I watched the whole video again and realised I needed the 2 timezone packages installed too! Lesson learnt. Again thank you!
Thank you Sir, you are everywhere, if I search something regarding flutter, first your video comes and I'm Satisfied with that itself. Thank you so much Sir. Please do more and do live Q and A. it will be helpful for many of us.
2:06 when i click it ,show this error {PlatformException (PlatformException(error, Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference, null, java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference}
Hi! Thanks for the video, it was incredibly helpful, even though I have a little issue, the notification does not appear. There's no error in the code, everything seems fine and during the debug I figured out every function has called that should have. Any idea?
I want learn how the user would be able to schedule their own notifications, like for a to do app. Or to be able to select a timeframe in which they’ll randomly be reminded of the things they need to do? Do you have any tutorials on that? If not could you make one?
Thank You Peaceful Meditation! Follow this link: medium.com/flutter-community/local-notifications-in-flutter-746eb1d606c6 I hope you will get your answer 🙂
great video! you should consider creating a full course on this.. backend with multiple notifications features.. (text, images) alternatives to firebase.. nothing out there about this topic
Sir, you made a lot of tutorials very nice and helpful to a new flutter developer. But, how come I can't access the source code easily? If you don't mind, I need to access your source code for each of your tutorials. So I can able to study and improve my learnings in a flutter. @ThankYouForTheUnselfishLearning
Very good video! Thanks! Just one question: Is there a limit if I set daily notifications following your tutorial. I've read about a limit of 64 notifications for scheduled notifications. Thanks.
Great tutorial. If you're implementing it now and can't get it to work on Android, ensure you've set your compileSdkVersion to 31 in your build.gradle file.
Thank you for such a amaizing video. But I'm facing a problem. the notification comes in my notification tray as usual but it doesn't comes in top like a overlay whenever we get a new notification. How can i make sure whenever i ger a notification whatever I am doing the notification will pop up?
thank you for your amazing video, im also following the official docummentation from the local notifcation package however my weekly notifications are not showing when the app is in the background or the app screen is locked, any idea why this might be happening? I have a samsung devide
Thank You vanRules! Follow this link: stackoverflow.com/questions/53572110/flutter-push-notifications-even-if-the-app-is-closed I hope you will get your answer 🙂
I saw a lot of your video, that helped me! But this one seems out of date. "onSelectNotification" does not exist anymore, and "IOSNotificationDetails" it is been replaced with "DarwinNotificationDetails". This time I cannot continue the tutorial
Thank You Aswin Raaj!. I showed the main functionality, which is important for this package. Learn more about it here: github.com/JohannesMilke/sponsorware
Hey johannes i would like to ask u what to do to navigate to different screens based on the data which i am sending from postman using fcm api can u guide me?
Hey! Very relevant video right now. We are developing an application for a smart pill dispenser. How reliable you think this package is, so that the user will receive notification always in time every day?
@@HeyFlutter thanks but this not solving the problem. The error showing that attempt to invoke virtual method 'int java.lang.Integer.intvalue() on null object refference
10.23 i noticed something when u called the _showScheduledNotification method in the initState u just give the normal timestamp right....instead of doing that we can make it optional parameter right?
Thank You Hashan Kannangara! Follow this link: stackoverflow.com/questions/53572110/flutter-push-notifications-even-if-the-app-is-closed I hope you will get your answer 🙂
hi J Milke, hope u r fine. have you any knowledge about this bro? Actually, I just want to know if I update any product from the admin panel and how my clients get notifications of recently added products on the android and ios app. hope you understand what I want to say?
getting this error please help Mike Sir , on clicking Button at 2:13 throw PlatformException(code: errorCode, message: errorMessage as String?, details: errorDetails, stacktrace: errorStacktrace);
Hi - When I put the 4 positional arguments for AndroidNotificationDetails, it says too many positional arguments inputted. It seems it won't accept the channel_description. Where am I going wrong here?
@@jojkhan7577 hi, im facing the same issue. Can you please tell me how did you fix it? is it by adding initializeTimeZones(); at initState() of the main page?
sir, i am making one app which is related to post app, so when a user add post in that app, then notify to all user. Which notification is use? any tutorial?
Hello, thank you very much for this video, I followed all the steps, but the code did not work even though I used the same package version, please help
wonderfully amazing, you are really a blessing person for flutter developers, and i have a question , how can we push a notification based on time and date from date time picker. this would be greatly appreciated , thanks in advance Johannes
@@HeyFlutter thanks johannes, i have tried it many times , it doesn't work btw, i'm using one of your videos to pick date and time, i wanted to push the notification based on the date and time i select from DatetimePickerWidget, the link above didn't do the trick,. if you could help, i really would be thankful, and others would ues it a lot
Thanks for all your videos.just if you can make video about notification using specific Id. I wish if you do it I did search all videos on RUclips no one made.Thanks again
As always, thank you so much for your amazing tutorials! I just wanted to ask about multiple notifications. Only the last one saved would show up even though I tried changing the channel id. Hoping you could give some tips. Thank you!
How to run background periodic task in ios flutter. As it is not possible through work manager as stated in documentation and background_fetch will stop working when the app is terminated. Is there any other way to schedule bg task on specific intervals in IOS.
Thank You Reema Ahuja! Follow this link: stackoverflow.com/questions/51706265/how-to-schedule-background-tasks-in-flutter I hope you will get your answer 🙂
@@HeyFlutter would you try to make a local scheduled notification with datetime picker , so we can choose/select the date and time from it and schedule it with button onclick so ? , thanks!!
Thank You Ahmad Ashraf! Follow this link: stackoverflow.com/questions/63415066/schedule-notification-everyday-for-flutter I hope you will get your answer 🙂
Thanks man for your videos. I need help, when I click on notification when app is closed, I get directed to the homepage not my desired screen. Did as the video exactly.
@@HeyFlutter This problem was solved man, the reason was that I had this line 'NotificationsApi.init(initScheduled:true), on the app splash remove after-initilaztion method. But got into another error, :D , when I open the app from a notification(finally) and click on any button to schedule for another Notification, I get transferred to the page that I had opened the app from initially. It is like that the init method still remembers that I had opened the app from notification and sends the payload to the onClickedNotification again.
Is it possible to schedule a weekly scheduled notification for Tuesday and Friday for example? Does not seem to work for me like you show in the video, only the first notification is firing :/
Hey Johannes, this is not working if the app is killed or in the background and only the last saved notification works , can we schedule more then 1 notificatio in it ?
I can push notification on android tablet even app terminated or background. But when I locked the screen, it is not awake with notification. Also at home screen, notification does not appear(shows only notification tray). Is there any solution for these problems ? I searched a lot but could not find any solution. Help :S
hi sir, sir it's actually a school web application im converting into an app so when the teacher sends an assignment or any other things the student should get a notification sir ..how can I do that sir..pls help sir
Hi, Why I cannot access the source code directly, What is the point of displaying the source code link if users cannot access it directly ! This is not an open source helpful thing
I have a question I don't find the answer to it considering local notifications and you seem to be an expert on this topic so I wanted to try to ask you^^ or someone in the comments:) My code looks pretty similar to the one in the video but I am asking myself one specific thing: Can I access the point in the code that happens just after the notification has been sent out? In more detail: I have a notification that shows at a certain time. And I want that something is happening just after the notification has been shown on the phone. For example: The notification on the phone pops up at 14.30 and the program should save this timestamp immediately after showing the notification (not before!!) Is there a solution to that?
Hello Sir, I Have Multivendor Grocery app on flutter as frontend and firebase as backend I have two apps : 1. Customer app for viewing product and ordering it. 2. Vendor App: Uploading a product and then checking who has ordered it. Sir I want to implement notification feature in my App, if the user place an order, vendor app should get notified that this user has placed his/her order how can i achive this Sir, I know I have to use , FCM for it, but sir Do i ned to make my own function and then deploy it to firebase or there is any other method . Please help Sir? Thank you
good day, i am getting this error "Unhandled Exception: Location with the name "GMT" doesn't exist", but i just follow all of your steps. how can i fix this? i already research for ansers on the internet. please help. thank you!
hello Johannes, I have been trying to notify all my devices using local notification based on changes in the database(firebase) using local notification but I dont know how to do that, could you help me if you can please? I followed this tutorial and it only notifies a single device and not all of my devices. how can I do that?
Hello, Templeton Meshack! Follow this link: nitishk72.medium.com/flutter-local-notification-1e43a353877b, I hope it will solve your problem. Thank You 🙂
@@HeyFlutter thanks for reply the background problem has been solved but we have to define constant duration if we remove const notification dont appear in background
👉Join 12 Week Flutter Training: heyflutter.com
👉Join the WhatsApp Channel to get the latest news about Flutter & HeyFlutter: whatsapp.com/channel/0029VaDNCZtC1Fu8nL2vmw3f
Source Code: github.com/JohannesMilke/local_notifications_example
Important note: The 'IOS' prefix keyword has been replaced by 'Darwin' keyword. IOSInitializationSettings and IOSNotificationDetails are now DarwinNotificationDetails and DarwinInitializationSettings
Thanks for updating, Ehab T-48! 🙂
Thanks for this!
@@HeyFlutter Hello please do you know how to use send notifications from one device to other using local push notification and polling
if you get an error(Unhandled Exception)... ,
just go to AndroidNotificationDetails('channel id', 'channel name','channel description',
icon:"@mipmap/ic_launcher",//add this line
importance: Importance.max
),
ensure you have your ic_launcher.png is in drawable folder(android\app\src\main
es\drawable\ic_launcher.png)
Thank you, Ret Rono! 🙂
Hi, why you didn't mention that in order to schedule notification we need to add package timezone. I got confused for a while
it really impressive, you deserve a olympic gold medal to the flutter best channel, you listen to the people, that kind of notification is what i wanted and you make this awesome video, take your gold medal right now
I'll second that. Perhaps multiple medals.
thank you man for saving my life
You’re most welcome, Fahad Mustafa! 🙂
2:05 won't work. The init method showed at 2:30 and its call in initState is a pre-requisite for 2:05 to work.
Same note
Flutter changes so much
thanks for your note
@@felipeherrera9396 I also found error when follow along, any clue?
thank you! I was rushing too much whilst watching the video, and wondered why it didn't work until I watched the whole video again and realised I needed the 2 timezone packages installed too! Lesson learnt. Again thank you!
send the package can?
Great, thank you, @zaydc7316! 🙂👍
This channel is a real gold mine!
Thank you Sir, you are everywhere, if I search something regarding flutter, first your video comes and I'm Satisfied with that itself. Thank you so much Sir. Please do more and do live Q and A. it will be helpful for many of us.
Please make an updated tutorial for Flutter Firebase push notifications.
2:06 when i click it ,show this error {PlatformException (PlatformException(error, Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference, null, java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference}
@@HeyFlutter thanks its work now :)
how do i solve this?
@@kems1592 just complete watching the video and write some code else that he mentioned,
Or follow the link that he attached.
It will work
@@yunismaruf bet thank you
@@yunismaruf I only need the local simple notifications. Which part is the one we need to initialize from that error?
Hi!
Thanks for the video, it was incredibly helpful, even though I have a little issue, the notification does not appear. There's no error in the code, everything seems fine and during the debug I figured out every function has called that should have. Any idea?
Found the solution, dont forget about the permission :
What is "tz" ? in the minute 7:00.
i got this error: Undefined name 'tz'. (7:00)
Try correcting the name to one that is defined, or defining the name.
@@HeyFlutter thanks!
Hi! Can you help me with this? It seems like he deletes his comments.
@@sandradascalu848 tz is the same import but with another name. Like import ... as TZ
Why did he delete the comment? Just, why?
@@qazaqforte tz i remember, was the alias of the import
I found another alternative that looks very easy to implement and that is Awesome notifiction package, can you make please make a detail video on it ?
Sir, SOLID PRINCIPLES and design patterns, clean code
I want learn how the user would be able to schedule their own notifications, like for a to do app. Or to be able to select a timeframe in which they’ll randomly be reminded of the things they need to do? Do you have any tutorials on that? If not could you make one?
Thank You Peaceful Meditation! Follow this link: medium.com/flutter-community/local-notifications-in-flutter-746eb1d606c6
I hope you will get your answer 🙂
@@HeyFlutter wow that’s great, thanks a lot!
this is so helpful, btw is there a tutorial on how to disable and enable push notifications using toggle buttons?
great video! you should consider creating a full course on this.. backend with multiple notifications features.. (text, images) alternatives to firebase.. nothing out there about this topic
Sir, you made a lot of tutorials very nice and helpful to a new flutter developer.
But, how come I can't access the source code easily?
If you don't mind, I need to access your source code for each of your tutorials.
So I can able to study and improve my learnings in a flutter.
@ThankYouForTheUnselfishLearning
Very good video! Thanks! Just one question: Is there a limit if I set daily notifications following your tutorial. I've read about a limit of 64 notifications for scheduled notifications. Thanks.
Thank you, @derschmeidt2224! 🙂. Yes you can check their official documentation.
Hey can also play audio with it on notification which I want to schedule daily for my application
Great tutorial. If you're implementing it now and can't get it to work on Android, ensure you've set your compileSdkVersion to 31 in your build.gradle file.
Thank you for such a amaizing video. But I'm facing a problem.
the notification comes in my notification tray as usual but it doesn't comes in top like a overlay whenever we get a new notification. How can i make sure whenever i ger a notification whatever I am doing the notification will pop up?
I have a problem, When I click on the notification it does not take me to any page
Awesome video! thumbs up. I have a question tho. What can I do to open a specific screen in my app when the app is terminated?
thank you for your amazing video, im also following the official docummentation from the local notifcation package however my weekly notifications are not showing when the app is in the background or the app screen is locked, any idea why this might be happening? I have a samsung devide
Thank You vanRules! Follow this link: stackoverflow.com/questions/53572110/flutter-push-notifications-even-if-the-app-is-closed
I hope you will get your answer 🙂
Nice one👍🏼👍🏼..can you make tutorial push notification with cloud function in firebase
I saw a lot of your video, that helped me! But this one seems out of date. "onSelectNotification" does not exist anymore, and "IOSNotificationDetails" it is been replaced with "DarwinNotificationDetails". This time I cannot continue the tutorial
Thank you, Giovanni Bruno! 🙂. Only few lines might change, you can search the alternatives for those on google.
Since the version 10.0.0: onSelectNotification has been changed to onDidReceiveNotificationResponse
Great video thank you man
Just One note the notification initial is import for the firt example to work
He is not sharing his source code and asking money for it.
Thank You Aswin Raaj!. I showed the main functionality, which is important for this package. Learn more about it here: github.com/JohannesMilke/sponsorware
With FCM wow, thanks for your great work :)
Glad I could be of help, Thank you Hawar Hekmat! 😊
Can you please remake this video with some changes
Thanks for the idea, Hafiz Touseef! 🙂 I have added it to my list of ideas for future videos!
Why you used rxdart for onselect method? Could we not redirect user to different screen by implementing navigation directly on onselect method?
Hey johannes i would like to ask u what to do to navigate to different screens based on the data which i am sending from postman using fcm api can u guide me?
Hey 😊, @seetheworld3839! Check out this solution: stackoverflow.com/a/48405551 I hope this helps you
Thank you! You saved my new app!
You’re most welcome, Balázs Szélig! 🙂
Hey! Very relevant video right now. We are developing an application for a smart pill dispenser. How reliable you think this package is, so that the user will receive notification always in time every day?
thanks for u r videos,I always use your viedoes as my first repo for leaninng !
How about for dormant app user?
Example- it will notify the user after a week of inactivity.
Thank you
I getting a null pointer exception in java 😕
@@HeyFlutter thanks but this not solving the problem. The error showing that attempt to invoke virtual method 'int java.lang.Integer.intvalue() on null object refference
i got same error
@@luqmanthwaimer7941 same
@@AkGaming-bd6wp i got same error?you done yet?
@@luqmanthwaimer7941 i got same error?you done yet?
10.23 i noticed something when u called the _showScheduledNotification method in the initState u just give the normal timestamp right....instead of doing that we can make it optional parameter right?
Is there any way to open specific screen after tapped on a scheduled notification, when app is terminated (removed from background) ?
Thank You Hashan Kannangara! Follow this link: stackoverflow.com/questions/53572110/flutter-push-notifications-even-if-the-app-is-closed
I hope you will get your answer 🙂
fantastic work well explained
Thanks Mr.Johannes
please update this video and explane latest version of flutter_local_notifications: ^12.0.2
because we faced many problems.
Thanks for your feedback, Yemen Swift! 🙂
Such a nice explanation video about notification.
thanks. how can add local notification daily and user change time . with sharedpreferences .
hi J Milke, hope u r fine. have you any knowledge about this bro? Actually, I just want to know if I update any product from the admin panel and how my clients get notifications of recently added products on the android and ios app. hope you understand what I want to say?
Oh Men , you made a lot of tutorials grateful and helpful to a new flutter developer. Thanks a lot
getting this error please help Mike Sir , on clicking Button at 2:13
throw PlatformException(code: errorCode, message: errorMessage as String?, details: errorDetails, stacktrace: errorStacktrace);
Thank you SubrOMEN_ India, make sure to follow the tutorial step by step 🙂
Hi - When I put the 4 positional arguments for AndroidNotificationDetails, it says too many positional arguments inputted. It seems it won't accept the channel_description. Where am I going wrong here?
Thank you, JayJ! 🙂. Try to provide error message with yours question whenever you face any issue.
@@HeyFlutter Hi - That is the error message - "Too many positional arguments inputted".
Hello johannes when I try the simple notify it always throw an exception.... Maybe u can help to figure it out? Do i need to use permission?
why do i get this error? Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
I am also getting the same error with flutter 2.2.5
@@praveenkumar-bz3qi I found out you need to initialize it first, which he didn't mentioned in the tutorial.
@@luqmanthwaimer7941 Can you show how to do it, sir?, i'm a beginner and got this error too. Sorry for my bad english
@@luqmanthwaimer7941 is there any video to this?
Hi. Thank you for video. How can i catch the click on notification when the app is terminated? I'm using flutter local notification btw.
I am getting some errors (Unhandled Exception: LateInitializationError: Field '_local@98310200' has not been initialized.)
fixed by adding timezone Initialization on main page
@@jojkhan7577 10min30s tz.initializeTimeZones();
@@jojkhan7577 hi, im facing the same issue. Can you please tell me how did you fix it?
is it by adding initializeTimeZones(); at initState() of the main page?
I added tz.initializeTimeZones(); inside static Future init({bool initScheduled = false}) async and its works :)
@@neonmason1 i dont remember bro
sir, i am making one app which is related to post app, so when a user add post in that app, then notify to all user. Which notification is use? any tutorial?
Hey, @takirajani2693 🙂 you have to go with image notification if it's a image post or big text notification if it's a text post
@@HeyFlutter in my case image with text post from api. When user add post or update post then all user notify..php api in backend. Sir please advise
Hello, thank you very much for this video,
I followed all the steps, but the code did not work even though I used the same package version,
please help
I have followed your video for creating scheduled notification but am not getting any notification, is this implementation still working ?
Thank you, Aravind! 🙂. There might be slightly changes, but I am not sure.
wonderfully amazing, you are really a blessing person for flutter developers, and i have a question , how can we push a notification based on time and date from date time picker. this would be greatly appreciated , thanks in advance Johannes
@@HeyFlutter thanks johannes, i have tried it many times , it doesn't work
btw, i'm using one of your videos to pick date and time, i wanted to push the notification based on the date and time i select from DatetimePickerWidget, the link above didn't do the trick,.
if you could help, i really would be thankful, and others would ues it a lot
Thanks for all your videos.just if you can make video about notification using specific Id. I wish if you do it I did search all videos on RUclips no one made.Thanks again
where does the TIme() method comes form ?
As always, thank you so much for your amazing tutorials!
I just wanted to ask about multiple notifications. Only the last one saved would show up even though I tried changing the channel id.
Hoping you could give some tips. Thank you!
What are your dependencies?
How to add user avatar on background notifications?
How to run background periodic task in ios flutter.
As it is not possible through work manager as stated in documentation and background_fetch will stop working when the app is terminated.
Is there any other way to schedule bg task on specific intervals in IOS.
Thank You Reema Ahuja! Follow this link: stackoverflow.com/questions/51706265/how-to-schedule-background-tasks-in-flutter
I hope you will get your answer 🙂
@@HeyFlutter yes I have tried all these .. But the problem is they work as intented on android but in ios they don't.
Great explanatory video! But there are some changes to the packages, so if you replace the video with a new one, that would be awesome!
Thanks for the idea, Sayed Mahmood! 🙂 I have added it to my list of ideas for future videos!
@@HeyFlutter would you try to make a local scheduled notification with datetime picker , so we can choose/select the date and time from it and schedule it with button onclick so ? , thanks!!
hello Johannes Milke, what if i want Send a notification every day until a specific day,
that doesn't work for me
Thank You Ahmad Ashraf! Follow this link: stackoverflow.com/questions/63415066/schedule-notification-everyday-for-flutter
I hope you will get your answer 🙂
I did it exactly and the progaram is working but when i push the button the notefication dosen't appear
For me it is not running on Ios simulator with flutter 2.2.1 (error)
On Android is ok
TZDateTime is that from timezone package as it's not working
Thanks for the help man, but the access for the source code is impossible :c
Thanks man for your videos. I need help, when I click on notification when app is closed, I get directed to the homepage not my desired screen. Did as the video exactly.
@@HeyFlutter This problem was solved man, the reason was that I had this line 'NotificationsApi.init(initScheduled:true), on the app splash remove after-initilaztion method.
But got into another error, :D , when I open the app from a notification(finally) and click on any button to schedule for another Notification, I get transferred to the page that I had opened the app from initially. It is like that the init method still remembers that I had opened the app from notification and sends the payload to the onClickedNotification again.
mipmap launcher icon is not showing in notification pan,Any Solution ,can we pass any assets file path as string
Is it possible to schedule a weekly scheduled notification for Tuesday and Friday for example? Does not seem to work for me like you show in the video, only the first notification is firing :/
Thank You David Sturm! Follow this link: nitishk72.medium.com/flutter-local-notification-1e43a353877b
I hope you will get your answer 🙂
Simple notification is not working
Thank you @_CSE_PRATHISWARANGR, make sure to follow the tutorial step by step 🙂
Is it possible to show an alert dialogue instead of local notification when app is running for scheduled notification?
can we make app get data in background from api after a period of time and setting schedule notfication for this, how we make this in flutter app sir.
Thank you so much, you have a great talent.
Hey Johannes, this is not working if the app is killed or in the background and only the last saved notification works , can we schedule more then 1 notificatio in it ?
@@HeyFlutter i checked again but when the app is killed its not working. Anyway thanks
You save my time man, great!
I can push notification on android tablet even app terminated or background. But when I locked the screen, it is not awake with notification. Also at home screen, notification does not appear(shows only notification tray). Is there any solution for these problems ? I searched a lot but could not find any solution. Help :S
Thank you so much you made my day.
hi sir, sir it's actually a school web application im converting into an app so when the teacher sends an assignment or any other things the student should get a notification sir ..how can I do that sir..pls help sir
Thank you, johnsunny! 🙂 you can refer using fcm for network notifications
Hi, Why I cannot access the source code directly, What is the point of displaying the source code link if users cannot access it directly ! This is not an open source helpful thing
Is it possible to use a notification badge to use with local scheduled notifications or execute a function once a schedule notification is shown?
I have a question I don't find the answer to it considering local notifications and you seem to be an expert on this topic so I wanted to try to ask you^^ or someone in the comments:)
My code looks pretty similar to the one in the video but I am asking myself one specific thing:
Can I access the point in the code that happens just after the notification has been sent out?
In more detail: I have a notification that shows at a certain time. And I want that something is happening just after the notification has been shown on the phone. For example: The notification on the phone pops up at 14.30 and the program should save this timestamp immediately after showing the notification (not before!!)
Is there a solution to that?
thanks for make so clear Joh.
Hello Sir, I Have Multivendor Grocery app on flutter as frontend and firebase as backend I have two apps : 1. Customer app for viewing product and ordering it. 2. Vendor App: Uploading a product and then checking who has ordered it. Sir I want to implement notification feature in my App, if the user place an order, vendor app should get notified that this user has placed his/her order how can i achive this Sir, I know I have to use , FCM for it, but sir Do i ned to make my own function and then deploy it to firebase or there is any other method . Please help Sir?
Thank you
good day, i am getting this error "Unhandled Exception: Location with the name "GMT" doesn't exist", but i just follow all of your steps. how can i fix this? i already research for ansers on the internet. please help. thank you!
@@HeyFlutter here are the packages im been using,
flutter_local_notifications: ^9.5.3+1
rxdart: ^0.27.3
flutter_native_timezone: ^2.0.0
@@HeyFlutter i just followed your tutorial on this video
@@HeyFlutter i would really appreciate your help if possible.
It`s possible to cancel only a specific scheduled notification and preserve others?
How do I make my app to send a notification every hour?
Thank You Luxy Lucent! Follow this link: stackoverflow.com/questions/69414735/flutter-notifications-after-one-hour
I hope you will get your answer 🙂
hello Johannes,
I have been trying to notify all my devices using local notification based on changes in the database(firebase) using local notification but I dont know how to do that, could you help me if you can please?
I followed this tutorial and it only notifies a single device and not all of my devices.
how can I do that?
Hello, Templeton Meshack! Follow this link: nitishk72.medium.com/flutter-local-notification-1e43a353877b,
I hope it will solve your problem. Thank You 🙂
The content you post are so high level..👍
Thx for the great video but i have a problem
local notification sometimes doesn't work
Thank You Sherif el sharbatly! Follow this link: nitishk72.medium.com/flutter-local-notification-1e43a353877b
I hope you will get your answer 🙂
What if we are sending only data {} in message,how to handle that in background and terminated state
Does it show notifications when the app dead(close) for the IOS or you have to be in the app?
what about scheduled notification with user input on the UI instead of button click manually
do you have push notification with php mysql sir?
i am using a vivo mobile. when i schedule notification it works for forground but when app close this not works what is the problem
@@HeyFlutter thanks for reply the background problem has been solved but we have to define constant duration if we remove const notification dont appear in background
I will send the method code as soon as possible.
Um, what about a snooze button on the notification? Like snoozing the audio player for alarm. Thanks for the tutorial tho.
Before I put the timezone package,when I run the app it´s giving me an error of versions. Has anyone experienced this problem?
Thank you, @clairehausman! 🙂. Please try to provide enough details with your question