This article will help you implement firebase web push notifications without using any packages in your project for latest version 7.18.0 or above.
Firebase uses cloud services for its notification services on Android,IOS & Web.Firebase Cloud Messaging or FCM run on basic principles of tokens, which is uniquely generated for each device & later used for sending messages to respective devices.
Web Push Notification uses javascript to call firebase methods and generate the token.This article will explain how to implement firebase cloud messaging ,right from setting up project.
Note-FCM only works for Https server
2.Enter your project name ,& continue once name is checked by google for its uniqueness
3.Enter the information asked such as country and accept terms & conditions and continue.Wait for some time till project is created.
4.Add app to your project,it can be anything from Android,IOS,Web,Unity.For this article we need web app so click on web icon represented as </>
5.Add a nick-name to your app,this nick-name is only for user and internal use ,which means it is useful just to differentiate between apps in a project from perspective of user.
You can add hosting for project if your project is already not running on https server else you can skip this step.
#web-push-notifications #javascript #programming #firebasecloudmessaging