Cordova plugin conflict with both fcm and googleplus


#1

Hi ,
I have conflict with two plugin of cordova.
1.) cordova-plugin-FCM (Firebase cloud messaging).
2.)cordova-plugin-googleplus.
when i am using both plugins in same ionic project. when i am try to build the application. it saying default version is not mention and taking 9.0.0 (google-play-services) as default version and tends to build error please help me from past week i am facing problem.


#2

Please post the exact error message.
What is the command you are executing?
Post your ionic info output please.


#3

my error when i am building app
google-services plugin could not detect any version for com.google.android.gms or com.google.firebase, default version: 9.0.0 will be used.
please apply google-services plugin at the bottom of the build file.

command i am using : ionic cordova build android

ionic info :

global packages:

@ionic/cli-utils : 1.4.0
Cordova CLI      : 7.0.1
Ionic CLI        : 3.4.0

local packages:

@ionic/app-scripts              : 1.1.4
@ionic/cli-plugin-cordova       : 1.4.0
@ionic/cli-plugin-ionic-angular : 1.3.1
Cordova Platforms               : android 6.2.3
Ionic Framework                 : ionic-angular 2.3.0

System:

Node       : v7.3.0
OS         : Windows 10
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed
npm        : 5.0.4

#4

Did you solve this issue ?


#5

go to project.properties in platforms/android/project.properties

and change
com.google.android.gms:play-services-auth:+ to com.google.android.gms:play-services-auth:9.0.0
com.google.android.gms:play-services-identity:+ to com.google.android.gms:play-services-identity:9.0.0

that resolved issue for me