Posts

Angular 11 + Firebase Cloud Messaging Push Notifications – Devstringx

Image
  What are Push Notifications? A push notification is a popup message similar to an SMS. Push notifications work the same as SMS text messages and mobile alerts.  This provides the ability to receive messages pushed to them from a server, whether or not the web app is in the foreground, or even currently loaded, on a user agent. Second, look for versions needed for Push Notifications As we looking for firebase push notifications in angular 11+ so you must have installed Node.js version > 12. NPM will be updated by default. Here, I am using Node version 12.2.0 and installing the latest version of  Angular CLI  else you can upgrade your older version to the latest CLI by following the command –  npm install -g  @angular/cli @latest. Once the project environment has been done we need a firebase account to connect the web application to the firebase cloud messaging angular. Steps to Set Up the Firebase Account 1 ) Simply go to  firebase.google.com  link. 2 ) If you are new then you clic