Enables your users to receive push notifications from your network.
Project Overview
-> Project settings
-> Cloud Messaging
Sender Id
number and paste it into the Sender ID
field in the HumHub module configurationManage Service Accounts
and select the firebase
Service Account or create a new oneKeys
tab, Click Add Key
-> Create New Key
-> Key type: JSON
Service Account (JSON file)
file in the HumHub module configurationIn 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/"
]
],