#Google

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

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

  • @czaratech7216
    @czaratech7216 3 года назад +9

    thank you, you have been the only one who was this straight forward about developing cloud functions along with flutter that I could find

  • @jaineelmamtora8208
    @jaineelmamtora8208 4 года назад +2

    I was literally searching for Flutter push notifications using cloud functions and alas! I found the best tutorial!

  • @talatkuyuk6556
    @talatkuyuk6556 4 года назад +3

    Very nice video, i am implementing firebase messaging and firebase function on my Flutter Project according to your explanation. Thanks again.

  • @dipinsonwani4029
    @dipinsonwani4029 3 года назад +3

    This is the real content! Thank you so much, very helpful!

  • @serenarekha2423
    @serenarekha2423 4 года назад +4

    Thank you very much! Your tutorial really helped me as this is my first time working with push notifications. My application however does not display the new notifications once i add the code to iterate the device tokens. Really appreciate your feedback

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

      It’s difficult without seeing the code. Are you sure you have proper device tokens?

  • @DionisiusWahyuAdiSaputra
    @DionisiusWahyuAdiSaputra 4 года назад +2

    My dude, this is so helpful and straight forward!
    Thank you and Godspeed.

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

    Thanks, very helpfull

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

    Thank you!. This helped me got started.

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

    Such a great video very helpful and simple explanation thank you soo much

  • @codespower6953
    @codespower6953 4 года назад +2

    Excellent. tutorial

  • @christianassi5986
    @christianassi5986 3 года назад +1

    Thanks You for this tuto. It's simple and clear. Great Job!

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

    Learnt so much from your Channel. Keep up the good work. Looking forward for more.

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

    Very good tutorial. Thank you.

  • @harshadmanglani1309
    @harshadmanglani1309 4 года назад +4

    Excellent video, thank you so much!

  • @mahinthanragunathan6421
    @mahinthanragunathan6421 4 года назад +5

    your tutorials always awesome 🔥🔥🔥

  • @eNONO-ot4zh
    @eNONO-ot4zh 3 года назад +1

    I want give you 1000 like 👍. But RUclips not agree. 😀
    Thank very helpfull

  • @girishparate1980
    @girishparate1980 3 года назад +1

    very nice and helpful video .

  • @최군자-u1j
    @최군자-u1j 3 года назад +2

    very very really very thx!! Mobile Programmer!

  • @RNMERIA
    @RNMERIA 4 года назад +4

    thank you for the tutorial . 1 question though , where is "_configureFirebaseListeners() " function referenced in the app? not atleast in the written tutorial.

    • @MobileProgrammer
      @MobileProgrammer  4 года назад +3

      _configureFirebaseListeners is in the written tutorial as well as Video tutorial. Please check again.

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

    This is such an awesome video. Great. Thanks

  • @mehdidaoud1507
    @mehdidaoud1507 4 года назад +4

    Thank you dude your content is really useful good luck :3

  • @girishparate6410
    @girishparate6410 4 года назад +4

    Cloud function nice

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

    Have you tried with node 10 or higher ?
    I think it requires a billing account, if I am mistaken please reply..

  • @algeriennesaffaires7017
    @algeriennesaffaires7017 4 года назад +2

    I learned a lot from you thank you

  • @YA-jj3oh
    @YA-jj3oh 3 года назад +1

    Hey can you maybe uploaded a updated version that will be great . Because i think a lot have changed

  • @aldaedu
    @aldaedu 4 года назад +4

    Amazing! congratulations!

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

    Thanks for the great tutorial. Is it possible to create a Heads Up notification with Flutter at the moment? If yes, can you please guide?

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

    Great lesson.. how can perform trigger in button click when inserting new record to fire the cloud function trigger

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

    Can we create cloud functions in such a way that the notifications is sent after certain duration of changes happened in the database, say 1 hour later after adding a new message or something like that????

  • @pajjukadiyavar7595
    @pajjukadiyavar7595 4 года назад +2

    thank you

  • @섀플리
    @섀플리 3 года назад

    Hi, Nice video. What do you have to change for device to device notification?

  • @nasirmehmood_
    @nasirmehmood_ 3 года назад +1

    Awesome. Thankyou bro

    • @MobileProgrammer
      @MobileProgrammer  3 года назад +1

      You are welcome

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

      @@MobileProgrammer Bro how to show notification when the app is in foreground?

    • @MobileProgrammer
      @MobileProgrammer  3 года назад +1

      Local notifications?

    • @nasirmehmood_
      @nasirmehmood_ 3 года назад +1

      @@MobileProgrammer yes i was thinking the same. We can use that flutter local notification plugin in onMessage section

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

    does this tutorial still work in 2022? or there are changes in order for it to work ?

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

    which terminal are you using to install firebase tools , i am using adroid studio terminal to run "npm install -g firebase-tools"
    but it is not working , I am getting below message
    'npm' is not recognized as an internal or external command,
    operable program or batch file.

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

      It’s not about the terminal. Node is not set as a global command in your system.

  • @suddalakavya3576
    @suddalakavya3576 3 года назад +1

    Could you upload another video including recent updates with null safety?

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

    Doing an amazing job!!
    Can we have action buttons on the custom notifications from firebase?

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

    hi bro .. very thankful for the content you provide ... every thing is working fine but am not getting sound when i run on a device .. the notification is available in the notification pannel but not giving any sound or not showing when locked... when i enable permissions manually going to setting then its getting sound and showing banner when notification arrived... is there way to enable permissions by asking user.... plz answer my question

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

    How do I implement the same if I use MySQL and NodeJS for my backend

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

    Great tutorial.
    Can I send a message to all devices without tokenID ?

  • @HimanshuYT
    @HimanshuYT 4 года назад +2

    How to send particular device ! I stored token in user/uid/document and i can't access uid in firebase function mean when user buy product notify the unique admin app that product buyed by user uid

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

      You need the device token of the device where your admin app is installed to send to that particular Device like I show in this video. What do you mean by you can't access uid in firebase?

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

      I think the most practical thing will be to save the token of the user's device in the document where you will save the purchase data, so you can recover it from the snapshot, as well as recover the message that you saved in the document, you will see it in minute 26:09 of the video

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

      Or may be u can just save the uid in your product document..... Which will also guarantees u to get the data of the user who purchased that product... I guess....

    • @spectre3956
      @spectre3956 4 года назад +2

      My use case is also very similar to urs...and i implemented in above mentioned manner... And it works... :D

  • @senjittapochu4146
    @senjittapochu4146 4 года назад +2

    Could you please share your github repo?
    I've been trying to implement background messaging but it is not working

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

      bitbucket.org/vipinvijayan1987/tutorialprojects/src/FirebaseMessaging/

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

    How do you include data in your payload that is in a different collection to the one that triggers the function?

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

    How can we open a specific website on clicking on a push notifications?
    Is there any click_action for opening url in push notifications?

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

      You can get click action inside the app and rest is your world, you can do what ever you want.

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

      @@MobileProgrammer no I mean i will be sending a specific url in notification Everytime I want that on clicking it user should be directed to that specific link without opening the app. How can this be done ?

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

      You cannot do that without opening the app.

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

      @@MobileProgrammer thankyou for answering just one qsn can we modify the click_action in data of payload in index.js to open link ? Bcoz on stack overflow I saw that but it's not working

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

    The same way.. How can I do it in android studio..Can you please help me out.. doing the same process without flutter

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

    Thanks a lot for this... Currently having issues in my code though. The onLaunch does not work. When I send notifications from firebase when my app is closed, I don't receive it on my device

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

      I don't know if you could solve the problem but I just fixed it after two days. I saw your comment and thought someone else may have the same issue. It seems like you need to activate background messing for OnLaunch call back. My app would crash (myapp keep stopping window) whenever I received a push notification in the background/onLaunch.
      Here is a good video but it's old.
      ruclips.net/video/al_og4iUiqY/видео.html&ab_channel=LazyTechNo
      (This is.a newer video but I didn't follow this one: ruclips.net/video/PrnxksGQ210/видео.html&ab_channel=EasyApproach )
      my app works without changing the mainActivity.kt. Also I didn't change Android:value because the video was old. you can get the code for display notification and Notification_action from firebase messaging page on pub.dev. I hope it helps.

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

      Thanks a lot for this
      Will check it out

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

    I want to send a notification to a specific user after an action in my app , should i use cloud Functions ?

  • @felixtopappz7338
    @felixtopappz7338 4 года назад +5

    trust me no body will show u a gold mine

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

    Sir , onResume() is not called when the app is terminated and also the notification is not printed onto the console when i am using real device bu the notification comes . I know that we have to add the 'click_action' and i added also. Why is it so ? Please Help if possible because i am stuck in it from so many days .

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

    and this also appear to me when function executed... Billing account not configured. External network is not accessible and quotas are severely limited. Configure billing account to remove these restrictions

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

    i want to send the notification onUpdate()..... how do i get the data that is updated ? Please can you help me out

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

    great lesson ... i am trying to notification but error appear to me in log Error: Registration token(s) provided to sendToDevice() must be a non-empty string or a non-empty array eny help will be appreciated

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

      Please check your token string

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

      @@MobileProgrammer
      I have checked tokens string many times. Is the billing account affect that because I am now in free plan ...... is this way send notifications for multiple devices

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

      It should work

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

    26:00 I don't understand where your link between index.js and the UI is. How is your index.js communicating with your UI to update that list?

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

      Index.js is in the server node js project. I m mentioning this in the video. It’s not part of flutter project.

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

      @@MobileProgrammer So when you make a change in the index.js it's not changing anything in the flutter app?

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

    how to open the project in the editor in index.js ?

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

    please i want to send notification to each user when they are chatting privatly, and also i want to send notification to a group of people that are in a group just like what app please help i will be very glade if you can do it

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

    Sir how to send to all by using condition parameter

  • @abdulsalam4244
    @abdulsalam4244 4 года назад +2

    what if i want to send a notification to specific person. How can i send his id to the cloud function ?

    • @MobileProgrammer
      @MobileProgrammer  4 года назад +4

      When the user registers with Firebase, he will be assigned a device token for his device. with that token you can target that user.

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

      @@MobileProgrammer Can I take the user's device token if he has not registered to firebase yet ? ie, Before creating his user account in the firebase authentication?

  • @abhishakkr.malviya1692
    @abhishakkr.malviya1692 4 года назад +2

    I'm getting function deployement error.

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

    I have followed all the steps, but in FlutterCloudFunctionDemo project folder there is no file created :(

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

    is it compusory to send tokens along with payload while sending push notification?? how can we send to all devive ..please reply anyone

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

    Help me.
    Function log:
    Error: Messaging payload contains an invalid value for the "data.message" property. Values must be strings.

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

    i got this error in log
    ReferenceError: Console is not defined
    at exports.messageTrigger.functions.firestore.document.onCreate (/srv/index.js:23:9)
    at cloudFunction (/srv/node_modules/firebase-functions/lib/cloud-functions.js:131:23)
    at /worker/worker.js:825:24
    at
    at process._tickDomainCallback (internal/process/next_tick.js:229:7)

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

    How can i schedule a notification from the App?

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

      You can add the local notifications flutter package

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

      @@MobileProgrammer Already done, the main problem is that when i reboot phone the notifications doesnt work

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

      If you have already added it will work. Make sure you don’t have more than 64 notifications added for iOS. There is a limit in iOS if you add more it will not trigger.

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

      Also the user should accept the notifications permission

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

      @@MobileProgrammer im tesron5 in Android, however other notifications than schedule from the plugin doesn't work

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

    you are not coding this live right? :D

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

    how to get current user id in function?

  • @Mae-ph6cx
    @Mae-ph6cx 3 года назад

    Hi, please I'm getting an error saying: error uploading messageTrigger...

  • @sreejith.m
    @sreejith.m 2 года назад +1

    I am facing a issue while deploying the code, it says "Parsing error: Unexpected token =>".

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

      Are you using the latest version of the library?

    • @sreejith.m
      @sreejith.m 2 года назад +1

      @@MobileProgrammer Yes

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

      In that case you might have to check the plugin docs. Something might have changed

    • @sreejith.m
      @sreejith.m 2 года назад

      @@MobileProgrammer Ok

    • @sreejith.m
      @sreejith.m 2 года назад

      @@MobileProgrammer I got my functions deployed . But its only triggered when we make change through console . Its not triggered when a collection is updated through app

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

    in "Add Firebase to your Android app
    " step 4, i con not verify installation my app.
    I uninstall my app but dont work!!

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

      Make sure you have correct google-services.json in the proper folder. then it will definitely work.

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

    Help
    A non-null String must be provided to a Text widget.
    'package:flutter/src/widgets/text.dart':
    Failed assertion: line 360 pos 10: 'data != null'

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

      Your text is null in your text widget

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

      @@MobileProgrammer thank you so much

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

      @@MobileProgrammer
      how to make a notification, when the notification comes and is clicked, it goes straight to the notification, for example, such as a message, or promo,

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

      Check my local notifications video please

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

      @@MobileProgrammer I want to make a push notification from the backand, and the mobile receives a notification, after clicking the notification, the message opens immediately

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

    how to store complete paragraph of text in firebase?

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

    does this work for iOS ?

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

    I am getting the error message ("Error sending notification")in logs of cloud functions

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

      Are you sending to the proper device token?

    • @Mae-ph6cx
      @Mae-ph6cx 3 года назад

      @@MobileProgrammer Hi, what if I just want to send notifications to the app, so that all users of the app can see it....how would I do that?🙏

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

    How can i get firebase messaging folder

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

    Without firebase?

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

      Firebase is the recommended way to send push notifications or you can use firebase apis

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

      You can use OneSignal.

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

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

    the resolution is to low bro, it's little blur when i watch

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

    Q. Did you solve the notification twice?

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

    Device token : null ?????
    HELP!!!

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

    try all this thing, still not working

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

      Same. have you find the solution?

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

    I would want to have a Carousel/Swiper/Row that elements( images / icons ) follow path of curve ( Arc ), I want to scroll the elements in curve path not in straight path , Please share if u have any idea . you can check the example in link below ( flutter) :
    github.com/walmartlabs/curved-carousel

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

      You can use the Animation Class.
      Try this tutorial
      ruclips.net/video/Jig1XRFr7Xw/видео.html

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

    Video quality to low why?

    • @MobileProgrammer
      @MobileProgrammer  4 года назад +2

      RUclips may be still processing my video or you can try changing the video resolution in the video settings itself. I always upload my video in 1080p or 4K resolution.

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

    What Debugging Cloud Functions man? :(

  • @oliverpaul3432
    @oliverpaul3432 3 года назад +1

    Thank You very much it was very helpful.