# Cordova plugin conflict with both fcm and googleplus

**URL:** <https://forum.ionicframework.com/t/cordova-plugin-conflict-with-both-fcm-and-googleplus/96816>\
**Category:** ionic-v3\
**Created:** [July 4, 2017, 6:15am UTC](https://forum.ionicframework.com/t/cordova-plugin-conflict-with-both-fcm-and-googleplus/96816 "2017-07-04T06:15:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![suryathrideep](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@suryathrideep](https://forum.ionicframework.com/u/suryathrideep)\
**Post date:** [July 4, 2017, 6:15am UTC](https://forum.ionicframework.com/t/cordova-plugin-conflict-with-both-fcm-and-googleplus/96816/1 "2017-07-04T06:15:37Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [July 4, 2017, 8:22pm UTC](https://forum.ionicframework.com/t/cordova-plugin-conflict-with-both-fcm-and-googleplus/96816/2 "2017-07-04T20:22:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![suryathrideep](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@suryathrideep](https://forum.ionicframework.com/u/suryathrideep)\
**Post date:** [July 5, 2017, 11:04am UTC](https://forum.ionicframework.com/t/cordova-plugin-conflict-with-both-fcm-and-googleplus/96816/3 "2017-07-05T11:04:10Z")

</div>

**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
```

---

<div class="post-metadata">

**Author:** ![Yaman\_Sehzade](https://avatars.discourse-cdn.com/v4/letter/y/c0e974/32.png) [@Yaman\_Sehzade](https://forum.ionicframework.com/u/Yaman_Sehzade)\
**Post date:** [January 24, 2018, 9:09pm UTC](https://forum.ionicframework.com/t/cordova-plugin-conflict-with-both-fcm-and-googleplus/96816/4 "2018-01-24T21:09:33Z")

</div>

Did you solve this issue ?

---

<div class="post-metadata">

**Author:** ![akash705](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@akash705](https://forum.ionicframework.com/u/akash705)\
**Post date:** [May 30, 2018, 9:33am UTC](https://forum.ionicframework.com/t/cordova-plugin-conflict-with-both-fcm-and-googleplus/96816/5 "2018-05-30T09:33:57Z")

</div>

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
