-2

Can anybody provide information on how to setup push notifications for a chrome web application?

How to setup topics, create new topics, delete topics and what the syntax would be.

I searched the internet using what tools we have and come up with nothing.

Thank you.

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
PazoozaTest Pazman
  • 749
  • 12
  • 33
  • Did you consulted their getting started: https://firebase.google.com/docs/cloud-messaging/ – Keno Dec 02 '16 at 03:56

1 Answers1

0

There is no client-side API for web applications to subscribe to topics. You can use the REST API, but that requires running a trusted process (i.e. on a server). See my answer here for details: How to subscribe to topics with web browser using Firebase Cloud Messaging

Note that in general there is no API to create/delete topics. Topics are automatically created when you subscribe to them or send a message to them.

Community
  • 1
  • 1
Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807