-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.sample.yaml
38 lines (33 loc) · 1.14 KB
/
config.sample.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# HTTP Server configurations
port: 8080
bindAddress: "127.0.0.1"
# Information about the corresponding app
appName: "FluffyChat"
appWebsite: "https://fluffychat.im"
# (Optional) Display logs for debugging
debugLogs: false
# You firebase project ID and the path to the key file for your service account.
# Learn more at:
# https://firebase.google.com/docs/cloud-messaging/auth-server
projectId: "your-project-ID-here"
fcmKeyFilePath: "./fcmKeyFile.json"
# The default notification title and body. {count} will be replaced by the unread
# count of the push notification. Won't be set by default for clearing notifications.
notificationTitle: "{count} new messages"
notificationBody: "Open app to read the messages"
# Add json keys to send to fcm for android and apns configurations. Learn more at
# https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages
androidNotificationOptions:
priority: high
notification:
sound: "default"
icon: "notifications_icon"
tag: "default_notification"
apnsNotificationOptions:
headers:
apns-priority: "5"
payload:
aps:
sound: "default"
badge: "{count}"
mutable-content: 1