phonegap / phonegap-plugin-push

Register and receive push notifications
MIT License
1.94k stars 1.91k forks source link

Plugin conflict error #2381

Open edufruit opened 6 years ago

edufruit commented 6 years ago

I am also using google plus plugin along with this plugin and building my app using PG Build.

Expected Behaviour

Should build without any errors

Actual Behaviour

Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at bintray.com/android/…) or updating the version of com.google.android.gms to 11.6.2.

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Platform and Version (eg. Android 5.0 or iOS 9.2.1)

Android 5.0

(Android) What device vendor (e.g. Samsung, HTC, Sony...)

Samsung

Cordova CLI version and cordova platform version

cordova --version                                    #cli-8.0.0 

Plugin version

cordova plugin version | grep phonegap-plugin-push   #2.1.3

Sample Push Data Payload

Sample Code that illustrates the problem

Logs taken while reproducing problem

macdonst commented 6 years ago

@edufruit uh, you know you can control the version of FCM used by the plugin by modifying the environment variable right?

edufruit commented 6 years ago

Would be great if you can please provide an example of implementing the environment variable modification.

macdonst commented 6 years ago

@edufruit give this a read over to see if it helps:

https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/INSTALLATION.md#co-existing-with-plugins-that-use-firebase