Raven Push Notifications and Firebase Integration

I’m currently working on integrating Firebase Cloud Messaging (FCM) to enable push notifications in my app using Raven. I’ve followed the official documentation provided by Raven for Firebase Push integration, including setting up the Firebase project, adding the google-services.json file, updating the build.gradle files, and initializing Firebase in the application.

However, the push notifications are not working as expected — either the device is not receiving the notifications at all, or they are not triggering the intended behavior within the app.

I’ve verified that the Firebase setup is correct, and other Firebase services (like Analytics or Crashlytics) seem to work. But the FCM part specifically with Raven doesn’t seem to function correctly.

Is there any alternative method or library to implement push notifications with Raven, or any known issues or workarounds that might help resolve this?

Also interested in push notifications.

I see two projects on GitHub, but only one listed using HTTPv1.

Does anyone have a working set of instructions on how to set up push notifications with Firebase Cloud Messaging hosted on a local server?

Hey, have you forked Raven? You don’t need to make any changes to the core app just to use Push notifications.

If you’re using the official Raven app, have you tried signing up for Raven Cloud? It’s free to use and offers a push notification relay server for Raven.

What is Raven Cloud? I’m using the Official Raven app, but self-hosted.

1 Like

Yeah so Raven Cloud offers push notifications for self hosted users like you, since Frappe Cloud’s relay server only worked for sites hosted there.

On your Raven app (web), open Settings > Push Notifications and you’ll find instructions on how to use Raven Cloud for push notifications. You just need to create an account get the API key and secret and paste it there. Then click on the register site button and sync button to sync existing users and tokens. Raven Cloud is required to use push notifications on the official Raven mobile app.

1 Like

Thank you @nikkothari22

You’re a huge help. This got me to update my bench and all apps.
I was able to join cloud.raven.io and set up push notifications.

After uninstalling and reinstalling the mobile app, I realized I probably just needed to go into the mobile phone app settings and allow notifications.

Cheers!
This is nothing short of awesome.

1 Like

we had configured this easily via docs. thanks for this feature.

1 Like

Hi just visited cloud.raven.io and i couldn’t find the signup button.

Is it still open for registration?

It’s cloud.ravenchat.ai

Thanks, done

How can we make push notifications work via Raven Web App or desktop browser. It seems only messages sent from the mobile app are sent to other users via push. If I make a post/reply via the web interface, user mobile devices don’t get notified.

1 Like

That’s weird. We get push notifications for all messages. There’s no logic that differentiates web based messages vs mobile app.

I noticed this and this is what has made us not really used it yet.

Push notifications issues even after the integration

Can you update to the latest version of Raven and then enable push notifications on the web app - clicking on the user profile in the bottom left should show an option to enable it.

We’ve been using it reliably for quite some time now across multiple sites.

Is this service still available? I signed up on https://cloud.ravenchat.ai/ yesterday and received a Complete registration link in my email. Unfortunately setting new password did not go through. I tried Forgot password and Login with email. Both are not working - I am not getting any more emails from Raven Cloud.

I’ll have a look. It might be that the email service isn’t working anymore on the site.

1 Like

Hi, I’m facing difficulties in Document Preview, Even after unticking the description in ToDo,

Im getting html at description of the Cart.

I’m Getting this error but when i select the task is shows perfectly. Please let me know what am I doing wrong Or Its an Error.

Seems like a bug where it should show the title without the HTML. Will fix.