Closed TITANiumRox closed 5 months ago
Hey is this feature to receive messages notification ? @TITANiumRox @nikkothari22
Hey is this feature to receive messages notification ? @TITANiumRox @nikkothari22
Yes. We're working on it.
We're trying one way to send web push notifications on Raven, while the FrappeHR team is also trying a different way. Hopefully, we'll have web push notification support in Frappe framework itself (probably powered by Frappe Cloud).
Hey is this feature to receive messages notification ? @TITANiumRox @nikkothari22
Yes. We're working on it.
We're trying one way to send web push notifications on Raven, while the FrappeHR team is also trying a different way. Hopefully, we'll have web push notification support in Frappe framework itself (probably powered by Frappe Cloud).
What about now? Did the attempt to send notifications via the web succeed?
What about now? Did the attempt to send notifications via the web succeed?
Yeah we tried one approach where we don't use FCM and just did it directly via web push API. That worked on some browsers but not all.
On the other hand, the Frappe HR team have set up a relay server for notifications. That seemed to work on all browsers and we only need to implement it and test it on Raven which we're doing now. This would however work easily on Frappe Cloud since the relay server is on FC, but won't work when self hosting Raven.
For self hosting, users would also have to deploy the relay server app and the FCM config themselves. I'm not sure if that can run on the same server or not, but we'll provide documentation for this once the relay server app is tested and released.
This is also dependent on the Frappe framework itself - since the common controller is in FF, and hence push notifications might not work on older versions of Frappe framework.
Steps to implement web push notifications:
Notification should be received on the subscribed browser after the Web Push Protocol request is parsed and authenticated by the Push Service.
From SyncLinear.com | RAV-15