Skip to content Skip to sidebar Skip to footer

Google-services.json : What Goes In The 'api_key' Section To Enable Firebase Push Notifications?

I want to enable Firebase Cloud Messaging for push notifications for my Android app. In the google-services.json file needed for push notifications there's a field called 'api_key'

Solution 1:

The api_key value in google-services.json is not used by FCM. (it is used by other Firebase libraries)

Generally speaking do not touch the google-services.json that is provided by the Firebase Console. Just download it and add it to your app as is.

Solution 2:

Post a Comment for "Google-services.json : What Goes In The 'api_key' Section To Enable Firebase Push Notifications?"