How to connect Google Firebase + EasyDNN PWA module
Our module uses Google Firebase to send web push notifications. You need to create Firebase project and then web app in that project. After that you need to copy your public and private configuration data to EasyDNN PWA module.
Create your project in the Firebase Console.
https://console.firebase.google.com/
Click on “Create a project”.
Enter project name.
Enable Google Analytics.
Select existing or create new Google Analytics account.
Now your Firebase project is created.
Select Messaging from the menu. Now we need to create app to connect to our EasyDNN PWA module.
Select option to create web app.
Continue to the next screen.
Here you need to copy and save the selected part. This is firebase configuration needed for module.
Go to project settings.
Go to Cloud Messaging and click “Generate key pair”.
Copy and save the key you see here this is your public VAPID key.
Go to “Service accounts” and click “Generate new private key”. This is your private admin key. A JSON file will be download. Save that file. You will the content of that file in EasyDNN PWA module.
Now go to your website and enter the module settings of EasyDNN PWA module.
Turn on “Enable push Notifications”.
Enter your Firebase configuration, VPAID key, and contents of admin JSON file.
Save settings and module should be set now.