⌚️📱 Scheduled Notifications • Flutter Tutorial
HTML-код
- Опубликовано: 7 фев 2025
- 🔥📱 My Habit Tracker: ritualz.app
💳📱 My Expense Tracker: dollatracker.app
🥷🏽 FOLLOW ME
Patreon: / mitchkoko
Instagram: / createdbykoko
Twitter: / createdbykoko
TikTok: / createdbykoko
This tutorial covers how to schedule local notifications for your Flutter app using the package pub.dev/packag... and timezone packages. iOS & Android.
~;
✏️ Whiteboard app I use: app.eraser.io/
Watch part 1 first 🔔📱 Local Notifications • Flutter Tutorial: ruclips.net/video/uKz8tWbMuUw/видео.html
🚨UPDATE FIX: at 3:31 it should be notificationDetails() NOT const NotificationDetails()
💜I apologise that I forgot to add this in the video :(
for android we need to add permissions and receivers in the AndroidManifest.xml:
💜 JUST REPLY TO THIS COMMENT IF YOU NEED ANY HELP! I WILL HELP U
I wanted this a lot because I am working on a big project and I don't know anything about notifications and you made it so easy to me especially schedule notifications thank you so much 🙏
@ no problemo 💜
Mitch to the rescue..❤
love it, but u posted so late i learnt it myself from chatgpt ;-; LOL
PS: can we get tutorial on URLS for items? like ur shop app w URLS for items?
Hi do you know how to create multiple web sessions using flutter_inappwebview? It's similar to Chrome profiles.
Bro ngl you are probably the biggest reason I've kept working on Flutter and using it thanks to your tuts. The simplicity of your videos is insane. You deserve much more views man. I highly appreciate it thank you so much! It always puts a smile on my face when I see you’ve uploaded a new vid. That’s when I know I’ll learn something new lol. Keep it up 💜🎉
i love the fact that he's not like other devs that ignore comments totally.
he responds to every single one.❤
I try to respond as much as possible ❤ Wait do you mean youtube comments or comments in the code haha
Bro keep it up. I like your style of videos, no useless talking, no keyboard click clacking just awesome music. I learned Flutter a long time ago but my career took me to other projects/languages, still I watch your videos once in a while.
Thank you haha 💜 What do you use now?
@createdbykoko backend(pyhton, php,grails)
everything clear now!
Great! What should i make next
@@createdbykoko please make auto notifications part like when any document is added in firestore database, those devices which have fcmtokens stored in their respective documents should receive that auto notification
The king of tutorial 🚀💜
Thank you 💜How is Flutter for you these days?
@createdbykoko powerful, with the new features 💜🚀
Broo I was watching that last video and needed this. Thanks for another nice video
no problem! 💜
Love the videos, they are super helpful for the current app I'm working on and the videos are really well made.
Great stuff mitch, thanks for the tut.
No problem. How has Flutter been for you lately?
@ so far so good, waiting for the promised update with the chaining of modifiers. Other than that everything is good.
I am in work rn and I am working on an app for a client using Flutter.
💜 Your videos are really useful. Thanks
glad it helped! Let me know if you have any questions
Your videos are motivation for me to keep going with flutter. How about connecting firebase and send notis through it for the next tut?
most waited video thank you so much brother,in case the time has to be set dynamically in the application itself then what should I do.
no problem! You can allow the user to set the time dynamically by providing a time picker or similar input in your app. Once the user selects a time, convert it to a DateTime object, and schedule the notification using the notification plugin as shown in the video. good luck 💜
💜💜💜 thanks again for another great video
No problem! Let me know if u have any questions 💜
so useful 💜
I hope it helped. How is Flutter going for you these days 💜
Thanks. Did you set exact alarm permission for Android?
Check the pinned comment.
crystal clear, gracias amigo
please make auto notifications part like when any document is added in firestore database, those devices which have fcmtokens stored in their respective documents should receive that auto notification
sureee
Hi Mitch, This has some issue in Android, we cant schedule things at exact time, as the App itself doesnt belong in the category of an Alarm clock. There are methods for inexactAllowWhileIdle. But people have reported its pretty inExact.
Hey I added a fix for this. Check the pinnned comment!
Great🎉
Thank you always
Brother Make A video of Chat app using notification and how can we use multiple notifications.
I've already made so many chat apps so probably not
Thanks bro🎉🎉❤, make some vedios abou supabase please ❤❤❤
No problem!❤Have you seen my recent Supabase videos?
@@createdbykoko yes, but we need more vedios please❤❤
Bro, your tutorials are just great. Can you tell me how you do such iphone animations. I also wanted to start my RUclips channel to teach flutter. But as you know, lack of editing.
Could you make a tutorial on publishing an app?
Thanks a lot
No problem, happy to help! 💜
Amazing
How is Flutter going for you these days?
make videos on shared prefrences and sqlite also plz
Ok
@createdbykoko can we get push notification tutorial to send to another device? You made one last year, but that one does not cover sending it to another device, and also you moved away from firebase recently so, I hope you make a tutorial with the new stack. Anyways, keep being awesome, man!
Please could you do one video on fastlane or something to automate screenshot, metadata, publish to apple / google ?
also can you do how to show the image in notification
okkk
@@createdbykoko thanks
I want to send notification to user app via an admin app(for e-commerce). Can u help me with that?💜💜
ok i will look into it!
Next tutorial Route from notification plz, for all foreground, background and terminated state!!
Please add more video about notifications
Also cloud function
Nice Nice Nice!
How is Flutter going for you these days :D
@createdbykoko Amazing. Actually, I am working on a client app for a service I use (Code::Stats)
I want to implement many features for this one, (widgets, notifications etc)
Thanks very much for these videos ❣
Can we Cloud notifications for all the users connected to database
suree
mitch, it's time to bring on some native code to the channel, like work manager, foreground-background services, etc. it's helpful to know these topics
how do we export and run the app on our actual device?
Not sure If i understood your question fully but you plug your device in and run the app! Have you used Flutter before or first time?
Check on youtube, you have bunch of tutorials on topic how to use physical device for emulator with flutter
Guys he is cracking down on notifications recently
yepp haha anything else you need?
@@createdbykoko Haha thanks Mitch for engaging with us. I DO HAVE a request tho, so I got two apps already which both are currently under development, The issue is now I'm using streambuilder for retrieving data...and my app has got 16 users and to my surprise despite my sincere best approach of optimising to decrease the cost of read operation count on Firestore Im still not there.
I noticed that if I publish this I will get bankrupt lol
So my request is I need help in the best industry practices of optimising these operations from both UI standpoint and also from code to limit the number of docs we read....how to actually also see and estimate our read operation on average for bulk users bases of we actually succeeded in operation...also bulk operations(batch operations)
From UI standpoint point refresh on demand...just tips and tricks to minimize cost
@@createdbykokothinking about optimisations and cost reduction in read operations in Firestore
Calculating anticipation of prices if our monthly Active Users increase to millions...
How to minimize it using UI, batch operations and other ways would be very handy.
We appreciate your time and effort and engagement to your community.
Why you don't want to build something like 🤔 dashboard and connecting with the real project..
And you can control with the project.. like .. e-conomics app
@@KondeDarnas good idea, you mean like admin panel dashboard?
I would love to see this one too. Something connecting supabase, a mobile app, and something in react, Vue or Next.js for admin, if you are comfortable
Yeah that what's I mean 👌👌👌 like Admin Panel
I hope to see that
Even am doing my application for university just for students..
So students can see he results and he pdf lectures
And also can see he timetable.. also I add like new page..
But am broke now 😢 because of situation here in my country 😢
Please help. I am developing a prayer time app. All the time is retrieved from an API. I want the app to show notification when the save prayer time arrived. but since prayer time is everyday the app should schedule the notification everyday in the background even the app is closed or not been opened by the users. I hope you can do a video on it. Thanks.
nice
That's Cool
@@fyanahmad9418 hehe how’s flutter going for u these days💜
@@createdbykoko great and beautiful
This is wow
thanks let me know if you have any questions! How is Flutter going for u? 💜
💜
💜💜
hi bro i can u help me i created scheduleNotification in to_do app in debug mode it is working but after i build apk the arrival of scheduleNotification the app is closing automatically its urgent plz reply
@@arbaazbaiga1699 when you test it in debug mode: in terminal, instead of “flutter run” type “flutter run -release” so that you can test the release version and check what the error says
💜
thanks for watching 💜 Hope it help! How is Flutter going for u?
💜💜
thanks for watching. How is flutter going for you? 💜
Hey bro, you got a MacBook to give away? I don't have a personal computer
source code
the problem im facing in android before it works well after it didn't work it ask me request some permission so I wrote this code final deviceInfo = await DeviceInfoPlugin().androidInfo;
if (deviceInfo.version.sdkInt >= 31) {
if (await Permission.scheduleExactAlarm.isDenied ||
await Permission.scheduleExactAlarm.isPermanentlyDenied) {
final result = await Permission.scheduleExactAlarm.request();
hasPermission = hasPermission && result.isGranted;
if (!result.isGranted) {
debugPrint("Exact alarm permission not granted");
}
}
} the problem is it navigate user to some of the os native page to turn on a switch button below it mention schedule notification drain batter something like this
💜
thank you 💜 How is flutter going for u!?
💜
💜thank you!
💜
💜
💜