Raven React SDK lets you receive and manage push notifications in react webapps. This only works when FCM integration is used to send notifications
messaging-sw.js
. You can place it under your own path in the public folder.
Just replcae the FIREBASE_CONFIG object with the one retrieved from Firebase and RAVEN_APP_ID with your App Id on Raven console.pom.xml
for using HmacUtils to generate signatureclick-notification
. The clickAction
variable will have the action string which you can use to open a window or take any specific action