Back to marketplace
59

Push Notifications (Firebase)

Enables your users to receive push notifications from your network.

Installation

  1. Create an Google Firebase Account Google Firebase Messaging
  2. Add a new project in the Firebase Console
  3. Go to: Project Overview -> Project settings -> Cloud Messaging
  4. Copy the Sender Id number and paste it into the Sender ID field in the HumHub module configuration
  5. Click on Manage Service Accounts and select the firebase Service Account or create a new one
  6. In the Service Acccount, click on the Keys tab, Click Add Key -> Create New Key -> Key type: JSON
  7. Download the created JSON key file, open it, copy it and paste the file content into the Service Account (JSON file) file in the HumHub module configuration

Custom CSP Configuration

In case you have customized your csp header. Make sure to allow the following urls:

"script-src" => [
    "self" => true,
    "allow" => [
        "https://www.gstatic.com/firebasejs/6.3.3/firebase-app.js",
        "https://www.gstatic.com/firebasejs/6.3.3/firebase-messaging.js"
    ]
],
 "connect-src" => [
    "self" => true,
    "allow" => [
        "https://fcm.googleapis.com/"
    ]
],

Module Information

Price:
Free
Latest version release:
2.0.1 - January 8, 2024
Website:
Compatibility:
HumHub 1.14 - Latest