Hi Server,
Are you using the same pushId in both cases here ? Do you have your app closed when testing from both places ? Can you give us the name of your game so we can take a look at your config ?
Thanks,
Liam
Yes, game is closed, and pushid the same, HockeyBattle - name of the game,
Hi Server
What are you using to pick up the messages on the client?
What SDK are you using?
Regards
Katie
I'd like to know what Server Chabanov did because I also have the exact problem, I receive the notification when sent from FCM console but not from GS android integration test.
Same problem here.
Looks like some thing broken? I'm seeing the same problem here. Messages were sent to my device ok using FCM console notification test, but nothing works when try to send from GS integration test page.
The message seem to reached GCM server ok:
Status code: 200 Response body: id=0:1487189501812489%23c1c4f4f9fd7ecd
Any suggestion?
I saw your post on facebook about the FCM tutorial. I followed it and now it's working properly.
https://docs2.gamesparks.com/tutorials/social-features/configuring-firebase-cloud-messaging.html
Since our game send push notifications using GS messages like this
Spark.sendMessageExt({}, "ANY_MSG_CODE", [Spark.getPlayer()]);
I had to set the FCM Message Template as follow:
{ "notification": { "title": "${summary}", "body": "${title}" } }
Good job guys
Server Chabanov
I'm testing notification via Test Push Notification Google, and there responce is ok (Status code 200)
but notification not recieved in device. If i send test message from https://console.firebase.google.com/project/hockeybattle-a8663/notification all ok.
2 people have this question