phonegap / phonegap-plugin-push

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

Conflict with cordova-plugin-request-location-accuracy #2805

Closed daveed80 closed 5 years ago

daveed80 commented 5 years ago

Expected Behaviour

Successful build

Actual Behaviour

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

(iOS / Android / Windows) (5.0.1 / 8.0.0 / 7.0.0)

Cordova CLI version and cordova platform version

PhoneGap Build --9.0.0
cordova platform version android                     8.0.0

Plugin version

phonegap-plugin-push 2.2.0

I wanted to say that this plugin is fantastic and thanks very much. If I had more experience, I would be contributing. I'm fairly certain that this is due to a conflict between dependencies used by this plugin and cordova-plugin-request-location-accuracy. I'm just unsure what will need to be modified in my config.xml to correct this.

From what I've read, I can use one or a combination of the below plugins to align dependencies used by different plugins.

<plugin name="cordova-android-support-gradle-release">
  <variable name="ANDROID_SUPPORT_VERSION" value="" />
</plugin>

<plugin name="cordova-android-play-services-gradle-release">
  <variable name="PLAY_SERVICES_VERSION" value="" />
</plugin>
daveed80 commented 5 years ago

Realized I omitted adding

<preference name="android-build-tool" value="gradle" />

lock[bot] commented 5 years ago

This thread has been automatically locked.