One project with multiple webapps GCM

29 views
Skip to first unread message

marco marcantoni

unread,
Oct 21, 2016, 10:17:38 AM10/21/16
to Firebase Google Group

Hi,
I develop non-native app. To do this use Telerik with cordova. Until now to manage the gcm, I used google api console. I created one project. For each application I create a key. When the app gone registering, it specify the correct key and everything works



I would like to start using Firebase. I created a new project and I saw that the "gcm" area , was created a new key with sender id. But the problem is that I can not create other new key for other apps as I do on Google API. How can i do this? Appeal that my apps are hybrid (web), then in the script to insert, I have not "packed id" as natively.
Thanks a lot and sorry for my english.
Bye

Kato Richardson

unread,
Nov 2, 2016, 7:27:00 PM11/2/16
to Firebase Google Group
Hi Marco,

It sounds like you're trying to use a feature from GCM that allowed you to use multiple API keys with a single project. That's not possible in Firebase Cloud Messaging (FCM).

An important detail to always include here is the use case; Why do you want to use multiple API keys? (see XY problem).

If it is so that different senders can send to the app then it is better to have each sender create their own project then have the app register with all senders. This allows separation of responsibility in the event of throttling, one sender's bad behavior will not affect other senders.

If there is only a single sender (the developer) with multiple apps then there is no need to have multiple API keys, the apps can all use the same sender ID and API key.

☼, Kato

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/3e0ce1c1-e973-4b0b-9fa6-6570e1bee53b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Reply all
Reply to author
Forward
0 new messages