Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.46 KB

README.md

File metadata and controls

28 lines (17 loc) · 1.46 KB

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)

  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.

  3. Add your FCM server key in FCM Notification Settings. (Refer)

  4. Link your device id to each user using the User Device DocType.

  5. Optionally create a notification in Frappe/ERPNext. (Refer)

  6. 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