firebasefirebase-cloud-messaging

Is it possible to use Rest-API to subscribe tokens on my app-server which does not use Admin SDK?


I am writing a server in a language (Rust) that hasn't an official driver from the Firebase team. I am doing Rest-API calls to Firebase Cloud Messaging which also works fine.

I am interested in subscribing clients to topics in my server. I don't see Rest-API as a supported way of adding/removing subscribtions from topics server-side: https://firebase.google.com/docs/cloud-messaging/manage-topics.

The Firebase Admin SDK allows you to perform basic topic management tasks from the server side.

Is Rest-API supported, or not at all?


Solution

  • subscribing to FCM through restapi is not possible: https://firebase.google.com/docs/cloud-messaging/manage-topics only admin sdk makes this possible