Back to overview

FireBase - Push Notifications

Add it on-the-fly to your HumHub by activating it in the Modules menu! ("Administration -> Modules")


FireBase - Push Notifications

Note this module in beta stage yet

This modules enables Push notifications using the Google Firebase Messaging service.

Installation

  1. Create an Google Firebase Account Google Firebase Messaging
  2. Add a new project in the Firebase Console
  3. Install and enable this module
  4. Copy Project ID, Cloud messaging Sender ID & Server key from Google Firebase Console into the module configuration.
  5. Enable "Mobile" column in the Notification settings

CSP

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/"
    ]
],

1.0.1 (January 21, 2021)

  • Fix: Initialize firebase only if module was configured
  • Enh: Updated CHANGELOG

1.0.0 (December 17, 2019)

Initial release

Version:
1.0.1 (released 2 months ago)

Publisher:
HumHub GmbH & Co. KG

Website:
https://github.com/humhub-contrib/fcm-push

Compatibility:
HumHub 1.5 - Latest





HumHub Cloud

Free
Install it on-the-fly at the admin panel
in your HumHub hosting instance


HumHub Self-Hosted

Free
Install it on-the-fly at the admin panel
in your HumHub installation