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.
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
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 …
I tried enabling Push Notifications in a self-hosted Frappe and ERPNext instance. However, when I enable Push Notifications in the HRMS mobile app, I get an error: “Cannot read properties of null (reading ‘vapidKey’).”
WHy then though, does raven require a seprate push notification server, if as you say, frappe notifier is by default available, and i have to choose either frappe cloud or raenchat cloud?
Raven’s use case is very different from other apps - push notifications are critical for a chat app. Plus we didn’t have a lot of control over the Frappe push notification app, and it was easier to build our own service. It’s free to use though.