Firebase Clound Functions – Sending message via FCM does not work due to deprecated endpoint
I hope you can help me with this problem. I have a Firebase Cloud Function, which sends a message via FCM to a certain topic when a document is created on the firestore database. Here is my code for it:
Firebase Cloud Messaging sending push notification but always throws error
I have a cloud function that takes an fcmToken and sends a push notification to the right device.