Skip to content

Firebase Cloud Messaging integration for sending notification created in ERPNext/Frappe to users as push notification.

License

Notifications You must be signed in to change notification settings

tridz-dev/erpnext_fcm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Firebase Cloud Messaging integration for sending notification created in ERPNext/Frappe to users as push notification.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published