Send and receive push messages - Progressive Web App Training

Sdílet
Vložit
  • čas přidán 16. 06. 2019
  • How do you send a message from your web server to one user - or lots of users?
    How can you do that in a way that's fast, reliable and secure? What if the user's browser is closed?
    On the web there's now a way to do that using standard APIs and services integrated with mobile and desktop platforms.
    This video shows you how to make the most of push messaging.
    Full playlist:
    • Progressive Web App Tr...
  • Věda a technologie

Komentáře • 44

  • @madtin
    @madtin Před rokem +28

    If you don't show an example this is pretty useless.

  • @ashutosh9859
    @ashutosh9859 Před 2 lety

    Great work !!

  • @rolikaseventysix
    @rolikaseventysix Před 3 lety

    Excellent! Thanks!

  • @sin5946
    @sin5946 Před 2 lety

    best kitchen language explanation, ty

  • @TazBo-wd2ig
    @TazBo-wd2ig Před rokem

    Can you use these to send things like booking reference numbers or reminders for patients or even confirmation messages for bookings.

  • @williamschukwuebuka7907

    Anyone knows how to add authorization header. "Request did not validate missing authorization header: Missing Authorization Header"

  • @nikinavarro6013
    @nikinavarro6013 Před 4 lety

    thank you :3

  • @HolgerNestmann
    @HolgerNestmann Před 5 lety +13

    Hi all, great series and content. I would be curious about the raw communication from the server to the client (without the library/node js) and also I didn't quite get the dependency of the key to firebase. I am gonna bing these two things, but it would be great if you could provide a look underneath the bonnet of google things.

  • @PL4YR
    @PL4YR Před 5 lety +4

    Note at the moment there isnt iOS support however it does work on Mac OS

    • @MrJohn360
      @MrJohn360 Před 5 lety

      They do have a custom implemantation, which requires a web service that is specific to iOS. You can read more here developer.apple.com/videos/play/wwdc2013/614/

    • @shilangyu
      @shilangyu Před 4 lety +3

      iOS hates PWAs

    • @halilesen
      @halilesen Před 2 lety

      @@shilangyu Not anymore, I hope.

  • @ParthAkbari
    @ParthAkbari Před 4 lety +10

    Thanks for video
    How to send push notifications in particular time period?

    • @lorenbun
      @lorenbun Před měsícem +1

      create a background service

  • @hamzehrezaei212
    @hamzehrezaei212 Před rokem

    Hi
    Is there a way to send a push notification knowing that the program is open?

  • @abdelghanikadouri1626
    @abdelghanikadouri1626 Před 4 lety

    please how to send a push message with Laravel backend ? i am really confused

  • @tesses50
    @tesses50 Před 2 lety

    is there a way to do this with websockets

  • @kirwakelvinkering3122

    Was expecting to find the difference between a service worker and a push service ,whenere each one of them resides (srver or clients browser ) ,how many service workers does an application have ,what it means To register a service worker and so on .but I only found out many words of English which made no meaning to a student like me .can't pretend to be sincere.

  • @simpleprogrammer5834
    @simpleprogrammer5834 Před 4 lety +2

    Explained Clearly Thanks😍

    • @brunogigliofreitas
      @brunogigliofreitas Před 4 lety

      SO NOT!!! I´m using php on server and i havent seen 1 line of server-side code not using javascript

    • @Crackhog
      @Crackhog Před 3 lety

      @@brunogigliofreitas Just use Node.js smh

    • @brunogigliofreitas
      @brunogigliofreitas Před 3 lety

      @@Crackhog my website host doesnt support. And my whole website is in php. No chance i will change the language

  • @hanandun3541
    @hanandun3541 Před 4 lety

    good

  • @wolfattackx
    @wolfattackx Před 4 lety

    If the user is already subscribed I still need to update the service object in my server right? So what is the common thing between the old and new service object so I can identify in the database

    • @CryptoWulf_app
      @CryptoWulf_app Před 4 lety +1

      is it the endpoint url? im not sure as well on this. did you figure it out?

    • @MacoveiVlad
      @MacoveiVlad Před 3 lety +1

      Exact same thought i had. I guess the identifier in the URL can change too but the domains should remain the same... but if a user has Chrome on more devices going by the domain would overwrite notifications for all other devices on Chrome. I guess adding a UUID to the payload would solve this by adding complexity. Probably we have to go to the spec to see what can change in the subscription.

    • @GajderStudio
      @GajderStudio Před rokem +1

      Hey bro did you figure this one out? I am having exactly the same thoughts

  • @makalobo
    @makalobo Před 4 lety +1

    How I receive message from fcm when my browser is closed on mobile?

    • @robikurniawan5125
      @robikurniawan5125 Před 3 lety

      same problem. can you share how to receive notification if browser is closed on mobile ?

  • @carefree_ladka
    @carefree_ladka Před 3 lety

    I need to perform user actions on push notifications like ms teams .any help?

    • @sadev0
      @sadev0 Před 3 lety

      I'm wondering same question.
      did you find the answer or any useful resource?

    • @carefree_ladka
      @carefree_ladka Před 3 lety

      @@sadev0 not yet but I'm looking into .I found something like Notifications.actions in service workers

  • @JohnDoe-rk7ex
    @JohnDoe-rk7ex Před 4 lety +1

    Can it be implemented with php? :)

    • @brunogigliofreitas
      @brunogigliofreitas Před 4 lety

      have u got the answer?

    • @JohnDoe-rk7ex
      @JohnDoe-rk7ex Před 4 lety

      @@brunogigliofreitas yes, i figured it out

    • @abdelghanikadouri1626
      @abdelghanikadouri1626 Před 4 lety

      @@JohnDoe-rk7ex how please ?

    • @JohnDoe-rk7ex
      @JohnDoe-rk7ex Před 4 lety

      @@abdelghanikadouri1626 i used firebase push server its the easiest way to go. Now, one thing about pwa push notifications is that it only pushes the message when the registered user opens the browser where the pwa installation was originated.

    • @abdelghanikadouri1626
      @abdelghanikadouri1626 Před 4 lety +1

      Gary Zavala thank you so much appreciate

  • @miguelqueiroz5415
    @miguelqueiroz5415 Před rokem

    not in IOS right..

    • @andrew121410
      @andrew121410 Před rokem +1

      In IOS 16.4 which just got released, you can now do push notifications' for web on IOS

    • @miguelqueiroz5415
      @miguelqueiroz5415 Před rokem

      @@andrew121410 Finally!

  • @davidconnelly
    @davidconnelly Před rokem +1

    When you do a web development tutorial on CZcams and you've done a really good job, you can usually expect around a 10% thumbs up rate. This video has a thumbs up rate of around 2%. That's a train wreck. Why can't Google teach? Why do they keep on getting this wrong? I just don't get it! Clueless awful teaching.