Push Notifications

Hi there, I have self-hosted frappe and erpnext instance running on an Ubuntu VPS.
I also have the Frappe HR Mobile Application. I have followed all instructions on push notifications on the following screen and website.

Push Notification (frappe.io)

I appreciate it seems this is aimed at Frappe Cloud but what about self hosting?
v15 onwards, all sites hosted on Frappe Cloud can enable Push Notifications for the mobile app.

If you turn on Enable Push Notification Relay you get the following message:

Relay Server URL missing

The Push Relay Server URL key (push_relay_server_url) is missing in your site config

If you go to your site_config.json and add this parameter push_relay_server_url and following the firebase FMC set up you can get some configure details

https://firebase.google.com/docs/cloud-messaging/server#auth

But the API Key/Secret relates to a previous version of this tool and so you are left with other configure options.

  1. Has anyone managed to get this working on their own server (not local) and if so how?

  2. Why is this so hard? and shouldnlt it just be the same configure for self service?

#help Frappe HR #pushnotification #fmc

1 Like

Hi @benjamen:

As far I know, this only works on Frappe Cloud sites … It needs a server, running a relay app for Firebase service, etc … Repository is not public yet. Maybe by the first days of October we will know something else … :wink:

Hope this helps.

3 Likes

Hello, is there any update on this?

Hi, are here updates?