⌚️📱 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/

Комментарии • 109

  • @createdbykoko
    @createdbykoko  12 дней назад +9

    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

    • @moazmansour7669
      @moazmansour7669 11 дней назад +1

      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 🙏

    • @createdbykoko
      @createdbykoko  11 дней назад

      @ no problemo 💜

    • @techietoons
      @techietoons 11 дней назад

      Mitch to the rescue..❤

    • @PastaGuns
      @PastaGuns 10 дней назад

      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?

    • @ssnhero
      @ssnhero 10 дней назад

      Hi do you know how to create multiple web sessions using flutter_inappwebview? It's similar to Chrome profiles.

  • @atuvan
    @atuvan 12 дней назад +8

    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 💜🎉

  • @klutchres
    @klutchres 12 дней назад +7

    i love the fact that he's not like other devs that ignore comments totally.
    he responds to every single one.❤

    • @createdbykoko
      @createdbykoko  12 дней назад +3

      I try to respond as much as possible ❤ Wait do you mean youtube comments or comments in the code haha

  • @rowsenmatgeldiyew8722
    @rowsenmatgeldiyew8722 12 дней назад +1

    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.

  • @yourma7055
    @yourma7055 12 дней назад +5

    everything clear now!

    • @createdbykoko
      @createdbykoko  12 дней назад

      Great! What should i make next

    • @muhammadhassan4289
      @muhammadhassan4289 12 дней назад

      ​@@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

  • @akz2430
    @akz2430 12 дней назад +5

    The king of tutorial 🚀💜

    • @createdbykoko
      @createdbykoko  12 дней назад

      Thank you 💜How is Flutter for you these days?

    • @akz2430
      @akz2430 12 дней назад

      @createdbykoko powerful, with the new features 💜🚀

  • @ragnadrok7
    @ragnadrok7 11 дней назад +2

    Broo I was watching that last video and needed this. Thanks for another nice video

  • @James68257
    @James68257 6 дней назад

    Love the videos, they are super helpful for the current app I'm working on and the videos are really well made.

  • @daabder
    @daabder 12 дней назад +5

    Great stuff mitch, thanks for the tut.

    • @createdbykoko
      @createdbykoko  12 дней назад +1

      No problem. How has Flutter been for you lately?

    • @daabder
      @daabder 12 дней назад +1

      @ 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.

  • @PhilHobgen
    @PhilHobgen 11 дней назад +1

    💜 Your videos are really useful. Thanks

    • @createdbykoko
      @createdbykoko  11 дней назад

      glad it helped! Let me know if you have any questions

  • @Arminyouuu
    @Arminyouuu 10 дней назад

    Your videos are motivation for me to keep going with flutter. How about connecting firebase and send notis through it for the next tut?

  • @nirmalkumar.p.r7684
    @nirmalkumar.p.r7684 12 дней назад +2

    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.

    • @createdbykoko
      @createdbykoko  12 дней назад

      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 💜

  • @thealphacruze
    @thealphacruze 12 дней назад +1

    💜💜💜 thanks again for another great video

    • @createdbykoko
      @createdbykoko  11 дней назад +1

      No problem! Let me know if u have any questions 💜

  • @lijosh_k
    @lijosh_k 11 дней назад +1

    so useful 💜

    • @createdbykoko
      @createdbykoko  11 дней назад

      I hope it helped. How is Flutter going for you these days 💜

  • @MJDev-l3s
    @MJDev-l3s 11 дней назад +3

    Thanks. Did you set exact alarm permission for Android?

  • @HafidzRizkiFahrizal
    @HafidzRizkiFahrizal 3 дня назад

    crystal clear, gracias amigo

  • @muhammadhassan4289
    @muhammadhassan4289 12 дней назад +1

    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

  • @techietoons
    @techietoons 11 дней назад +1

    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.

    • @createdbykoko
      @createdbykoko  11 дней назад +1

      Hey I added a fix for this. Check the pinnned comment!

  • @fredrick_muasya28
    @fredrick_muasya28 12 дней назад +3

    Great🎉

  • @hamadamjad7958
    @hamadamjad7958 12 дней назад +2

    Brother Make A video of Chat app using notification and how can we use multiple notifications.

    • @createdbykoko
      @createdbykoko  12 дней назад

      I've already made so many chat apps so probably not

  • @dado2707
    @dado2707 12 дней назад +2

    Thanks bro🎉🎉❤, make some vedios abou supabase please ❤❤❤

    • @createdbykoko
      @createdbykoko  12 дней назад +1

      No problem!❤Have you seen my recent Supabase videos?

    • @dado2707
      @dado2707 12 дней назад

      @@createdbykoko yes, but we need more vedios please❤❤

  • @coder_shifu
    @coder_shifu 11 дней назад

    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.

  • @avikarefin7137
    @avikarefin7137 11 дней назад

    Could you make a tutorial on publishing an app?

  • @s.bamahfoodh
    @s.bamahfoodh 11 дней назад +1

    Thanks a lot

  • @conceptcoder
    @conceptcoder 12 дней назад +1

    Amazing

    • @createdbykoko
      @createdbykoko  12 дней назад

      How is Flutter going for you these days?

  • @fozianaheed1655
    @fozianaheed1655 12 дней назад +2

    make videos on shared prefrences and sqlite also plz

  • @avikarefin7137
    @avikarefin7137 11 дней назад

    @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!

  • @ragnadrok7
    @ragnadrok7 2 дня назад

    Please could you do one video on fastlane or something to automate screenshot, metadata, publish to apple / google ?

  • @adil_ayoub_
    @adil_ayoub_ 11 дней назад +1

    also can you do how to show the image in notification

  • @alphabet1416
    @alphabet1416 12 дней назад +2

    I want to send notification to user app via an admin app(for e-commerce). Can u help me with that?💜💜

  • @kawaiikonojo9982
    @kawaiikonojo9982 8 дней назад

    Next tutorial Route from notification plz, for all foreground, background and terminated state!!

  • @bestworker5107
    @bestworker5107 10 дней назад

    Please add more video about notifications
    Also cloud function

  • @harshnj
    @harshnj 12 дней назад +1

    Nice Nice Nice!

    • @createdbykoko
      @createdbykoko  12 дней назад

      How is Flutter going for you these days :D

    • @harshnj
      @harshnj 12 дней назад

      @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 ❣

  • @kumar_gautam24
    @kumar_gautam24 11 дней назад +1

    Can we Cloud notifications for all the users connected to database

  • @rida_brahim
    @rida_brahim 11 дней назад

    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

  • @klutchres
    @klutchres 12 дней назад +2

    how do we export and run the app on our actual device?

    • @createdbykoko
      @createdbykoko  12 дней назад

      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?

    • @ArqbitsDevelopment
      @ArqbitsDevelopment 12 дней назад

      Check on youtube, you have bunch of tutorials on topic how to use physical device for emulator with flutter

  • @tfozo
    @tfozo 11 дней назад +1

    Guys he is cracking down on notifications recently

    • @createdbykoko
      @createdbykoko  11 дней назад +1

      yepp haha anything else you need?

    • @tfozo
      @tfozo 11 дней назад

      ​@@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

    • @tfozo
      @tfozo 11 дней назад

      ​​@@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.

  • @KondeDarnas
    @KondeDarnas 12 дней назад +1

    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

    • @createdbykoko
      @createdbykoko  12 дней назад

      @@KondeDarnas good idea, you mean like admin panel dashboard?

    • @harshnj
      @harshnj 12 дней назад

      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

    • @KondeDarnas
      @KondeDarnas 11 дней назад

      Yeah that what's I mean 👌👌👌 like Admin Panel

    • @KondeDarnas
      @KondeDarnas 11 дней назад

      I hope to see that

    • @KondeDarnas
      @KondeDarnas 11 дней назад

      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 😢

  • @b_rabbit9774
    @b_rabbit9774 9 дней назад

    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.

  • @fozianaheed1655
    @fozianaheed1655 12 дней назад +1

    nice

  • @fyanahmad9418
    @fyanahmad9418 12 дней назад +1

    That's Cool

    • @createdbykoko
      @createdbykoko  12 дней назад

      @@fyanahmad9418 hehe how’s flutter going for u these days💜

    • @fyanahmad9418
      @fyanahmad9418 11 дней назад

      @@createdbykoko great and beautiful

  • @CodewithAltech
    @CodewithAltech 12 дней назад +1

    This is wow

    • @createdbykoko
      @createdbykoko  11 дней назад

      thanks let me know if you have any questions! How is Flutter going for u? 💜

  • @gasim4896
    @gasim4896 12 дней назад +1

    💜

  • @arbaazbaiga1699
    @arbaazbaiga1699 10 дней назад

    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

    • @createdbykoko
      @createdbykoko  10 дней назад

      @@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

  • @craigpearson4622
    @craigpearson4622 11 дней назад +1

    💜

    • @createdbykoko
      @createdbykoko  11 дней назад

      thanks for watching 💜 Hope it help! How is Flutter going for u?

  • @Js7b3twjka7h
    @Js7b3twjka7h 11 дней назад +1

    💜💜

    • @createdbykoko
      @createdbykoko  11 дней назад

      thanks for watching. How is flutter going for you? 💜

  • @funnyfailsvids-o2
    @funnyfailsvids-o2 8 дней назад

    Hey bro, you got a MacBook to give away? I don't have a personal computer

  • @KunalThakur-x6n
    @KunalThakur-x6n 11 дней назад

    source code

  • @MohamedRaasith-pw9tx
    @MohamedRaasith-pw9tx 12 дней назад +1

    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

  • @senseisyntaxerror
    @senseisyntaxerror 11 дней назад +1

    💜

    • @createdbykoko
      @createdbykoko  11 дней назад

      thank you 💜 How is flutter going for u!?

  • @reaganza23
    @reaganza23 11 дней назад +1

    💜

  • @PankajNikam
    @PankajNikam 11 дней назад

    💜

  • @MrNobleme
    @MrNobleme 9 дней назад

    💜

  • @michaelikebude953
    @michaelikebude953 День назад +1

    💜