Push Notification
PrismERP supports two types of push notifications:
-
Firebase Notification (via Firebase Cloud Messaging – FCM)
-
Browser Notification (via internal service: pypush)
Configuring Firebase Notification
-
Enable Event Notification Module: Enable the Event Notification module in PrismERP.
-
Enable Firebase Notification Type: Activate Firebase as a notification type from the notification configuration settings.
-
Add Firebase Credentials: Add Firebase credentials obtained from the Firebase Console. The configuration fields include:
- FCM Google Account
- FCM Public VAPID Key
- FCM API Keys
- FCM Service Account Info
-
Enable Notification Modules: Enable the modules for which Firebase notifications should be triggered.
-
Custom Notifications: Custom notifications can be generated from the Custom Notification section in PrismERP.
Sample Firebase Credentials
| Key | Value |
|---|---|
| FCM Google Account | value |
| FCM Public VAPID Key | value |
| FCM API Keys | value |
| FCM Service Account Info | JSON content |
Generating Firebase Credentials
-
Open the Firebase Console: https://console.firebase.google.com
-
Select your project or create a new one
-
Navigate to Project Settings
-
Open the Service Accounts tab
-
Select Generate new private key
-
Download the JSON key file