call to replace anchor tags contains '/admin' in href

Firebase Cloud Messaging

Firebase Cloud Messaging (FCM) is a free messaging solution that lets you send web push notifications to your mobile app users. Firebase serves as a module between your server and the devices that will be receiving the push notifications that you create. Your server informs Firebase that a notification has to be sent. Then Firebase does the work behind the scenes to get the notification published.

Follow the below mentioned steps to use FCM:

Sign up on Google Cloud

  1. Go to Google Cloud.
  2. Click on Get Started for free
  3. The following window appears. Select the checkbox to agree to terms and click on Agree and Continue button.
  4. In the next step, you can edit your account type and tax information. Also provide your name, address and card details here.
  5. Click on the Start my Free Trial button to start your free trial.

Please note that you won’t be charged unless you manually upgrade to a paid account. You will get $300 to spend on Google Cloud Platform over the next 12 months. 

Creating a Project

  1. Go to Google Firebase Console.
  2. Click on Add Project.
  3. In the pop-up window opened, select the Project Name from the drop-down. Select the checkbox to agree to the tems and conditions.
  4. Click on Add Firebase button.
  5. The Firebase dashboard is then displayed as follows.

Creating an Android Project

  1. In the Firebase dashboard, click on the Android icon to create an android project.
  2. In the next step, you are required to register your app.
  3. Enter the Android package name and click on the Register app button.
  4. Now, download the configuration file and click on Next.
  5. Click on Skip the steps.
  6. Go to Mobile Apps > Mobile Apps section the StoreHippo Admin Panel.
  7. In the General section, find the Push notification field. Upload the configuration file in the Android field.

Obtaining Server Key

  1. In the Firebase dashboard, go to the app settings. 
  2. Go to the Cloud Messaging tab.
  3. In the Product Credentials, copy the Server Key as shown above.
  4. Go to Mobile Apps > Mobile Apps section the StoreHippo Admin Panel.
  5. In the General section, find the Push notification field. Paste the Server Key.
2019-04-15T10:16:43.949Z