Android Question FirebaseNotifications sample

Semen Matusovskiy

Well-Known Member
Licensed User
Hi, guys --

I tried to find a sample, but found "tutorial" only. Guess, workable sample, where it's necessary to change google-services.json only will be very useful for such old and lazy like me.

I tried to follow tutorial, but when I send a message from Firebase console, Message.GetData is empty. When I try SendMessage subroutine I receive Error 401 (Unauthorized).
 

Semen Matusovskiy

Well-Known Member
Licensed User
Thanks, Erel.
I found my mistake - I used API-key from JSON. Now works (SendMessage from my program).
Meanwhile, my mind remains - example is better than long explanations (because nobody like to read documentation, at least, at initial step).


[QUOTE}you should not use firebase console.[/QUOTE]

Very sad, but hope to bypass this problem on own web-server
 
Upvote 0
Top