To use this asset please follow the below steps:
1) Create a project and app on firebase console.
2) Download the app configurations values and save them safely somewhere.
3) Take dependancy of firebase reusable block and client action to send and subscribe to notifications from the installed asset.
4) Provide all the configuration values to the firebase block.
5) Copy the firebase-messaging-sw.js file from asset to your module resource folder and made it public and set the deploy action to "Deploy to target Directory".