Configuring Firebase on Rocket.Chat Android app


#1

Hello, how are you?

I’m trying to setup Firebase Cloud Messaging on Rocket.Chat but when I run build from Android Studio it seems not work. I don’t have any log on console mentioning Firebase and looks very strange to me. I have already included my google-servicces.json, but as I saw, when I run it from Android Studio it install a “foss” version, without google services.

So, what is the foss version and how can I configure the FCM?
I already follow the steps here, what does mean “After you add the initialization code, run your app to send verification to the Firebase console that you’ve successfully installed Firebase.”? What is the initialization code?

Thanks, Danilo.


#2

I believe you’re running the app using FOSS build (scheme). If you want to use FCM, you need to use the release scheme instead, that contains FCM.


#3

Yeah, now it is working. Thanks for helping!