Hi,
I have a very strange situation. Upon FBM connection and as soon as I have an available Token, I do subscribe to a number of topics for each user depending on some attributes.
I see perfectly OK the users subscribing to the topics. But when I try to send a message to that topic, the message never arrives.
The wierd part is that if I send the notification to the user token, it arrives with no problem. In both cases, the Google SDK (For VB.Net) it displays the route of the message and that was succesfully sent to Firebase.
When I send the following data (From the message structure from the SDK):
Google answers with: projects/android-abreme-cl/messages/644427452470285150
But no message on the Android app shows up (in my logs where I trace it)
If I send this data, which includes the user token:
Google answers with: projects/android-abreme-cl/messages/0:1730819047486989%8892d552f9fd7ecd
And the message on the Android app shows up (in my logs where I trace it)
I have tried both in Debug and in Release with the same luck. Has someone has experience something similar?
I did test also with a dummy topic subscribed with the topic name "test", same result.
Thanks
FBP
I have a very strange situation. Upon FBM connection and as soon as I have an available Token, I do subscribe to a number of topics for each user depending on some attributes.
I see perfectly OK the users subscribing to the topics. But when I try to send a message to that topic, the message never arrives.
The wierd part is that if I send the notification to the user token, it arrives with no problem. In both cases, the Google SDK (For VB.Net) it displays the route of the message and that was succesfully sent to Firebase.
When I send the following data (From the message structure from the SDK):
JSON:
{
"Token": null,
"Topic": "C1394",
"Condition": null,
"Data": {
"relayState": "0",
"idAcceso": "2272",
"deviceOnline": "1",
"idDevice": "10172"
},
"Notification": null,
"Android": null,
"Webpush": null,
"Apns": null,
"FcmOptions": null
}
Google answers with: projects/android-abreme-cl/messages/644427452470285150
But no message on the Android app shows up (in my logs where I trace it)
If I send this data, which includes the user token:
JSON:
{
"Token": "e9yQmKR6Sl2gemwCx-0rkj:APA91bGP6WWNMCtBXz_5dLZ9HAfeVo5vTwPp4QF4Nefr8yhFmE4B4kqPTbKvN4kch8R6_******************************************",
"Topic": null,
"Condition": null,
"Data": {
"relayState": "0",
"idAcceso": "2272",
"deviceOnline": "1",
"idDevice": "10172"
},
"Notification": null,
"Android": null,
"Webpush": null,
"Apns": null,
"FcmOptions": null
}
Google answers with: projects/android-abreme-cl/messages/0:1730819047486989%8892d552f9fd7ecd
And the message on the Android app shows up (in my logs where I trace it)
I have tried both in Debug and in Release with the same luck. Has someone has experience something similar?
I did test also with a dummy topic subscribed with the topic name "test", same result.
Thanks
FBP