Hi, I was able to successfully get a proof of concept working for sending push notifications to Android via Firebase thanks to your docs (https://www.fusetools.com/docs/fuse/pushnotifications/push). However, I can’t seem to figure out where you got the format from for sending the notification to the Google’s Cloud Messaging. It’s this format here:
{
registration_ids: [regID],
data: {
notification: {
alert: {
title: 'Well would ya look at that!',
body: 'Hello from some other app'
}
},
payload: 'anything you like'
}
}
In the Google documentation (https://firebase.google.com/docs/cloud-messaging/concept-options), all I can seem to find is the one below, which doesn’t seem to work for me - I get an error back from the Google server. However, the format above from the Fuse docs seems to work fine. Here is the message format shown in the Google documentation:
{
"message": {
"token":"bk3RNwTe3H0:CI2k_HHwgIpoDKCIZvvDMExUdFQ3P1...",
"data":{
"Nick" : "Mario",
"body" : "great match!",
"Room" : "PortugalVSDenmark"
}
}
}