Android PushNotification Using Firebase and PHP 2021 | Android Studio | Java | PHP | Firebase

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024
  • Description:
    Android and PHP Project Files: drive.google.c...
    Information Links:
    To Build notification: developer.andr...
    Firebase REST API Guides:
    firebase.googl...
    firebase.googl...
    #firebase #2k21 #2021 #phpscript #android #androidstudio #pushnotification #pushnotification2021

ความคิดเห็น • 51

  • @ahmedismail-gf1mq
    @ahmedismail-gf1mq 3 ปีที่แล้ว

    how to get the API KEY ? kery= ??

    • @softwaredeveloper9205
      @softwaredeveloper9205  2 ปีที่แล้ว +2

      Api-key is the server-key of firebase cloud messaging.
      Select your project-> click on settings icon & select project settings-> select Cloud Messaging tab and get the server key from there

  • @anicelioleite9473
    @anicelioleite9473 3 ปีที่แล้ว +5

    I'm watching from Angola (Africa). Great tutorial, thanks!

  • @hejabibani7973
    @hejabibani7973 3 ปีที่แล้ว +5

    Just wanted to let you know when you set up the dependency it updated the project with the deprecated implementation 'com.google.firebase:firebase-messaging:20.1.0' while you use the implementation 'com.google.firebase:firebase-messaging:21.0.1', this causes a problem for the "FirebaseMessaging.getInstance().getToken().addOnCompleteListener" in the getToken() function, and it states that it is an unknown reference. Thanks for your help.

  • @socialcodia1202
    @socialcodia1202 3 ปีที่แล้ว +1

    Thanks a lot bro. The notification was working, when I changed the _minSdkVersion_ from *24* to *21* , The notification is not coming.

  • @KayeChastineVillanueva
    @KayeChastineVillanueva 11 หลายเดือนก่อน

    Can i have the link for the sharedeskpc? I can't search it

  • @hadsonmarcelogomes
    @hadsonmarcelogomes 2 ปีที่แล้ว +1

    You save my day - from Brazil

  • @georgecivicjpp5625
    @georgecivicjpp5625 3 ปีที่แล้ว +4

    Hello. Great Tutorial! Please, Can you add and show us the functionallity to save token in mysql database ? Thanks.

  • @subramani.m1202
    @subramani.m1202 3 ปีที่แล้ว +1

    It is not working for me , I get service not available

  • @cuongbien2415
    @cuongbien2415 2 ปีที่แล้ว +1

    Thank you so much!

  • @antonantochi8498
    @antonantochi8498 2 ปีที่แล้ว

    hey hey hey, indian man, where am I supposed to gather API key from?!

    • @softwaredeveloper9205
      @softwaredeveloper9205  2 ปีที่แล้ว

      Api-key is the server-key of firebase cloud messaging.
      Select your project-> click on settings icon & select project settings-> select Cloud Messaging tab and get the server key from there

  • @adamsadmane
    @adamsadmane ปีที่แล้ว

    icon of notification

  • @maliksoft3675
    @maliksoft3675 3 ปีที่แล้ว +1

    very well explanation nice thanks for sharing .

  • @MrGedanggoreng
    @MrGedanggoreng 2 ปีที่แล้ว +1

    Come on, Guys. 6,6 K views but only 49 subs??? It won't cost you even a single penny to click Subscribe, eh? Btw, great tutorial, mate. Keep it up. You got one more subs in me.

    • @softwaredeveloper9205
      @softwaredeveloper9205  2 ปีที่แล้ว +1

      Thank you buddy ✌️😁 appreciate your words 😊, it great if i have some good amount of subscribers it makes me motivated

  • @aymandoukkali7789
    @aymandoukkali7789 3 ปีที่แล้ว +1

    Thank you so much! If I want to send the message for all users that have the app, what can I put in "to" of PHP code?

  • @zenpardosi
    @zenpardosi 3 ปีที่แล้ว +1

    Thanks a lot Software Developer!

  • @adielmoran6986
    @adielmoran6986 2 ปีที่แล้ว +1

    Hello good video, how can I pass the token as a parameter to php?

  • @manbo_q
    @manbo_q 2 ปีที่แล้ว +1

    very good!! Thanks to you, I learned a lot.

  • @kutiguy5461
    @kutiguy5461 2 ปีที่แล้ว

    how to do the reverse boss?
    I want to read notifications from my andriod phone and send them to a sql server with the date and time of the notification recived? How to do this please guide

  • @PhantomSneak
    @PhantomSneak 2 ปีที่แล้ว

    thanks for your video, BTW, could this send FCM to Android 6&7?
    My design have a little problem that Android 6&7 can't receive FCM

  • @sikdershahed9721
    @sikdershahed9721 3 ปีที่แล้ว +2

    Thanks a lot.How can we send dynamic notifications for different users? Basically i want to send different notifications for different users.

    • @softwaredeveloper9205
      @softwaredeveloper9205  3 ปีที่แล้ว +4

      For dynamic Notification, you have to create trigger event in firebase like onCreate, onUpdate. Or you can make an admin panel where admin can send the notification based on topics or by groups. If you want to see tutorial about that then let me know. 🙂

    • @anicelioleite9473
      @anicelioleite9473 3 ปีที่แล้ว +2

      @@softwaredeveloper9205 I want to see tutorial about that

    • @softwaredeveloper9205
      @softwaredeveloper9205  3 ปีที่แล้ว +3

      @@anicelioleite9473 will do it soon 😁

  • @fungarage8530
    @fungarage8530 2 ปีที่แล้ว

    Remember guys notification some times can not be received if app is on already then try on locking your mobile and then send

  • @danielherz2450
    @danielherz2450 3 ปีที่แล้ว

    Hello it's work , but how can I send this notification to all usres , please reply me

  • @MansiniMB
    @MansiniMB 2 ปีที่แล้ว

    Hello good video, how can I pass the token as a parameter to php? please!! the same.

  • @nipungunawardana8101
    @nipungunawardana8101 2 ปีที่แล้ว

    thank you brother. It works fine.

  • @கொரோனாகோபால்
    @கொரோனாகோபால் 3 ปีที่แล้ว +1

    Thank you lots bro

  • @optimusduong5971
    @optimusduong5971 3 ปีที่แล้ว +1

    Where did the API KEY come from ?

    • @ahmedismail-gf1mq
      @ahmedismail-gf1mq 3 ปีที่แล้ว

      same question

    • @ahmedismail-gf1mq
      @ahmedismail-gf1mq 3 ปีที่แล้ว

      th-cam.com/video/GtzDpwLdBB0/w-d-xo.html&ab_channel=TheCodeCity

    • @softwaredeveloper9205
      @softwaredeveloper9205  2 ปีที่แล้ว

      Api-key is the server-key of firebase cloud messaging.
      Select your project-> click on settings icon & select project settings-> select Cloud Messaging tab and get the server key from there

  • @PeLoures
    @PeLoures 3 ปีที่แล้ว

    Hello. Thank you so much! If I want to send the message for all users that have the app, what can I put in "to" of PHP code?

  • @alifeyzabadi1849
    @alifeyzabadi1849 2 ปีที่แล้ว

    Where should we find api_key?

    • @softwaredeveloper9205
      @softwaredeveloper9205  2 ปีที่แล้ว

      Api-key is the server-key of firebase cloud messaging.
      Select your project-> click on settings icon & select project settings-> select Cloud Messaging tab and get the server key from there

  • @ayllathayaneoficial9376
    @ayllathayaneoficial9376 3 ปีที่แล้ว

    show

  • @bravoesco9472
    @bravoesco9472 3 ปีที่แล้ว +1

    what the php scrip use for ?

    • @softwaredeveloper9205
      @softwaredeveloper9205  3 ปีที่แล้ว

      Its use to send the push notifications based on device id. I use the scripts because it's more practical toward the real world as we do use apis.

    • @bravoesco9472
      @bravoesco9472 3 ปีที่แล้ว +1

      @@softwaredeveloper9205 im still a beginner, cant really understand what u saying but thanks for the info

    • @softwaredeveloper9205
      @softwaredeveloper9205  3 ปีที่แล้ว

      @@bravoesco9472 let me explain briefly.
      Let's consider we have created an e-learning app where there are two roles, one is teacher and another is student. So what client expect that whenever the homework posted by teacher, it should be notify to students. In that case we required an api. Where we perform a task to gather students data from web database and send the notifications accordingly.
      If you still dont understand then it's ok.. you will get an experience it with one. 😀

    • @bravoesco9472
      @bravoesco9472 3 ปีที่แล้ว +1

      @@softwaredeveloper9205 thank you very much sir, hopefully i will understand sooner or later.