I have checked my app build.gradle file and these are the only lines that are related to firebase in them
/***
* Firebase
*/
implementation \'com.google.f
Turns out I forgot to change the version number for com.google.android.gms:play-services-ads
, switched it to 15.0.0
and it worked.
Here's a blog by Google that provides more information. Announcing new SDK versioning in Google Play services and Firebase
apply plugin: 'com.google.gms.google-services'
put it under this line.
apply plugin: 'com.android.application'
it worked for me.
Remove this from App level gradle
implementation 'com.google.android.gms:play-services-maps:15.0.0'
and then try these versions
compile 'com.google.firebase:firebase-core:11.8.0'
compile 'com.google.firebase:firebase-messaging:11.8.0'
compile 'com.google.firebase:firebase-database:11.8.0'
compile 'com.google.firebase:firebase-auth:11.8.0'
this one worked for me... tanx
For example change
implementation 'com.google.android.gms:play-services-appindexing:9.8.0'
to
implementation 'com.google.firebase:firebase-appindexing:15.0.1'
, as this suggestion comes in the warning in build.gradle.
What worked for me was changing com.google.android.gms:play-services-location:15.+
to com.google.android.gms:play-services-location:11.6.2
so that it's the same version as my com.google.firebase:firebase-messaging:11.6.2
library.
The change was in file platform/android/project.properties
.
The location and push notifications library is working perfect now
Change all of your firebase libraries to the same version.