Android Push Notification Using Firebase Cloud Messaging in Kotlin | GeeksforGeeks

Поделиться
HTML-код
  • Опубликовано: 29 авг 2021
  • In this video, we're going to create a simple Android Application with the functionality of Push Notification using Firebase Cloud Messaging in Kotlin. The Firebase Cloud Messaging (FCM) is a real-time solution for sending notifications to client apps without any kind of charge. FCM can reliably transfer notifications of up to 4Kb of payload. In this project, we'll get to see how this service can be availed. So, let's get started now.
    Check Out the Related Articles:
    Push Notification in Android using Firebase Cloud Messaging [www.geeksforgeeks.org/how-to-...]
    Complete Android Tutorial [www.geeksforgeeks.org/android...]
    Apply For Video Internship Program - script.geeksforgeeks.org/on-b...
    Our courses: practice.geeksforgeeks.org/co...
    This video is contributed by Abhay Maurya.
    Please Like, Comment, and Share the Video with your friends.
    #android ​#project #firebase #kotlin #appdevelopment #fcm
    Install our Android App:
    play.google.com/store/apps/de...
    If you wish, translate into the local language and help us reach millions of other geeks:
    ruclips.net/user/timedtext_cs_p...
    Follow us on our Social Media Handles -
    Twitter- / geeksforgeeks
    LinkedIn- / geeksforgeeks
    Facebook- / geeksforgeeks.org
    Instagram- geeks_for_g...
    Reddit- / geeksforgeeks
    Telegram- t.me/s/geeksforgeeks_official
    Also, Subscribe if you haven't already! :)

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

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

    The first time I saw your videos was like 3 months ago and it helped me to do the chat app, but incredibily now I am with notifications, ty for your help mate, the video was so clear that I got everything perfect with no errors or problems like with other tutorials.

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

    great video, only took one view to get it working. thanks a ton.

  • @MaricelaPotoc
    @MaricelaPotoc 2 года назад +8

    A very good video. Helped me a lot after days of searching. I am trying to build my first app and I had no idea that I could use Firebase to create notifications.

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

      how to make notification work with all versions of mobiles?

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

    You are the Best, Sir. Thank you very much

  • @axw-ei3fn
    @axw-ei3fn 2 года назад

    Thanks, bro this wonderful video. I understand very much.

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

    Awesome tutorial, I never used Android Studio and at the end of your video I got a notification on my device. Question, how to I get the Device Token so I can send push notifications from systems other than Firebase Test Messages?

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

    wonderful video greetings from Istanbul/Türkiye

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

    One of the best videos. very good. I have test it works successfully.

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

    this video is simply too good

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

    it works for me. thanks very much.

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

    you are great man
    Thank you very much

  • @gioacchinogarofalo2403
    @gioacchinogarofalo2403 22 дня назад

    Hi,
    first of all I would like to thank you for the clarity of your videos.
    I made an app based on your video about the chat and I would like to integrate it with the current notification. Unfortunately for me, however, you start the notification from firebase and instead I am interested in having the notification arrive when a user sends a message to the recipient and then reply to the message. Have you already done something like this? Can you give me a hand please?

  • @muhannddh
    @muhannddh Год назад +9

    why there is no GitHub for the source Code ?

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

    Tutorial excelente!!

  • @sksuman4400
    @sksuman4400 2 года назад +10

    it's regarding android push notifications.
    It's working fine for the Android version lower than oreo(API level 26 ). But above oreo (API level 26 ), the push notifications are not coming when the app is closed.

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

    Excellent!!!!

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

    The notification text doesn't fit in the notification prompt screen like in your example, I see the icon and part of the title and it cuts off at the bottom, I had to remove your top and left padding for it to work ok. Otherwise, good tutorial, thanks. It's a shame you have to do so much work just for a notification!

  • @federico4122
    @federico4122 Год назад +2

    How to send to specific user? from application when press one button

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

    I am noob in android studio, same steps should follow for java?

  • @Kaito-rt4ux
    @Kaito-rt4ux 8 месяцев назад

    Is there a way to send a fixed notification automatically when there is a changed in realtime database of firebase without using fcm? or notification console?

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

    he can only run on emulator dan notification can't when I try it directly on the device?. wyh is that ?

  • @andonisgaja7379
    @andonisgaja7379 6 месяцев назад +1

    Not working at all :(

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

    Please sir it's request of all of the viewers
    .please start making vedios on fkutter please please please please

  • @HSinhori
    @HSinhori 6 месяцев назад

    aqui se o app está em primeiro plano ele fecha abruptamente, só funciona com ele fechado ou em segundo plano, como posso resolver?

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

    How to send message using kotlin...? Anywhere kotlin message sending is not mentioned.... On notification receive is there... Why???

  • @robertpeschke7746
    @robertpeschke7746 7 месяцев назад

    You may need to update this video for TargetSDK 33

  • @user-jk1uh7qe3x
    @user-jk1uh7qe3x Год назад

    post video about push notification using firebase cloud messaging in java

  • @christiancasanova4176
    @christiancasanova4176 Год назад +5

    doesn't work anymore

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

    Please start making apps using flutter we all want to learn flutter

    • @brucebaker744
      @brucebaker744 2 года назад +6

      stop being lazy and learn native code...it'll make you a better programmer.

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

    In the channel name in App Info, it says Miscellaneous. How do I change that? Please help.

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

      Found out. We have to create a default channel Id in the Manifest file. Otherwise, Android will send our notifications in the Miscellaneous channel.

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

    This did not work for me, I tried everything but to no avail. I did try to implement it in my exist code and not a seperate app. May be I will try in separate application.

    • @brianmelita8447
      @brianmelita8447 8 месяцев назад

      check app setting and enable notification

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

    Hello, I made a push notification but I can't show the message on the screen 35:16

    • @HSinhori
      @HSinhori 6 месяцев назад

      to com o mesmo problema

  • @Nidzo80
    @Nidzo80 6 месяцев назад

    Does not work with Android 13

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

    Can you add Turkish subtitles?

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

      Hindi, available

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

      ytnin altyazsını kullansana knk

  • @s.m.imranahmed131
    @s.m.imranahmed131 2 года назад +2

    This notification will not work while app is killed or background

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

      This is false I have tested the app while it was killed or closed and the notifications arrived after some 30s

  • @sarcastic_hi6526
    @sarcastic_hi6526 10 месяцев назад

    source code??

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

    The amount of work just to get simple app push notifications is super dumb.

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

    Definitely not the feature I was looking for, been trying to send notifications from one device to another.

  • @longtran1871
    @longtran1871 Год назад +3

    it's doesn't work

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

      yea : (

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

      it work for me. notification appear several minutes after send.