Push Notification with Flutter | Flutter & Firebase Advance Tutorial For Beginners (Updated)

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

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

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

    Join Now 💗
    Source code is posted on community post for members !
    ruclips.net/user/backslashflutterjoin

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

      Couldn't find the source code there ,

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

      once you become the member, then it will automatically show you mate ! 💞

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

      Hello Dear BackSlash, I finished the project and I'm getting running and background notifications but it takes time like 2 or 3 minutes to receive. Do you know a way to reduce the time to deliver notifications?

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

    seeing first vedio from your channel & liked the way you are teaching , very helpful for beginners .
    THANKS

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

      I was really not in good mental health, but after seeing this comment you made my day mate! Thank you so much❤️

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

    Hi, pro. firstly I would like to thank you thousand times for your videos
    but I just have one little comment if you can become slower while talking,
    And transition between screens, you will be really amazing thanks for understanding

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

    Thanks for sharing your knowledge. How to add this entire code in case of multiple screens. On which screen will all this code be written? In Login Screen or elsewhere.

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

      You can learn from the logic in this case, and then integrate to your code. If you are just in need of sending the push notification and not making any complex tasks, then I will also suggest to have a look at onesignal package, it has the pub.dev listing for flutter developer and the integration is just 1 2 lines of code

  • @DeepakKumar-fp8vd
    @DeepakKumar-fp8vd 2 года назад

    Sir it is very helpful video for me nd you re doing febulous work even you're suffering from cold . Thank you for your knowledge. Take care nd take medicine 🙂

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

    can you help in sending the notification programically from a flutter app to another one...would be helpfull...

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

    Thank you sir,
    very nice video and i subscribed your channel.
    sir i have one question is i am the beginner in flutter so...i am working on one app which like posting some post app so when user post some thing then i want to send notification to all app user. php backend. plase sir reply me. (you have any video on this topic?).
    once again thank you soo much sir for this video.

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

      please consider going through firebase cloud messaging documentation. You can send POST notifciation to user's device but then this involve lot of things to be created. like firstly storing user's fcm Token which is the device token in usermodel. Then sending push notification to that user.

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

    super bro

  • @DiogoLima-yp3nh
    @DiogoLima-yp3nh 2 года назад +2

    Does it work with NotificationExtension on IOS?

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

    please increase the font size in your future tutorials

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

    how to add onLunch Func

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

    Bro I need help,
    I have a messaging app and Im not using firebase messaging with it because it has group messages do you have any idea how I can add notifications if data is created or deleted in cloud firestore just detect changes and notify something like that.

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

      u can clone some chat app from github, they have proper implementation for push notification functionality

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

    I am getting errors while creating statefulwidget.
    It says classes can't be declared inside other classes.

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

      can you please use this shorthand stfl for creating stateful widget.

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

    Will you please guide me? My problem is how do we send notification from firebase to all users when a data is updated from admin panel.

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

      bro, this thing is not at all concerned with handling some other admin panel. Right now the only integration that we did in the video was with our flutter code and the firebase server. So in future, if I work with custom admin panel, then will definitely let you know

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

      @@backslashflutter thnx alot

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

    cool

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

    How do you send a notification?

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

    when user A is following user B how can display notification to user A when user B uploaded a post

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

      That is something more advanced when it comes to firebase cloud messaging, In future, will definitely get this integrated.

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

    I want to look at this tutorial, but before that can somebody tell me if this will work in iOS app also ?

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

    Using this can we send notifications like telegram? Like if someone from my contact registers in the app I will get a notification about that.

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

      not yet right now, this is not that advance as of now

  • @alimasarra-developmentteam5724
    @alimasarra-developmentteam5724 2 года назад +1

    it works well on android, but on ios not receiving notification although permission granted

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

      thanks for commenting. Can you share the detail for any error that you are facing. If without facing any error also there is nothing shown. Then give me a day's time will see into this. Actually my mac is little bit old, so running xcode on it results in lags. So will see the documentation for you ;)

    • @alimasarra-developmentteam5724
      @alimasarra-developmentteam5724 2 года назад +1

      @@backslashflutter i am trying to see whats wrong, no error shown!
      really thank you for the video and for your time.

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

      thank u sir 💗

    • @alimasarra-developmentteam5724
      @alimasarra-developmentteam5724 2 года назад +3

      @@backslashflutter you need to have an developer apple ID, enroll for development, wait to get accepted, get development and production certificates, and get auth key, need to add them in the firebase console, then it will work!
      apple is complicated!

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

      🤧

  • @shar.k
    @shar.k 2 года назад +1

    I want to send notification on press of a button from flutter app

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

      In this tutorial, in the terminated part section we have implemented the click_action functionality, and there is more advance use of it which can be done.
      first you see this link, and get a basic overview of how things work.
      Then you can look at using the button for notification.

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

      stackoverflow.com/questions/48403786/how-to-open-particular-screen-on-clicking-on-push-notification-for-flutter

    • @shar.k
      @shar.k 2 года назад +1

      @@backslashflutter I want to send cloud notification from my admin app

    • @shar.k
      @shar.k 2 года назад +1

      Like if I press send message button in UI it should deliver message

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

      you need to add both the app of admin and user app to the existing firebase project.
      for now, I don't know exactly much on this, but will search for some solutions

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

    can you help me on my application project ))(how to contact with you )

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

      @@backslashflutter how I will get your number

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

      Thank you so much for becoming the member. You are the first member for this channel. In the community post for members there is the contact details :)

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

    I have problem with background message when application terminated. I already try to make Application.kt file in android folder but it's still not work.
    I test it with Xiaomi and Oppo phone.

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

      I've the same problem

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

      @@varshilshah98 already solved. Actually I don't need to create Application.kt. First you must run app with connected usb testing first (just test on message is enough). After that you must disconnected the usb, close the app, and run the app once again,, and then test it start from front message then close app, then test background message. I hope it helps

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

      It feels so good to have people like you in the community who are helping others. I am trying to respond to 200+ comments daily, but then this will become more better with more and more people like you

  • @DK-pf2dg
    @DK-pf2dg 2 года назад

    Sir how to integrate this with iOS?

  • @divyanshsingh.xii.g8986
    @divyanshsingh.xii.g8986 2 года назад +1

    Ok

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

    Keyboard sounds are too irritating. Please use a good keyboard.

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

    code link

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

    Terminated State notifications not working

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

      have you added the action click?
      if you done everything that was told in the video, then do go to the Firebase messaging package pub.dev link and see there will be options for explicitly defining the push notification

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

      @@backslashflutter yes, i added. it seems like there are changes in your code not updated in the video that made your code work or something

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

      noop, will run the same code again for you