Erpnext Fcm
Firebase Cloud Messaging integration for sending notification created in ERPNext/Frappe to users as push notification.
- Author: tridz-dev
- Repository: https://github.com/tridz-dev/erpnext_fcm
- GitHub stars: 33
- Forks: 57
- License: NOASSERTION
- Category: Other
- Maintenance: Unmaintained
Install Erpnext Fcm
bench get-app https://github.com/tridz-dev/erpnext_fcm
Tags
- erpnext
- erpnext-application
- fcm
- firebase-cloud-messaging
- frappe
- frappe-framework
- push-notifications
Add the Frappe Gems badge to your README
Maintain Erpnext Fcm? Paste this into your README:
[](https://frappegems.com/gems/apps/tridz-dev/erpnext_fcm)
About Erpnext Fcm
# FCM Notification for ERPNext
Send notifications created in Frappe or ERPNext as push notication via Firebase Cloud Message(FCM)
### Steps to use the app:
1. Install the app into your site. [(Refer)](https://frappeframework.com/docs/v13/user/en/bench/frappe-commands#app-installation)
2. Create a new Server Script with values given below
i. Script Type: **DocType Event**
ii. Reference Document Type: **Notification Log**
iii. DocType Event: **Before Insert**
iv. Script: `frappe.call("fcm_notification.send_notification.send_notification", doc=doc)`
To learn more about server scripts [see this link.](https://frappeframework.com/docs/v13/user/en/desk/scripting/server-script) 2. Add your FCM server key in FCM Notification Settings. [(Refer)](https://intercom.help/push-monkey/en/articles/1649592-how-to-set-up-your-fcm-keys-previously-called-gcm) 3. Link your device id to each user using the **User Device** DocType. 4. Optionally create a notification in Frappe/ERPNext. [(Refer)](https://docs.erpnext.com/docs/v12/user/manual/en/setting-up/notifications) 5. Run an event that triggers any notification. The notifcation will be send the respetive user via FCM if they have subscribed to it. ## Supporting Organization The development of this app was commissioned by [Searchosis marketing Pvt Ltd](searchosis.com)
i. Script Type: **DocType Event**
ii. Reference Document Type: **Notification Log**
iii. DocType Event: **Before Insert**
iv. Script: `frappe.call("fcm_notification.send_notification.send_notification", doc=doc)`
To learn more about server scripts [see this link.](https://frappeframework.com/docs/v13/user/en/desk/scripting/server-script) 2. Add your FCM server key in FCM Notification Settings. [(Refer)](https://intercom.help/push-monkey/en/articles/1649592-how-to-set-up-your-fcm-keys-previously-called-gcm) 3. Link your device id to each user using the **User Device** DocType. 4. Optionally create a notification in Frappe/ERPNext. [(Refer)](https://docs.erpnext.com/docs/v12/user/manual/en/setting-up/notifications) 5. Run an event that triggers any notification. The notifcation will be send the respetive user via FCM if they have subscribed to it. ## Supporting Organization The development of this app was commissioned by [Searchosis marketing Pvt Ltd](searchosis.com)
Related Other apps for Frappe & ERPNext
- Erpnext — Free and Open Source Enterprise Resource Planning (ERP)
- Helpdesk — Modern, Streamlined, Free and Open Source Customer Service Software
- Print Designer — Visual print designer for Frappe / ERPNext
- Ctr — CTR模型代码和学习笔记总结
- Whitelabel — Whitelabel ERPNext
- Fossunited — fossunited.org
- Helm — Helm Chart Repository for Frappe/ERPNext
- Frappe Attachments S3 — A frappe app to upload file attachments in doctypes to s3.