GameSparks and FireBase Cloud Messaging (FCM) on Android
I
Ivo Swartjes
started a topic
about 6 years ago
Hi,
Google has deprecated Google Cloud Messaging (GCM) in favor of Firebase Cloud Messaging (FCM). I'm now at a point where I either build GCM support or FCM support into our game in order to enable push notifications.
Am I correct that GameSparks currently only supports GCM? GameSparks asks for a GCM API key in order to enable push notifications.
If so, is there anything planned for adding or switching to FCM in the near future?
Thanks!
Best Answer
C
Customer Support
said
over 5 years ago
Hi Guys,
We have tested Firebase with GameSparks and it works. There are some new steps involved with Firebase that are not in are documentation yet. We hope to get these steps into the documentation soon. For now you can follow along here.
I will look into our plans for this and get back to you.
Thanks,
Oisin
G
Gabriel Sauve
said
almost 6 years ago
Any update on this subject?
H
Hamlet Archer
said
almost 6 years ago
hello. we are in the same boat. is there any update on this?
S
Sandesh Salunke
said
almost 6 years ago
Hi, We are facing same problem. If any update please share ASAP.
Customer Support
said
almost 6 years ago
Hi Guys,
This is something we are aware of and it's currently in our backlog, we don't have a release date for it at the moment I'm afraid. You can keep an eye on our announcements page here for any updates relating to this.
Thanks,
Liam
H
Hamlet Archer
said
almost 6 years ago
hello, is there any update on FCM support please?
J
Jonathan Hopkinson
said
over 5 years ago
Bump. I need this too.
Customer Support
said
over 5 years ago
Answer
Hi Guys,
We have tested Firebase with GameSparks and it works. There are some new steps involved with Firebase that are not in are documentation yet. We hope to get these steps into the documentation soon. For now you can follow along here.
2. Go to the Fire Base Console and import google project and select the project you made in the google developers console,
3.Go back to the google developers console and go to credentials google will have auto created a server key
4.Go back to the gamesparks portal , go to integrations ->google-> edit put the server key into GCM API Key
That should be all you need. Try that and let me know how you get on. If you need any further assistance just let us know.
Thanks,
Liam
J
Jonathan Hopkinson
said
over 5 years ago
I got it working as GCM events following the steps. You just need to make sure you add Firebase to your Google Play project. The server key it gives you works as GCM. Thank goodness it is backwards compatible.
1 person likes this
F
Felipe Caldas
said
over 5 years ago
Awesome, that's great news!
I
Ivo Swartjes
said
over 5 years ago
Great to hear! We're now also successfully using FCM using GameSparks.
A
Aleksey Shishkin
said
over 5 years ago
I've integrated FCM with my project, but push-up notifications don't seem to form properly from GameSparks -- they never pop up on my device actually.
If I check FCM Diagnostics in Google Play Dev Console (picture attached), I see that messages, sent from GS, were successfully delivered. But the application name is not filled (perhaps that's reason why I did not see them popping up). Also, message expiration date has its maximum value, though I've set 1 hour on GameSparks side.
As the follow-up to my previous comment, I forgot to mention that the upper string in the attached picture show message sent from GS, and the lower -- sent simply from Firebase console (the later one was delivered and popped up on my device successfully). The last column is "Expire hours".
D
Dimitri Laaraybi
said
over 5 years ago
Hi guys !
Is there any ways to get it work on iOS ? We tried to send push notifications on Android via GameSparks (FCM) and it worked great, but it fails on iOS devices...
Ivo Swartjes
Hi,
Google has deprecated Google Cloud Messaging (GCM) in favor of Firebase Cloud Messaging (FCM). I'm now at a point where I either build GCM support or FCM support into our game in order to enable push notifications.
Hi Guys,
We have tested Firebase with GameSparks and it works. There are some new steps involved with Firebase that are not in are documentation yet. We hope to get these steps into the documentation soon. For now you can follow along here.
1.Crate a new project on Google Developers Console
2. Go to the Fire Base Console and import google project and select the project you made in the google developers console,
3.Go back to the google developers console and go to credentials google will have auto created a server key
4.Go back to the gamesparks portal , go to integrations ->google-> edit put the server key into GCM API Key
That should be all you need. Try that and let me know how you get on. If you need any further assistance just let us know.
Thanks,
Liam
1 person has this question
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstCustomer Support
Hi Ivo,
I will look into our plans for this and get back to you.
Thanks,
Oisin
Gabriel Sauve
Any update on this subject?
Hamlet Archer
hello. we are in the same boat. is there any update on this?
Sandesh Salunke
Hi, We are facing same problem. If any update please share ASAP.
Customer Support
Hi Guys,
This is something we are aware of and it's currently in our backlog, we don't have a release date for it at the moment I'm afraid. You can keep an eye on our announcements page here for any updates relating to this.
Thanks,
Liam
Hamlet Archer
hello, is there any update on FCM support please?
Jonathan Hopkinson
Bump. I need this too.
Customer Support
Hi Guys,
We have tested Firebase with GameSparks and it works. There are some new steps involved with Firebase that are not in are documentation yet. We hope to get these steps into the documentation soon. For now you can follow along here.
1.Crate a new project on Google Developers Console
2. Go to the Fire Base Console and import google project and select the project you made in the google developers console,
3.Go back to the google developers console and go to credentials google will have auto created a server key
4.Go back to the gamesparks portal , go to integrations ->google-> edit put the server key into GCM API Key
That should be all you need. Try that and let me know how you get on. If you need any further assistance just let us know.
Thanks,
Liam
Jonathan Hopkinson
I got it working as GCM events following the steps. You just need to make sure you add Firebase to your Google Play project. The server key it gives you works as GCM. Thank goodness it is backwards compatible.
1 person likes this
Felipe Caldas
Awesome, that's great news!
Ivo Swartjes
Great to hear! We're now also successfully using FCM using GameSparks.
Aleksey Shishkin
I've integrated FCM with my project, but push-up notifications don't seem to form properly from GameSparks -- they never pop up on my device actually.
If I check FCM Diagnostics in Google Play Dev Console (picture attached), I see that messages, sent from GS, were successfully delivered. But the application name is not filled (perhaps that's reason why I did not see them popping up). Also, message expiration date has its maximum value, though I've set 1 hour on GameSparks side.
Any suggestions, please?
Aleksey Shishkin
As the follow-up to my previous comment, I forgot to mention that the upper string in the attached picture show message sent from GS, and the lower -- sent simply from Firebase console (the later one was delivered and popped up on my device successfully). The last column is "Expire hours".
Dimitri Laaraybi
Hi guys !
Is there any ways to get it work on iOS ? We tried to send push notifications on Android via GameSparks (FCM) and it worked great, but it fails on iOS devices...
1 person likes this
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics