Open JoseMPersichini opened 7 years ago
I solved it setting
string message = intent.Extras.GetString("gcm.notification.body");
to get text of the notification.
Implement your solution in my project and since a few days when I send notifications from firebase console do not reach my client application, is there any new FCM update for GCM because scontinuan not working notifications do not arrive when sending from firebase console also download your Project and do you have any suggestions ???
Are you sending to the correct app or target? If you have not changed the target it will subscribe to "/all". As far as FCM and or GCM updates, I have not seen any that should affect messaging.
Topic of all:
Directed per app:
If you see this, where it tells you the topic is not found but you know you have typed in the correct topic we may need to check to see if your device is registering with Firebase at all. Also note the first device registers with a topic (topic is created by phone on Firebase) can take up to 24 hours before it is usable.
Notifications are still not being sent when sending them from firebase. I notice when I run my application in visual studio 2015 in the output window I notice that there is an error that says Failed to resolve target intent service, skipping classname enforcement, I do not know if that is affecting for the notifications to arrive and if it is asu how could solve ?. Thank you
Seriously Xamarin, this issue is from April, it is bad (blocks use of Firebase) and no-one from the team has responded in any way in all this time. Has all Xamarin development been stopped? Or just the really important parts such as addressing critical bugs?
Hello, I downloaded and installed your solution. Only I change the SENDER_ID and try to send messages via Firebase Cloud Messaging Console. My smartphone receives the messages correctly, but the text are incorrect. I get this in msg var of "OnMessage" method of GcmService.cs
{google.c.a.c_l=MyLabel google.c.a.udt=0 google.sent_time=... gcm.notification.e=1 google.c.a.c_id=... google.c.a.ts=... gcm.n.e=1 from=.... google.message_id=... gcm.notification.body=MyText google.c.a.e=1 collapse_key=com.fcm.sample }
where the text I set is MyText and label is MyLabel. (Where I put ... I have my sender_id, etc...)
So in my smartphone I see "Unknown message details" and the text I pasted below.
Thanks!