Android Firebase Push Notification With an Image

Поделиться
HTML-код
  • Опубликовано: 16 янв 2017
  • In this video we are going to learn about how to display Firebase push notification with an image. If you send the push notification with an image from firebase console, it will display the image only if the app in the foreground. The solution for this problem is to send a push message with only data field. Here we are going to use the advanced Rest Client Chrome extension for sending the data push message.
    Like my Facebook page : / codeglympse
    Subscribe My RUclips channel : / ticoontechnologies

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

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

    I was searching for large image like gaming. i found your tutorial best for that. Thanks bro

  • @rajathd5414
    @rajathd5414 5 лет назад

    Mate, Thank you for this video. It saved me a helluva lot of time. And it works perfectly.

    • @nitro5152
      @nitro5152 5 лет назад

      mine did"t work how did you do please tell me

  • @tucafejava
    @tucafejava 4 года назад +1

    Gracias por este grandioso tutorial.
    Saludos,

  • @youssefdirani
    @youssefdirani 4 года назад

    Thank you. I heard the Athan in the background. I enjoyed it. So peaceful now in night time.

    • @robertokabir3628
      @robertokabir3628 3 года назад

      @Kendrick Elliott yea, been using flixzone} for years myself :)

    • @lylepedro6342
      @lylepedro6342 3 года назад

      @Kendrick Elliott Definitely, I've been using Flixzone} for months myself :D

  • @amitwalke4398
    @amitwalke4398 7 лет назад

    Thank your sir,
    Very good video I really like it

  • @abdulaziz7835
    @abdulaziz7835 7 лет назад

    thanks sir for this video. thanks!!!......

  • @sunweb1493
    @sunweb1493 6 лет назад

    you are best guide

  • @afgaiel
    @afgaiel 4 года назад

    Thanks for both tutorial and Adhan

  • @VrajeshSukhadiya
    @VrajeshSukhadiya 7 лет назад

    it's very helpful

  • @LeandroCavalcanteLeandrw
    @LeandroCavalcanteLeandrw 7 лет назад

    Grrrrrreat tutorrrrial

  • @hicham3341
    @hicham3341 7 лет назад

    سلام عليك جزاك الله خيرا

  • @3bboshi
    @3bboshi 4 года назад +1

    On time of REST client application , you wtire on TO : ( token key ) .. but if i want to send to all device one time .. what should i but on TO ??

  • @monodeepdas2778
    @monodeepdas2778 7 лет назад

    Hello Sir, I follow all your tutorials for android development. They are great.
    I had a request sir- Why don't you make some video tutorials on some of the Google APIs like Drive API.
    I am facing few problems while implementing it.
    I saw the documentation of it and had a go at it but it seems the Google documentation is for google play services 8.4.0 and current is 10.0.1 with a slight modification overall.
    I also got confused as there are Drive APIs and Drive API -v2 and v3 which is also bit confusing to me.
    The documentation also is not complete like they have implemented interfaces without telling us to implement that particular interface, which is creating problems.
    Could you plz do a video series with Drive API ?

  • @somiyasumiranrout108
    @somiyasumiranrout108 7 лет назад +3

    how to send to many physical devices...instead of virtual device..how to get registration token ?

  • @elegantuniverse3050
    @elegantuniverse3050 7 лет назад

    hello
    thank you for your wonderful tutorial
    I want to send specific link from FCM for all users what should I do ?

  • @najafali_seniorofficer_at_mcb
    @najafali_seniorofficer_at_mcb 5 лет назад

    thanks a lot very good tutorial did all and showing notification but notification image is not showing large, as your one

  • @vishalanandtech
    @vishalanandtech 7 лет назад +1

    Please upload some security related videos of Android like encryption of data.

  • @ccsisupport4903
    @ccsisupport4903 7 лет назад +7

    How can we send notification to multiple device using Advance Rest Client .
    In ur video it works for only single device

  • @mattfagan3233
    @mattfagan3233 6 лет назад

    Good tutorial Ive managed to get notifications from firebase but when using ARC I get 220 ok but no notifications are showing on the phone. Any ideas?

  • @ottoantao3795
    @ottoantao3795 7 лет назад

    Thanks for this video sir.. hope you could do more firebase app in android studio.. Do you have the source code of this for me to guide.. thanks again

  • @HidungPesek
    @HidungPesek 4 года назад

    hi there.. this video using post.. is it possible to use php to send notification?

  • @nimishsaxena93
    @nimishsaxena93 5 лет назад +1

    so, my question is how can we upload image when app is in background state or killed state.

  • @amazingthings995
    @amazingthings995 7 лет назад

    hello sir
    i am beginner in android
    sir i wanted to ask one question
    i have activity with imagebotton
    i want search thats item into actionbar searchview how's that do can you provide me code ?

  • @oshin689
    @oshin689 5 лет назад

    Thanks Sir , it worked but how to send all of my user, notificaton using chrome ARC

  • @simone462
    @simone462 7 лет назад +1

    Hi,
    will this be sent to all devices?

  • @saranshagarwal2500
    @saranshagarwal2500 5 лет назад

    Hello Sir, Please Tell how to send fcm with link. and store that fcm into recyclerview. and show count on notification icon.

  • @savvinovan
    @savvinovan 5 лет назад

    thank you, @alyona кереер эрэ маны

  • @TheNEOFAR
    @TheNEOFAR 6 лет назад

    Hi! At the end of the video how did you get registration token?

  • @amitnandwana7071
    @amitnandwana7071 7 лет назад

    Hello,
    I follow your tutorial but I am not able to get a push notification with the image when the app is in background.
    Can you help me for this?

  • @ankahit
    @ankahit 7 лет назад

    do you have any video related to quiz?

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

    Good morning, I watch your videos on youtybe. I want to leave congratulations here. I would like to ask a question, how can I get the body of the message, through farebase?

  • @indrajeetdas248
    @indrajeetdas248 6 лет назад

    I am storing the message in a sqlite table. But when the app is running in background data is not inserted into the table. Can you provide some solution ???

  • @ibnumuakhor5672
    @ibnumuakhor5672 6 лет назад

    i already try these tutorial,,,but i have some issue...
    the push notification with an image only appear when the app is open..
    but when the app just running on the background (i didnt opened it) the image didnt show up...
    please help me

  • @ketanoswal8166
    @ketanoswal8166 7 лет назад

    hii prabeesh...I want to create a server side scripting app,which will allow users to post their stuff.

  • @jaganjonnala7214
    @jaganjonnala7214 6 лет назад

    I have also applied the same procedure. Title and Message Came but image not came is there any complex thing about image. Can you help me ..?

  • @3washjumaal11
    @3washjumaal11 4 года назад

    How can I send notification from one device to other device based on nearest location to first device if second device already have thier littude and Longitude on firebase

  • @forexstalkers1183
    @forexstalkers1183 5 лет назад

    Thank you sir,please how do I add admin panel to my android blog app

  • @nizamudeensherif
    @nizamudeensherif 5 лет назад

    But can we track those notifications sent from Backend ?

  • @MuruganR-tg9yt
    @MuruganR-tg9yt 6 лет назад

    sir Advanced REST client how to mention Host url ? I Don't understand that place...

  • @adilcherqaoui2063
    @adilcherqaoui2063 7 лет назад

    When I send an image from fcm to 3 devices, only one device receives the image, why ?

  • @MeraBharatGhumo
    @MeraBharatGhumo 6 лет назад

    Hello Sir What is the Image Size for notifiation

  • @Nitishkumar-zc5fu
    @Nitishkumar-zc5fu 6 лет назад

    Sir kya hum isko thunkable me bhi kar sakte hai

  • @Sushobhit333
    @Sushobhit333 7 лет назад

    Sir, any other solution to that image problem?

  • @piyushsahu6588
    @piyushsahu6588 6 лет назад

    Is there any restriction on size of image

  • @SamimAK
    @SamimAK 3 года назад

    Message in app aur push notifications ko ek saath kaisa add kare
    Donoke code daalrha hu sir to app build nahi horha lekin girdle file build sync hojarahi successfully?
    Please Reply sir

  • @andagrounn
    @andagrounn 6 лет назад

    im trying ti implement this in a nativescript app but the image not showing

  • @omkarmore2769
    @omkarmore2769 7 лет назад

    sir login and register with firebase demo video hai. ...

  • @sym-john7795
    @sym-john7795 5 лет назад

    i am sending from php script. do not want to use ARC... any solution?

  • @GAMEOVER-od5xb
    @GAMEOVER-od5xb 7 лет назад

    How to display view in-app notification text

  • @imranuppal1839
    @imranuppal1839 6 лет назад

    will this code run on real android device?

  • @sanjadHossain
    @sanjadHossain 5 лет назад

    hello,sir im getting problem with getToken method
    Please help me to solved it

  • @libyandeveloper372
    @libyandeveloper372 7 лет назад

    why firebase cloud messaging token return null in android monitor(logcat)?

  • @lolitapinto4445
    @lolitapinto4445 7 лет назад

    Hello Prabeesh, How can I add Images to notification Icon? Like facebook app?

    • @reyaan08
      @reyaan08 6 лет назад

      Lolita Crasta notificationBuilder.setSmallIcon(image path);

  • @mohitgurbani4616
    @mohitgurbani4616 6 лет назад

    how did you get that "request Url" file at 26.22 time?
    i'm having error
    "failed to connect"- Invalid URL
    Urgent help required

    • @mohitgurbani4616
      @mohitgurbani4616 6 лет назад

      there was a problem that this method only workds with chrome & not with UC Browser or Firefox

    • @mohitgurbani4616
      @mohitgurbani4616 6 лет назад

      Now new problem is that how to send to multiple devices?
      without having a knowledge of who has installed the app?

  • @thoriqanwar5882
    @thoriqanwar5882 7 лет назад

    how to import clas for RequestQueue ?? in MySIngleton?

    • @Kreandoapp
      @Kreandoapp 6 лет назад

      hello bro, you need add in your graddle the correspondeci compile 'com.android.volley:volley:1.0.0' , byeeee

  • @muhammedgeyik1550
    @muhammedgeyik1550 7 лет назад

    Hallo mate can you send me please the source code please.
    Thanks

  • @mehedihasanemon6691
    @mehedihasanemon6691 7 лет назад

    Hello sir, I'm already see all of ur firebase tutorial, I have one qus, how I open a custom activity when notification clicked in phone.. all of ur tutorial always open luncher activity, bt I need to open a activity like Notification Activity.

    • @PRABEESHRK
      @PRABEESHRK  7 лет назад

      For open a custom Activity you need to specify the clickAction attribute with your firebase notification. I already made a video on it. Check this video : ruclips.net/video/hi8IPLNq59o/видео.html

    • @mehedihasanemon6691
      @mehedihasanemon6691 7 лет назад

      PRABEESH R K thnks :)

    • @mehedihasanemon6691
      @mehedihasanemon6691 7 лет назад

      is it possible to open custom activity in fcm console?

    • @PRABEESHRK
      @PRABEESHRK  7 лет назад

      Fcm Console have many limitations.

    • @mehedihasanemon6691
      @mehedihasanemon6691 7 лет назад

      PRABEESH R K yeah! that's the big prb in fcm.

  • @Wasibpkr
    @Wasibpkr 7 лет назад

    how to send nofication to all devices which installed this app , instead of using the registration token.

  • @azizurrehman007
    @azizurrehman007 7 лет назад

    Sir, how can i send device to device notification(text only)???
    I need to know its urgent.

    • @norhanesmat7651
      @norhanesmat7651 7 лет назад

      Unknown User
      are you found your request I need it urgent

  • @dikshabhati9063
    @dikshabhati9063 6 лет назад

    how did u get registration token plz reply

  • @aayushpathak6365
    @aayushpathak6365 7 лет назад

    Can we send image without server(wamp)

    • @PRABEESHRK
      @PRABEESHRK  7 лет назад

      For the promotion of a new content we always need a server otherwise you can choose an image from the device to display with the notification.

    • @aayushpathak6365
      @aayushpathak6365 7 лет назад

      Thank you very much sir ,I have learned a lot from you

    • @ganeshvinoth2601
      @ganeshvinoth2601 7 лет назад

      PRABEESH R K
      Hi sir am not getting register token it's returning null

    • @srijankumarsamanta5579
      @srijankumarsamanta5579 6 лет назад

      You can send a general URL int he imgurl section of the data and fet h it using bitmap methods to get image

  • @gaetano.the.crooner
    @gaetano.the.crooner 7 лет назад +1

    Nice Video!
    But what about sending a message to everyone in my app? I mean without Registration Token.
    "to":"WHAT DO I HAVE TO WRITE?"

    • @PRABEESHRK
      @PRABEESHRK  7 лет назад +1

      instead of advanced rest client you can send data messages from your app server using curl.

    • @gaetano.the.crooner
      @gaetano.the.crooner 7 лет назад

      I'm new to programming, can you please explain me better? I don't know what curl is.
      Thank you in advance master

    • @gaetano.the.crooner
      @gaetano.the.crooner 7 лет назад +1

      I'm using Firebase Notifications but it doesn't work when app is in background or killed and I'm going crazy.
      Nothing that i set into MyFirebaseMessagingService works. It only works when app is in foreground.

    • @harryscarheadsam
      @harryscarheadsam 7 лет назад +1

      I think there is no way to send to all devices explicitly. But if you want to send to topics, you can use "to": "/topics/foo-bar" where foo-bar is the name of your topic. The firebase docs defines the parameter "to" as: "The value can be a device's registration token, a device group's notification key, or a single topic (prefixed with /topics/). To send to multiple topics, use the condition parameter."

  • @yedhukrishnan6918
    @yedhukrishnan6918 3 года назад

    Malayali💪

  • @SahajachMarathi
    @SahajachMarathi 5 лет назад

    Not working

  • @danygm3839
    @danygm3839 6 лет назад

    a mi no me funciona ni para un dispositivo , ayuda!

  • @AmitMondalOfficial
    @AmitMondalOfficial 6 лет назад

    source code..

  • @sachink7955
    @sachink7955 4 года назад

    how to push notification without using " notification composer "

  • @martenhernebring
    @martenhernebring 7 лет назад

    Method is depreciated. This code will work for those perfectionist like me.
    ImageRequest imageRequest = new ImageRequest(img_url, new Response.Listener() {
    @Override
    public void onResponse(Bitmap response) {
    }
    }, 0, 0, ImageView.ScaleType.CENTER_CROP, null, new Response.ErrorListener() {
    @Override
    public void onErrorResponse(VolleyError error) {
    }
    });