Veröffentlicht von: Tom Scharlock Category: Video Wissen Tags: , , , , , , Kommentare 28

In diesem Video erstellen wir Push-Benachrichtigungsfunktionen mit Node.js ohne Dienste von Drittanbietern. Wir werden dies mit Web-Push, der Push / Notifications-API und Servicemitarbeitern erreichen. Code: Webpush Repo: Hilfreiche Artikel: 💖 Werden Sie Patron: Zeigen Sie Unterstützung und erhalten Sie Vergünstigungen! Website- und Udemy-Kurse Folgen Sie Traversy Media :.

Kommentare (28)

  • techdave99 Antworten

    Edge 17 (in the april windows 10 update) has service workers. In Edge 16, workers are installed by enabling the 'Enable Services Workers' flag.

    14. Mai 2018 um 22:34
  • Siddharatha Dhumale Antworten

    Very good explanation 🙂

    9. Oktober 2020 um 16:57
  • Devil For Programing Antworten

    Can anyone teel me What is the difference between public key and private key

    31. Oktober 2020 um 19:45
  • Saint Everest Antworten

    Thanks for this great video, Sir, I implement this in my blog but it didn't work and there is no error coming.
    I am looking for a way to implement push notification that will notify a registered user immediately the user login that there is new post/s.

    6. November 2020 um 16:44
  • Rotimi Best Antworten

    ./node_modules/.bin/web-push generate-vapid-keys
    thank me later 😉

    22. November 2020 um 18:42
  • sumanboi Antworten

    you are my god

    28. Dezember 2020 um 22:01
  • Anas Ben Yaiche Antworten

    Clear !! Thank you

    7. Januar 2021 um 12:17
  • Umang Shahi Antworten

    u saved me!!!

    14. Januar 2021 um 12:21
  • Brad Byrne Antworten

    Very Nice Thanks !!!! owe you a tip … as soon as I can

    17. Januar 2021 um 22:14
  • Konstantin Kozokar Antworten

    Perfect video, I have one issue, push notifications doesnt appear on Android devices

    19. Januar 2021 um 19:43
  • Rimpi Rani Baruah Antworten

    Push notification is not appearing in Chrome

    24. Januar 2021 um 5:18
  • Just Now Antworten

    Brad can answer this question.
    I want to use this a website and then I will convert mobile app , can still work when is mobile or desktop.?

    6. Februar 2021 um 20:06
  • Barnard Rabenold Antworten

    When I tried to get the vapid keys with that command, I got the followings error message:
    "…cannot be loaded because running scripts is disabled on this system. For more information, see


    Is there another way to do this?

    11. Februar 2021 um 0:48
  • Mohamed fanah Antworten

    This kind of notification is not working for mobile browser, can you help me brad

    12. Februar 2021 um 19:43
  • Đặng Quang Huy Antworten

    thank u so much ! have a good day

    21. Februar 2021 um 17:24
  • Aakash Sonawane Antworten

    Hey guys am getting following error please some body help me…..

    Error : Registration failed – A subscription with a different applicationServerKey (or gcm_sender_id) already exists; to change the applicationServerKey, unsubscribe then resubscribe.

    23. Februar 2021 um 8:33
  • Aakash Sonawane Antworten

    how come am not getting this notification on device..its just show on desktop on which my node.js app is running

    23. Februar 2021 um 8:59
  • Alan Au Antworten

    Notifications are not showing up in Firefox for some reason (it works for Chromium browsers)

    Also I can't get the notification body and icon to show up, just the title

    26. Februar 2021 um 2:13
  • Bettytocode Antworten

    when i try i dont get the push notification, instead its written in the console : fetch finnish loading and by clicking on the url localhost:5000/subscribe the page is saying cannot get /subscribe… any ideas?

    11. März 2021 um 14:10
  • Okan Ozdemir Antworten

    Nuxt ?

    16. März 2021 um 21:02
  • Bruno Lucas Antworten

    I have one question, was it supposed to work in mobile Chrome? I did the steps and I can see the notification in desktop but when I tried in chrome mobile it doesn't show 🙁

    19. März 2021 um 16:29
  • Dwij Virani Antworten

    Great work and very well exlpained. Keep it up

    5. April 2021 um 12:51
  • Raj Kumar Singh Antworten

    ❤️ from india

    5. April 2021 um 20:40
  • Manushivam Maheshwari Antworten

    Notification is not popped up in my browser Chrome, in MacBook pro M1 chip. Even though I have active the notifications to allow and also have not set Do Not Disturb, Can you help me with this?

    7. April 2021 um 14:56
  • Francisco Gomes Antworten

    If anyone receives the message saying "script execution is disabled" run 'node .node_modulesweb-pushsrccli.js generate-vapid-keys'

    11. April 2021 um 22:56
  • Hazem Hamada Antworten

    one of the best tutorials

    13. April 2021 um 0:55
  • sample sample Antworten

    You miss out/ not shown when user not browse website still show push notifications🔔. I am waiting for that miss part could you please show that and generate multiple push notifications

    25. April 2021 um 6:47
  • pawan verma Antworten

    Hi Brad, I need to perform user actions on push notifications like MS teams .How can I do that?

    11. Mai 2021 um 18:04

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.