Skip to content Skip to sidebar Skip to footer

Firebase, Com.google.firebase:firebase-messaging:17.3.0 Not Working

I found a lot of postings that talk about this. I'm 2 days trying to insert firebase implementation but without success. I'm going crazy because I can not understand what he does n

Solution 1:

Using these versions will solve your problem. don't forget to sync project with gradle files:

implementation 'com.google.firebase:firebase-core:16.0.3'
implementation 'com.google.firebase:firebase-messaging:17.3.2'

Solution 2:

You are missing the apply plugin: 'com.google.gms.google-services' line on your app build.gradle. Also you will need to add the google-services.json file generated when you create your Firebase project.

Reference https://firebase.google.com/docs/android/setup

Solution 3:

try to change each and every version to 11.8.0 like

compile 'com.google.firebase:firebase-messaging:11.8.0'

for auth ,database ,storage,messaging,related to firebase

Solution 4:

Firebase version must be the same

Implementation 'com.google.firebase:firebase-messaging:16.0.3'
Implementation 'com.google.firebase-core:16.0.3'

or

Instead of Implementation use Compile

Post a Comment for "Firebase, Com.google.firebase:firebase-messaging:17.3.0 Not Working"