Reputation: 664
I am trying to learn the basics to FireBase and implement it in my app. I found an example at the following website. I created a new class and tried to send a message, but it never showed up in my logcat.
EDIT: After trying many different things, I decided to upload my code to a git repo so someone can look at ALL the code and see if they can figure out why I am not getting the messages. The code can be found at:
https://bitbucket.org/alexander7567/msw-android/src
Thanks very much for your help!
Upvotes: 0
Views: 248
Reputation: 344
@alexander7567 I have tested with an application that I have and when I send the messages from the firebase console the onMessageReceived
method is not being called. But when I send the notifications from my own server implementation the method is called. For that reason you are not getting anything in the logcat. But you should be receiving the notifications in the system tray on your device.
Upvotes: 1