Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

Plugin conflict with barecode-scanner #623

Closed
speedfl opened this issue Feb 10, 2018 · 3 comments
Closed

Plugin conflict with barecode-scanner #623

speedfl opened this issue Feb 10, 2018 · 3 comments

Comments

@speedfl
Copy link

speedfl commented Feb 10, 2018

Hello.

Facebook added a dependency to com/google/zxing which is used for barecode scanning.
This has been added certainly because facebook has a qrcode integrated to its app...

Anyway it could be nice if we can ignore this by adding a custom build.gradle to ignore it.

dependencies {
	compile ("com.facebook.android:facebook-android-sdk:4+"){
        exclude group: 'com.google.zxing'
    }
}

Here is a demo of a custom build.gradle

/~https://github.com/zyra/cordova-plugin-linkedin/blob/master/src/android/LinkedIn.gradle

Regards

Geoffrey MUSELLI

@yurik94
Copy link

yurik94 commented Mar 12, 2018

@speedfl same issue here, a few months ago :D

@speedfl
Copy link
Author

speedfl commented Mar 15, 2018

You can do what I suggest manually.
You create a gradle dependencies and in your project.properties instead of pointing to android sdk you point to this dependency file.

@peterpeterparker
Copy link
Collaborator

This is most probably a conflict with the Android SDK version

See for example #550

For support questions plz use other channels like Stackoverflow or Ionic forum

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants