Firebase Cloud Messaging with Android - Please Help

Hi All,

I have been trying to integrate firebase sdk with Android build and use push notifications. In UPL, I have added the dependencies and applied the plugin. The Build only got succeeded when I put the google-services.json file in the src folder under gradle but it was failing when I copied it to the root $S(BuildDir) as indicated by documentation.

I ran the app and am not sure if the google-services.json is being picked up properly… will the above approach work? When I checked the logs I saw onlinesubsystem for google failed to init, is this because of misplacement of google-services.json?

1 Like

What documentation are you looking at? According to Step 4: Add the Firebase configuration file you should " Add your config file to the same directory as your top-level build.gradle file." That sounds like the method where the build succeeds should match that, no?

Please post your logs for when onlinesubsystem fails.