Push Notifications - Not working

How to set up Push Notification (experimental state as of now) in ERP Next hosted in Frappe Cloud ?

I have enabled it in the Push settings.

What else do we need to do? How to test it? Anything else to be configured ?

Will this work along with the normal ‘System Notification’ type in Notification Doctype ?

You just need to enable it in Push Notification settings and that’s it.

Only certain apps use this capability (Raven and FrappeHR) - so if you go to Raven or the Frappe HR mobile app and enable push notifications, it should work.

It won’t work for System Notifications - only for apps that use the push notification service.

2 Likes

Thanks @nikkothari22 !

But, is there any way where in we can send notifications (browser notification) to the users, apart from the notification available within ERP Next ?

Say, can we write a server script and initiate this push notification ?

You would need to make Frappe into a PWA with a service worker, and then add a button for the user to opt in to notifications and then change the default System Notification to trigger a push notification. Is it impossible? No. Is it a lot of work - yeah :sweat_smile:

Alright! Thanks @nikkothari22