aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/notification/NotificatorManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/notification/NotificatorManager.java')
-rw-r--r--src/org/traccar/notification/NotificatorManager.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/org/traccar/notification/NotificatorManager.java b/src/org/traccar/notification/NotificatorManager.java
index 7e8a9dd0e..41678d65c 100644
--- a/src/org/traccar/notification/NotificatorManager.java
+++ b/src/org/traccar/notification/NotificatorManager.java
@@ -35,6 +35,7 @@ public final class NotificatorManager {
private static final String DEFAULT_WEB_NOTIFICATOR = "org.traccar.notificators.NotificatorWeb";
private static final String DEFAULT_MAIL_NOTIFICATOR = "org.traccar.notificators.NotificatorMail";
private static final String DEFAULT_SMS_NOTIFICATOR = "org.traccar.notificators.NotificatorSms";
+ private static final String DEFAULT_FIREBASE_NOTIFICATOR = "org.traccar.notificators.NotificatorFirebase";
private final Map<String, Notificator> notificators = new HashMap<>();
private static final Notificator NULL_NOTIFICATOR = new NotificatorNull();
@@ -53,6 +54,9 @@ public final class NotificatorManager {
case "sms":
defaultNotificator = DEFAULT_SMS_NOTIFICATOR;
break;
+ case "firebase":
+ defaultNotificator = DEFAULT_FIREBASE_NOTIFICATOR;
+ break;
default:
break;
}