19 FCM Push Notification | Chat application | Android Studio

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

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

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

    Best coding teacher in the world he explain every code line 😊😊😊😊

  • @allstationsuk
    @allstationsuk 11 месяцев назад +1

    It was like an initial guide so I could find what I needed, I'll figure it out later, but it helped me a lot, thank you

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

    Interesting, I noticed that notification only shows up when app is in the background or foreground, . But when app is not running or been closed or killed , notification does not show or appear at all
    Sir can it be fixed

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

    please next video as soon as possible because my final year project presentation is just in 2 to 3 days in my college.. i have to complete the documentation as well.. plz bro helppp.. everything is done.. just notification is remaining.. i have followed every video of yours and thanks for all.. plz bro

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

      Hi boss kya ap muje apne project ka code de sakte ho?

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

      Check in the channel the notification (part 20) video is there and also you will love the last part (part 21).

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

      @@yesman3442 when he did upload I had already presented my project.. 😕😔

  • @ba-b89
    @ba-b89 2 месяца назад

    I have a question. I wrote the code same as you did, but after i signed out, FCMtoken field is still there in the collection, its not deleted from firebase storage? Where did we deleted it from? What did i do wrong?

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

    error in android 10 os. and runs well on Android 8 OS. error: force close after application is stopped. error occurred in activitysplash FirebaseUtil.allUserCollectionReference().document(userId).get()
    .addOnCompleteListener(task -> {
    if(task.isSuccessful()){.... you can help me?

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

    excelente video

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

    Bro please upload one video of making group

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

    Please help me,jab mein search karta ho tu app khud hi ban ho jata hai aur profile fragment per click karte hai tu tab bhi app crash kar jata hau

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

    Sir, in this series after adding the two Intent in the splash Screen, when ever I tried to launch the app it crashed. And it only crashed when the user is logged in.

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

      Check the Logcat which line its crashing

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

      at android.app.ActivityThread.main(ActivityThread.java:7581) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:980) Caused by: java.lang.NullPointerException: Provided document path must not be null. at com.google.firebase.firestore.util.Preconditions.checkNotNull(Preconditions.java:148) at com.google.firebase.firestore.CollectionReference.document(CollectionReference.java:103) at com.example.chatapp.SplashScreen.onCreate(SplashScreen.java:25) at android.app.Activity.performCreate(Activity.java:7805) at android.app.Activity.performCreate(Activity.java:7794)
      pointing at this line below
      25. FirebaseUtil.allUserCollectionReference().document(userId).get()

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

      Sir above is what I saw in the logcat

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

    Bro tell me Android studio minimum requirement

    • @AbhayKumar-jd4sr
      @AbhayKumar-jd4sr Год назад +2

      Core Java:- classes, inheritance, Oops and you can start

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

    How do you adapt the app to fit all screen sizes?

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

      Are you set any full size screen code from your coding ?

  • @jinx-chantft1582
    @jinx-chantft1582 Год назад

    Why can't my virtual machine receive notifications? Can anyone help me with this problem, please?

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

      having the same problem :( so far no luck

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

      Got it working after 2 days of trying every solution in SO, found the solution at the end of another tutorial. You know how every app nowadays ask you for permissions for notifications? well that's the issue you have to allow notification permissions for the app in the AppInfo in the emulator, by default they're off. I also allowed notifications from google services in settings. GL

    • @jinx-chantft1582
      @jinx-chantft1582 Год назад

      @@dstsol8 i have allowed notification permissions but it stil didn't work. Can you guide me in detail how to handle this problem?
      And there is another problem that when receiving notifications on real machines and accessing to view messages in ChatActivity is done, if you exit the application and re-enter it, it will fail. I don't know if it's like that in virtual machines? Perhaps the channel owner has not noticed this issue.

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

      @@jinx-chantft1582 Try restarting the emulator. That worked for me. Also, make sure you're copying the token correctly

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

      @@dstsol8 thanks

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

    Status feature 🎉

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

    😮😮😮😮

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

    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.vikas.easychat/com.vikas.easychat.SplashActivity}: java.lang.NullPointerException: Provided document path must not be null.