How to send Android Push Notifications with Firebase Cloud Messaging

Поділитися
Вставка
  • Опубліковано 17 жов 2022
  • How to send Android push notifications with Firebase cloud messaging in Android Studio.
    Source Code:
    Updated: drive.google.com/file/d/1YEYt...
    Old Code: drive.google.com/file/d/15a__...
    === Get more videos: ===
    How to fix Android Push Notification not showing when the app is Open
    • Firebase Push Notifica...
    How to install the android studio update version on Windows 10/11
    • Video
    HAXM is required to run this AVD in Android Studio
    • HAXM is required to ru...
    Android Navigation Drawer Menu and Activity Easy Method
    • Android Navigation cus...
    How to add Admob Banner Ads in Android App
    • How to implement Admob...
    How To Reskin App Source Code In Android Studio
    • How to Reskin App Sour...
    How To Implement Admob Interstitial Ads Android Studio
    • How To Implement Admob...
    Topics addressed in this Tutorial:
    Firebase Push notification android
    How to send Android Push Notifications with Firebase Cloud Messaging
    How to send Android Push Notifications with FCN
  • Наука та технологія

КОМЕНТАРІ • 76

  • @seadas71
    @seadas71 Рік тому +1

    is this possibile using like destination Flutterflow?

  • @stuckvideo6397
    @stuckvideo6397 Місяць тому +1

    I have a problem is that when i connect to firebase i choose "add to to your app" it sync but it dont have tick it like video

    • @SNA_Tech
      @SNA_Tech  Місяць тому

      Thanks for your comment. Hard to tell the solution without seeing the screenshot. Hwoever You can try again according to tutorial with fast internet spead.

  • @faisalshohag6976
    @faisalshohag6976 Рік тому

    It works for me! Thank you!

  • @jeffreykhalife995
    @jeffreykhalife995 12 днів тому +1

    for the updated version of the code, we do not have the subscribe code snippet to add?

    • @SNA_Tech
      @SNA_Tech  12 днів тому

      Thanks for your opinion.

  • @monikajaiswal6344
    @monikajaiswal6344 Рік тому +1

    It worked for me
    Thank you

  • @ShekinahDeDeus_
    @ShekinahDeDeus_ Рік тому +4

    thank you. simple and works
    😀😀

  • @Abu_zakep
    @Abu_zakep Місяць тому +1

    thanks bruhhh❤❤

    • @SNA_Tech
      @SNA_Tech  Місяць тому

      You are most welcome

  • @user-vy7fl2jo6k
    @user-vy7fl2jo6k Рік тому +1

    i want to make an app in that shows message for call duration and charges on ending calls with default phone app

    • @SNA_Tech
      @SNA_Tech  Рік тому

      Thanks for your interest. Stay with us

  • @shabmasry2010
    @shabmasry2010 Рік тому +2

    perfect it also works on webview like boom

    • @SNA_Tech
      @SNA_Tech  Рік тому

      Thanks for your comment

  • @nesarosso759
    @nesarosso759 5 місяців тому +1

    sir I have a problem, when I send the notification the app crash, can u help me pls?

    • @SNA_Tech
      @SNA_Tech  5 місяців тому

      Thanks for ur comment. Watch the video carefully. Practice step by step, don't practice all at once.

  • @tvidyakiran
    @tvidyakiran 7 місяців тому +1

    Thanks a Lot Brother.

    • @SNA_Tech
      @SNA_Tech  7 місяців тому

      You are most welcome

  • @diamondonline7925
    @diamondonline7925 Рік тому +1

    Thanks Brother

  • @DiaryFishers
    @DiaryFishers Рік тому +1

    Thank you but On Android 12 my app is not receiving push notifications.
    Phones with Android 11 and below do receive the push notifications.
    Please Help Me

    • @SNA_Tech
      @SNA_Tech  Рік тому

      Thanks for your comment. I am already using it on Android 13. It works fine. When opening the app for the first time click allow notification. Send notification when app is not open.

    • @DiaryFishers
      @DiaryFishers Рік тому +1

      @@SNA_Tech thanks o will try it

    • @SNA_Tech
      @SNA_Tech  Рік тому

      You can watch this latest Firebase push notification tutorial. ua-cam.com/video/qj_4jIgHJPM/v-deo.html

  • @redstarentertainment2621
    @redstarentertainment2621 6 місяців тому +1

    Does this receive OTP in the background when the app is closed (terminated from the app drawer) ?

    • @SNA_Tech
      @SNA_Tech  6 місяців тому

      Thank you for ur comment. OTP related tutorials are coming soon.

    • @redstarentertainment2621
      @redstarentertainment2621 6 місяців тому +1

      @@SNA_Tech Please start asap. I am having issues with receiving notifications in the background. I am a PHP dev and I am not very much good in android dev. However, I know that my issue has something to do with BroadcastReceivers and/or Service. But how to do it, I have no idea. Please start asap. Need it very urgent. It's a request. And please explain with voice in video and please do not use any bg music for best viewing and understandability. Thanks ❤️

    • @SNA_Tech
      @SNA_Tech  6 місяців тому

      Thanks for your opinion.

  • @kaze99404
    @kaze99404 Рік тому +1

    hello sir, what if the message is delivered but so delayed. my notification comes after few minutes

    • @SNA_Tech
      @SNA_Tech  Рік тому

      You are most welcome

    • @ayushyakumar1520
      @ayushyakumar1520 Рік тому +1

      Same problem solution Milla ..?

    • @SNA_Tech
      @SNA_Tech  Рік тому

      Thanks for your comment. Generally, it takes a few minutes. This video may help you ua-cam.com/video/qj_4jIgHJPM/v-deo.html

  • @pabloo3588
    @pabloo3588 Рік тому +2

    im doing the same things but still cant get Notifications :(

    • @SNA_Tech
      @SNA_Tech  Рік тому

      Thanks for your comment. Code is 100% working. You seem to be making a mistake somewhere.

  • @rahulav8564
    @rahulav8564 7 місяців тому +1

    thank you bro!

    • @SNA_Tech
      @SNA_Tech  7 місяців тому

      Thanks for your comment. Push notification updated tutorial for android 13+ is coming soon. Stay with us to get a push notification tutorial series for Android 13+.

  • @PopCapMusicTrending
    @PopCapMusicTrending 3 місяці тому +1

    Thanks

    • @SNA_Tech
      @SNA_Tech  3 місяці тому

      You are most welcome

  • @silentplease4483
    @silentplease4483 Рік тому

    🙄bro now you are telling push notifications in manufally using firebase. But I want push notifications code when I insert the data to firebase database then automatically push notifications came to all user app ... Please help me...

    • @SNA_Tech
      @SNA_Tech  Рік тому

      Thanks for your comment. Stay with SNA Tech.

    • @waelayoub3426
      @waelayoub3426 Рік тому

      same problem, did you find how to do it?

  • @qwerty6713
    @qwerty6713 Рік тому +1

    Thanks very much

  • @appsgram.solutions
    @appsgram.solutions Рік тому +1

    thanks....worked...but notification icon is different..in your video too its Circular but we choose notification icon different in code...how it cud be changed?

  • @MyOWAIS786
    @MyOWAIS786 Рік тому

    Hi sir push notifications hide content after some hours plz guide how to fix it

  • @lukedirsuwei664
    @lukedirsuwei664 10 місяців тому +1

    This intro slaps 💢

    • @SNA_Tech
      @SNA_Tech  10 місяців тому

      Thanks for ur comment.

  • @quocaan05
    @quocaan05 Рік тому +1

    it working, i have a question, why my device is delayed notification 30 to 1 minute?

    • @SNA_Tech
      @SNA_Tech  Рік тому

      Thanks for your comment. Generally it takes 1 to 30 minutes. For trail you can use token in test message option.

  • @sotter_phot
    @sotter_phot Рік тому +1

    Sir I worked the same way you showed but I don't get any notification on mobile, now what should I do, I tried a lot,

    • @SNA_Tech
      @SNA_Tech  Рік тому

      Thanks for your comment. Make sure your smart phone specific app notification turn on.

    • @sotter_phot
      @sotter_phot Рік тому +1

      @SNA_Tech Sir confirmed I connected that app,

    • @SNA_Tech
      @SNA_Tech  Рік тому

      @@sotter_phot close the app then send notification

    • @sotter_phot
      @sotter_phot Рік тому +1

      @SNA_Tech Sir has worked, are you from Bangladesh?

    • @SNA_Tech
      @SNA_Tech  Рік тому

      @@sotter_phot Yes, Glad to hear it's working.

  • @sayan4311
    @sayan4311 Рік тому +1

    Nice

    • @SNA_Tech
      @SNA_Tech  Рік тому

      Thanks for your comment

  • @Ayushsharma-qc7qx
    @Ayushsharma-qc7qx 8 місяців тому +1

    How can we use in kotlin

    • @SNA_Tech
      @SNA_Tech  8 місяців тому

      Thank you so much for your comment. I think the following article will help you
      developer.android.com/kotlin/add-kotlin

  • @toshfarmi
    @toshfarmi 10 місяців тому +1

    works

    • @SNA_Tech
      @SNA_Tech  10 місяців тому

      Sounds good, Go ahead!

  • @ToTo-ew1zb
    @ToTo-ew1zb Рік тому +1

    it not error but not works.....

    • @SNA_Tech
      @SNA_Tech  Рік тому

      Thanks for your comment. Plz Re-cheek, are there any codes missing?

    • @SNA_Tech
      @SNA_Tech  Рік тому

      Thanks for your comment. Generally, it takes a few minutes. This video may help you ua-cam.com/video/qj_4jIgHJPM/v-deo.html

  • @hoxhero
    @hoxhero Рік тому +1

    It no works for me! Thank you

    • @SNA_Tech
      @SNA_Tech  Рік тому

      Thanks for your comment. Can you tell the android version?

    • @hoxhero
      @hoxhero Рік тому

      @@SNA_Tech the last version

    • @SNA_Tech
      @SNA_Tech  Рік тому +1

      @@hoxhero make sure the app is closed when sending push notifications. wait for next tutorial, how to fix Android Push Notification not showing when the app is Open/Running

    • @SNA_Tech
      @SNA_Tech  Рік тому

      This video may help you ua-cam.com/video/qj_4jIgHJPM/v-deo.html