This module for drupal 10, 11
You should install with composer it will add google/auth to vendor.
1. Enable module.
2. Create your project (https://console.firebase.google.com/).
3. Get your access crentials from Settings => Cloud Messaging tab (https://console.firebase.google.com/u/0/project/YOUR-PROJECT-ID/settings...) to Firebase Settings(/admin/config/system/pwa_firebase)
Form version 2.0.9+ module change from legacy FCM APIs to HTTP v1. So you have to configure in module settings to refill all variables. (Attach credentials - Service account key json file is required)
To compose message You can go to firebase /admin/content/notification
It uses asynchronous guzzle promises which will help in sending bulk notifications.
you can show block notification permission to display the message
base on Progressive Web App - Notifications
this module does not use curl to send a message to firebase. so you can use on shared hosting
Do you like this module? Show your appreciation by buying me ☕.
Attachment | Size |
---|---|
Capture d’écran 2020-08-30 à 19.04.04.png | 106.47 KB |
Capture d’écran 2020-08-30 à 19.09.59.png | 51.45 KB |
Project information
- Module categories: Integrations, Site Structure
- Ecosystem: Firebase Push Notifications, Progressive Web App (PWA)
- 25 sites report using this module
- Created by lazzyvn on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.