Skip to content Skip to sidebar Skip to footer

Web Firebase Cloud Messaging - How To Subscribe To A Topic From Client Side?

I have to use FCM to receive push notifications on my web application. Now I want to subscribe to a particular topic from the web app. Is there any way to do this? if yes then is i

Solution 1:

The client-side web SDK for Firebase Cloud Messaging does not support subscribing to topics. If you want to subscribe your web clients to FCM topics, you will have to do so from server-side code, either through the Admin SDK or through the corresponding REST APIs.


Post a Comment for "Web Firebase Cloud Messaging - How To Subscribe To A Topic From Client Side?"