Flutter Tutorial - Local Push Notifications 1/2 | Android & iOS

Поделиться
HTML-код
  • Опубликовано: 30 ноя 2024

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

  • @HeyFlutter
    @HeyFlutter  Год назад

    👉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

  • @ehabt-4835
    @ehabt-4835 2 года назад +11

    Important note: The 'IOS' prefix keyword has been replaced by 'Darwin' keyword. IOSInitializationSettings and IOSNotificationDetails are now DarwinNotificationDetails and DarwinInitializationSettings

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Thanks for updating, Ehab T-48! 🙂

    • @JSquiff
      @JSquiff Год назад

      Thanks for this!

    • @benbaffoe5461
      @benbaffoe5461 4 месяца назад

      ​@@HeyFlutter Hello please do you know how to use send notifications from one device to other using local push notification and polling

  • @Ronobuildstech
    @Ronobuildstech 2 года назад +4

    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)

    • @HeyFlutter
      @HeyFlutter  2 года назад +1

      Thank you, Ret Rono! 🙂

  • @kamilabduvaliev28
    @kamilabduvaliev28 3 года назад +24

    Hi, why you didn't mention that in order to schedule notification we need to add package timezone. I got confused for a while

  • @haroldpepete
    @haroldpepete 3 года назад +18

    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

    • @bluyetiinc7553
      @bluyetiinc7553 3 года назад +1

      I'll second that. Perhaps multiple medals.

  • @fahadmustafa650
    @fahadmustafa650 Год назад +1

    thank you man for saving my life

    • @HeyFlutter
      @HeyFlutter  Год назад +1

      You’re most welcome, Fahad Mustafa! 🙂

  • @syndromx
    @syndromx 3 года назад +22

    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.

  • @zaydc7316
    @zaydc7316 2 года назад +1

    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!

    • @suthanraju4314
      @suthanraju4314 2 года назад +1

      send the package can?

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Great, thank you, @zaydc7316! 🙂👍

  • @souvikbanerjee1324
    @souvikbanerjee1324 3 года назад +2

    This channel is a real gold mine!

  • @rameshbuvi3384
    @rameshbuvi3384 3 года назад +3

    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.

  • @dipinsonwani4029
    @dipinsonwani4029 3 года назад +3

    Please make an updated tutorial for Flutter Firebase push notifications.

  • @yunismaruf
    @yunismaruf 2 года назад +4

    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}

    • @yunismaruf
      @yunismaruf 2 года назад

      @@HeyFlutter thanks its work now :)

    • @kems1592
      @kems1592 2 года назад

      how do i solve this?

    • @yunismaruf
      @yunismaruf 2 года назад

      @@kems1592 just complete watching the video and write some code else that he mentioned,
      Or follow the link that he attached.
      It will work

    • @kems1592
      @kems1592 2 года назад +1

      @@yunismaruf bet thank you

    • @kems1592
      @kems1592 2 года назад

      @@yunismaruf I only need the local simple notifications. Which part is the one we need to initialize from that error?

  • @matepanyeczky6404
    @matepanyeczky6404 3 года назад +6

    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?

    • @matepanyeczky6404
      @matepanyeczky6404 3 года назад +5

      Found the solution, dont forget about the permission :

  • @Ticnoticos
    @Ticnoticos 2 года назад +3

    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.

    • @Ticnoticos
      @Ticnoticos 2 года назад

      @@HeyFlutter thanks!

    • @sandradascalu848
      @sandradascalu848 2 года назад

      Hi! Can you help me with this? It seems like he deletes his comments.

    • @Ticnoticos
      @Ticnoticos 2 года назад

      @@sandradascalu848 tz is the same import but with another name. Like import ... as TZ

    • @qazaqforte
      @qazaqforte 2 года назад

      Why did he delete the comment? Just, why?

    • @Ticnoticos
      @Ticnoticos 2 года назад

      @@qazaqforte tz i remember, was the alias of the import

  • @rv9570
    @rv9570 2 года назад +1

    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 ?

  • @kamalCode
    @kamalCode 3 года назад +6

    Sir, SOLID PRINCIPLES and design patterns, clean code

  • @peacefulmeditation9128
    @peacefulmeditation9128 2 года назад +1

    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?

    • @HeyFlutter
      @HeyFlutter  2 года назад +1

      Thank You Peaceful Meditation! Follow this link: medium.com/flutter-community/local-notifications-in-flutter-746eb1d606c6
      I hope you will get your answer 🙂

    • @peacefulmeditation9128
      @peacefulmeditation9128 2 года назад

      @@HeyFlutter wow that’s great, thanks a lot!

  • @jonesmondejar1742
    @jonesmondejar1742 2 года назад +1

    this is so helpful, btw is there a tutorial on how to disable and enable push notifications using toggle buttons?

  • @fabsync
    @fabsync 2 года назад +2

    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

  • @mondelavictoria5453
    @mondelavictoria5453 2 года назад +11

    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

  • @derschmeidt2224
    @derschmeidt2224 9 месяцев назад

    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.

    • @HeyFlutter
      @HeyFlutter  9 месяцев назад

      Thank you, @derschmeidt2224! 🙂. Yes you can check their official documentation.

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

    Hey can also play audio with it on notification which I want to schedule daily for my application

  • @alvinimeje9899
    @alvinimeje9899 2 года назад

    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.

  • @muhitmahmud995
    @muhitmahmud995 3 года назад +1

    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?

  • @masterprogrammer3059
    @masterprogrammer3059 3 года назад +1

    I have a problem, When I click on the notification it does not take me to any page

  • @giorgoskoniakis7933
    @giorgoskoniakis7933 3 года назад +1

    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?

  • @vanRules92
    @vanRules92 Год назад

    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

    • @HeyFlutter
      @HeyFlutter  Год назад

      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 🙂

  • @akidfikriazhar1298
    @akidfikriazhar1298 3 года назад +2

    Nice one👍🏼👍🏼..can you make tutorial push notification with cloud function in firebase

  • @JoBj89
    @JoBj89 Год назад +1

    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

    • @HeyFlutter
      @HeyFlutter  Год назад

      Thank you, Giovanni Bruno! 🙂. Only few lines might change, you can search the alternatives for those on google.

    • @QwertyOti
      @QwertyOti Год назад

      Since the version 10.0.0: onSelectNotification has been changed to onDidReceiveNotificationResponse

  • @Amine0027
    @Amine0027 2 года назад

    Great video thank you man
    Just One note the notification initial is import for the firt example to work

  • @TheKingOfChemist
    @TheKingOfChemist 2 года назад +1

    He is not sharing his source code and asking money for it.

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Thank You Aswin Raaj!. I showed the main functionality, which is important for this package. Learn more about it here: github.com/JohannesMilke/sponsorware

  • @hawarhekmat1174
    @hawarhekmat1174 2 года назад +1

    With FCM wow, thanks for your great work :)

    • @HeyFlutter
      @HeyFlutter  2 года назад +1

      Glad I could be of help, Thank you Hawar Hekmat! 😊

  • @hafiztouseef6184
    @hafiztouseef6184 2 года назад +1

    Can you please remake this video with some changes

    • @HeyFlutter
      @HeyFlutter  2 года назад +1

      Thanks for the idea, Hafiz Touseef! 🙂 I have added it to my list of ideas for future videos!

  • @svarupdesai
    @svarupdesai 2 года назад

    Why you used rxdart for onselect method? Could we not redirect user to different screen by implementing navigation directly on onselect method?

  • @seetheworld3839
    @seetheworld3839 Год назад

    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?

    • @HeyFlutter
      @HeyFlutter  Год назад

      Hey 😊, @seetheworld3839! Check out this solution: stackoverflow.com/a/48405551 I hope this helps you

  • @balazsszelig4840
    @balazsszelig4840 2 года назад

    Thank you! You saved my new app!

    • @HeyFlutter
      @HeyFlutter  2 года назад +1

      You’re most welcome, Balázs Szélig! 🙂

  • @iGhostr
    @iGhostr 3 года назад

    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?

  • @Abolfazl-MI27
    @Abolfazl-MI27 3 года назад

    thanks for u r videos,I always use your viedoes as my first repo for leaninng !

  • @renz8167
    @renz8167 3 года назад

    How about for dormant app user?
    Example- it will notify the user after a week of inactivity.
    Thank you

  • @AkGaming-bd6wp
    @AkGaming-bd6wp 3 года назад +3

    I getting a null pointer exception in java 😕

    • @AkGaming-bd6wp
      @AkGaming-bd6wp 3 года назад +2

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

    • @luqmanthwaimer7941
      @luqmanthwaimer7941 3 года назад +1

      i got same error

    • @codeopold8241
      @codeopold8241 3 года назад

      @@luqmanthwaimer7941 same

    • @kems1592
      @kems1592 2 года назад

      @@AkGaming-bd6wp i got same error?you done yet?

    • @kems1592
      @kems1592 2 года назад

      @@luqmanthwaimer7941 i got same error?you done yet?

  • @christo_nimal291
    @christo_nimal291 Год назад

    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?

  • @hashankannangara8723
    @hashankannangara8723 Год назад

    Is there any way to open specific screen after tapped on a scheduled notification, when app is terminated (removed from background) ?

    • @HeyFlutter
      @HeyFlutter  Год назад

      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 🙂

  • @davidkanai6944
    @davidkanai6944 3 года назад +2

    fantastic work well explained

  • @yemenswift7117
    @yemenswift7117 2 года назад

    Thanks Mr.Johannes
    please update this video and explane latest version of flutter_local_notifications: ^12.0.2
    because we faced many problems.

    • @HeyFlutter
      @HeyFlutter  2 года назад +1

      Thanks for your feedback, Yemen Swift! 🙂

  • @muhamadhaydar8419
    @muhamadhaydar8419 2 года назад

    Such a nice explanation video about notification.

  • @rabbihossen9734
    @rabbihossen9734 2 года назад

    thanks. how can add local notification daily and user change time . with sharedpreferences .

  • @lovkeshsinghkhalsa
    @lovkeshsinghkhalsa 3 года назад

    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?

  • @ariuntsetsegmunhtulga3732
    @ariuntsetsegmunhtulga3732 2 года назад +3

    Oh Men , you made a lot of tutorials grateful and helpful to a new flutter developer. Thanks a lot

  • @subromen_india9776
    @subromen_india9776 2 года назад

    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);

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Thank you SubrOMEN_ India, make sure to follow the tutorial step by step 🙂

  • @reardelt
    @reardelt Год назад

    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?

    • @HeyFlutter
      @HeyFlutter  Год назад

      Thank you, JayJ! 🙂. Try to provide error message with yours question whenever you face any issue.

    • @reardelt
      @reardelt Год назад

      @@HeyFlutter Hi - That is the error message - "Too many positional arguments inputted".

  • @NinjaGaming-te6od
    @NinjaGaming-te6od 3 года назад

    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?

  • @luqmanthwaimer7941
    @luqmanthwaimer7941 3 года назад +1

    why do i get this error? Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference

    • @praveenkumar-bz3qi
      @praveenkumar-bz3qi 3 года назад

      I am also getting the same error with flutter 2.2.5

    • @luqmanthwaimer7941
      @luqmanthwaimer7941 3 года назад

      @@praveenkumar-bz3qi I found out you need to initialize it first, which he didn't mentioned in the tutorial.

    • @furqonn6505
      @furqonn6505 2 года назад

      @@luqmanthwaimer7941 Can you show how to do it, sir?, i'm a beginner and got this error too. Sorry for my bad english

    • @kems1592
      @kems1592 2 года назад

      @@luqmanthwaimer7941 is there any video to this?

  • @dogukanciftci8532
    @dogukanciftci8532 3 года назад

    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.

  • @jojkhan7577
    @jojkhan7577 2 года назад +3

    I am getting some errors (Unhandled Exception: LateInitializationError: Field '_local@98310200' has not been initialized.)

    • @jojkhan7577
      @jojkhan7577 2 года назад

      fixed by adding timezone Initialization on main page

    • @flutterpower
      @flutterpower 2 года назад

      @@jojkhan7577 10min30s tz.initializeTimeZones();

    • @neonmason1
      @neonmason1 2 года назад +1

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

    • @tananga1523
      @tananga1523 2 года назад +2

      I added tz.initializeTimeZones(); inside static Future init({bool initScheduled = false}) async and its works :)

    • @jojkhan7577
      @jojkhan7577 2 года назад

      @@neonmason1 i dont remember bro

  • @takirajani2693
    @takirajani2693 2 года назад

    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?

    • @HeyFlutter
      @HeyFlutter  2 года назад

      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

    • @takirajani2693
      @takirajani2693 2 года назад

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

  • @lahceneguenane1848
    @lahceneguenane1848 2 года назад

    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

  • @aravind2339
    @aravind2339 Год назад

    I have followed your video for creating scheduled notification but am not getting any notification, is this implementation still working ?

    • @HeyFlutter
      @HeyFlutter  Год назад

      Thank you, Aravind! 🙂. There might be slightly changes, but I am not sure.

  • @kareemobaid6618
    @kareemobaid6618 2 года назад

    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

    • @kareemobaid6618
      @kareemobaid6618 2 года назад

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

  • @tekocode
    @tekocode 3 года назад

    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

  • @kameshsingh9402
    @kameshsingh9402 Месяц назад

    where does the TIme() method comes form ?

  • @erikapueblo6871
    @erikapueblo6871 2 года назад

    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!

  • @Mohamed19Aamer
    @Mohamed19Aamer 2 года назад

    What are your dependencies?

  • @saujanbindukar8717
    @saujanbindukar8717 2 года назад +1

    How to add user avatar on background notifications?

  • @reemaahuja8397
    @reemaahuja8397 2 года назад

    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.

    • @HeyFlutter
      @HeyFlutter  2 года назад

      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 🙂

    • @reemaahuja8397
      @reemaahuja8397 2 года назад

      @@HeyFlutter yes I have tried all these .. But the problem is they work as intented on android but in ios they don't.

  • @mahmood466
    @mahmood466 2 года назад +1

    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!

    • @HeyFlutter
      @HeyFlutter  2 года назад +1

      Thanks for the idea, Sayed Mahmood! 🙂 I have added it to my list of ideas for future videos!

    • @chhatrapatikumar7311
      @chhatrapatikumar7311 11 месяцев назад

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

  • @ahmadashraf7701
    @ahmadashraf7701 2 года назад

    hello Johannes Milke, what if i want Send a notification every day until a specific day,
    that doesn't work for me

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Thank You Ahmad Ashraf! Follow this link: stackoverflow.com/questions/63415066/schedule-notification-everyday-for-flutter
      I hope you will get your answer 🙂

  • @jasminesy4440
    @jasminesy4440 2 года назад

    I did it exactly and the progaram is working but when i push the button the notefication dosen't appear

  • @arnaudduquenoy2061
    @arnaudduquenoy2061 3 года назад +2

    For me it is not running on Ios simulator with flutter 2.2.1 (error)

  • @abdullahawad385
    @abdullahawad385 2 года назад

    TZDateTime is that from timezone package as it's not working

  • @mohamedalmir3400
    @mohamedalmir3400 Год назад

    Thanks for the help man, but the access for the source code is impossible :c

  • @SugerNoor1996
    @SugerNoor1996 2 года назад

    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.

    • @SugerNoor1996
      @SugerNoor1996 2 года назад

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

  • @manishmg3994
    @manishmg3994 2 года назад

    mipmap launcher icon is not showing in notification pan,Any Solution ,can we pass any assets file path as string

  • @davidsturm2823
    @davidsturm2823 Год назад

    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 :/

    • @HeyFlutter
      @HeyFlutter  Год назад

      Thank You David Sturm! Follow this link: nitishk72.medium.com/flutter-local-notification-1e43a353877b
      I hope you will get your answer 🙂

  • @_CSE_PRATHISWARANGR
    @_CSE_PRATHISWARANGR Год назад +1

    Simple notification is not working

    • @HeyFlutter
      @HeyFlutter  Год назад

      Thank you @_CSE_PRATHISWARANGR, make sure to follow the tutorial step by step 🙂

  • @sazzadhossain9992
    @sazzadhossain9992 3 года назад

    Is it possible to show an alert dialogue instead of local notification when app is running for scheduled notification?

  • @jouhny3061
    @jouhny3061 2 года назад

    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.

  • @ismailduo
    @ismailduo 2 года назад

    Thank you so much, you have a great talent.

  • @rv9570
    @rv9570 2 года назад

    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 ?

    • @rv9570
      @rv9570 2 года назад

      @@HeyFlutter i checked again but when the app is killed its not working. Anyway thanks

  • @desdrianton5993
    @desdrianton5993 3 года назад

    You save my time man, great!

  • @mehmetakifsayrm4152
    @mehmetakifsayrm4152 2 года назад

    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

  • @jemmytech5474
    @jemmytech5474 3 года назад

    Thank you so much you made my day.

  • @johnsunnyjohnsunny4296
    @johnsunnyjohnsunny4296 2 года назад

    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

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Thank you, johnsunny! 🙂 you can refer using fcm for network notifications

  • @hosainabdellatif6389
    @hosainabdellatif6389 3 года назад +1

    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

  • @ayusmanchiranjibi6007
    @ayusmanchiranjibi6007 3 года назад

    Is it possible to use a notification badge to use with local scheduled notifications or execute a function once a schedule notification is shown?

  • @fbwz3039
    @fbwz3039 2 года назад

    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?

  • @ahmedjawad7350
    @ahmedjawad7350 3 года назад

    thanks for make so clear Joh.

  • @amandwivedi7413
    @amandwivedi7413 3 года назад

    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

  • @jerryjonesmondejar4162
    @jerryjonesmondejar4162 2 года назад

    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!

    • @jerryjonesmondejar4162
      @jerryjonesmondejar4162 2 года назад

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

    • @jerryjonesmondejar4162
      @jerryjonesmondejar4162 2 года назад

      @@HeyFlutter i just followed your tutorial on this video

    • @jerryjonesmondejar4162
      @jerryjonesmondejar4162 2 года назад

      @@HeyFlutter i would really appreciate your help if possible.

  • @marcellocamara
    @marcellocamara 3 года назад

    It`s possible to cancel only a specific scheduled notification and preserve others?

  • @LuxyX
    @LuxyX Год назад

    How do I make my app to send a notification every hour?

    • @HeyFlutter
      @HeyFlutter  Год назад

      Thank You Luxy Lucent! Follow this link: stackoverflow.com/questions/69414735/flutter-notifications-after-one-hour
      I hope you will get your answer 🙂

  • @templetonmeshack2816
    @templetonmeshack2816 2 года назад

    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?

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Hello, Templeton Meshack! Follow this link: nitishk72.medium.com/flutter-local-notification-1e43a353877b,
      I hope it will solve your problem. Thank You 🙂

  • @himesh_89
    @himesh_89 3 года назад

    The content you post are so high level..👍

  • @sherifelsharbatly9177
    @sherifelsharbatly9177 2 года назад

    Thx for the great video but i have a problem
    local notification sometimes doesn't work

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Thank You Sherif el sharbatly! Follow this link: nitishk72.medium.com/flutter-local-notification-1e43a353877b
      I hope you will get your answer 🙂

  • @mcmp3657
    @mcmp3657 2 года назад

    What if we are sending only data {} in message,how to handle that in background and terminated state

  • @samadshukr4111
    @samadshukr4111 3 года назад

    Does it show notifications when the app dead(close) for the IOS or you have to be in the app?

  • @zakblacki
    @zakblacki 3 года назад

    what about scheduled notification with user input on the UI instead of button click manually

  • @alexyan7245
    @alexyan7245 2 года назад

    do you have push notification with php mysql sir?

  • @vinitsoni6891
    @vinitsoni6891 2 года назад

    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

    • @vinitsoni6891
      @vinitsoni6891 2 года назад

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

    • @vinitsoni6891
      @vinitsoni6891 2 года назад

      I will send the method code as soon as possible.

  • @kaitoxtream
    @kaitoxtream 3 года назад

    Um, what about a snooze button on the notification? Like snoozing the audio player for alarm. Thanks for the tutorial tho.

  • @clairehausman
    @clairehausman Год назад

    Before I put the timezone package,when I run the app it´s giving me an error of versions. Has anyone experienced this problem?

    • @HeyFlutter
      @HeyFlutter  Год назад

      Thank you, @clairehausman! 🙂. Please try to provide enough details with your question