{"id":259344,"date":"2017-08-22T07:20:41","date_gmt":"2017-08-22T14:20:41","guid":{"rendered":"http:\/\/css-tricks.com\/?p=259344"},"modified":"2017-09-06T18:09:13","modified_gmt":"2017-09-07T01:09:13","slug":"implementing-push-notifications-setting-firebase","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/implementing-push-notifications-setting-firebase\/","title":{"rendered":"Implementing Push Notifications: Setting Up & Firebase"},"content":{"rendered":"

You know those the little notification windows that pop up in the top right (Mac) or bottom right (Windows) corner when, for example, a new article on our favorite blog or a new video on YouTube was uploaded? Those are push notifications<\/em>. <\/p>\n

Part of the magic of these notifications is that they can appear even when we’re not currently on that website<\/em> to give us that information (after you’ve approved it). On mobile devices, where supported<\/a>, you can even close the browser and still get them.<\/p>\n

<\/p>\n

\n

Article Series:<\/h4>\n
    \n
  1. Setting Up & Firebase (You are here!)<\/li>\n
  2. The Back End<\/a><\/li>\n<\/ol>\n<\/div>\n
    \"Notification
    Push notification on a Mac in Chrome<\/figcaption><\/figure>\n

    A notification consists of the browser logo so the user knows from which software it comes from, a title, the website URL it was sent from, a short description, and a custom icon.<\/p>\n

    We are going to explore how to implement push notifications. Since it relies on Service Workers, check out these starting points if you are not familiar with it or the general functionality of the Push API:<\/p>\n