xeladu
Mar 26, 2022

--

Here is an example how to send notification via FCM with a HTTP request

https://riptutorial.com/firebase/example/31662/firebase-cloud-messaging-http-protocol

Your secret key can be found in the Firebase console under the settings tab (either the web api key under "general" or the sender id under "cloud messaging". I am not quite sure about the required key, I am sorry).

If you use your own server there is a firebase-messaging JS SDK that you can use, too.

https://firebase.google.com/docs/cloud-messaging/js/client

--

--

xeladu
xeladu

Written by xeladu

Flutter and Firebase expert, blogger on QuickCoder.org, find my ebooks and freebies on shop.quickcoder.org, contact me on me.quickcoder.org!

No responses yet