Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Duplicate class com.sumsub.sns:idensic-mobile-sdk #268

Open
AnnaBitsUK opened this issue Apr 5, 2024 · 0 comments
Open

[BUG] Duplicate class com.sumsub.sns:idensic-mobile-sdk #268

AnnaBitsUK opened this issue Apr 5, 2024 · 0 comments

Comments

@AnnaBitsUK
Copy link

The problem

Hello, I have a compatibility issue with other libs in the app.
Multiple libs depend transitively on the same lib with different versions
I resolved the conflict, but I have a crash on one of the sumsub screens.

Dependency Versions

com.plaid.link:sdk-core:3.10.1
com.sumsub.sns:idensic-mobile-sdk:1.27.1

kotlin: 1.8.21
stripe-android: 18.2.0
Android Gradle Plugin: 8.3.1
Gradle: gradle-8.4-bin.zip

Other information

Plaid
com.plaid.link:sdk-core:3.10.1
org.bouncycastle:bcpkix-jdk15to18:1.69
org.bouncycastle:bcprov-jdk15to18:1.69
org.bouncycastle:bcutil-jdk15to18:1.69
org.bouncycastle:bcprov-jdk15to18:1.69

Sumsub
com.sumsub.sns:idensic-mobile-sdk:1.27.1
com.sumsub.sns:idensic-mobile-sdk-ui:1.27.1
com.sumsub.sns:idensic-mobile-sdk-internal-core:1.27.1
org.jmrtd:jmrtd:0.7.34
org.bouncycastle:bcutil-jdk18on:1.71

Without resolving the conflict, I can't build a project with an error

bcprov-jdk15to18:1.69 and jetified-bcprov-jdk18on-1.71 (org.bouncycastle:bcprov-jdk18on:1.71)
Duplicate class org.bouncycastle.math.ec.custom.sec.SecP224K1Field found in modules jetified-bcprov-jdk15to18-1.69 (org.bouncycastle:bcprov-jdk15to18:1.69) and jetified-bcprov-jdk18on-1.71 (org.bouncycastle:bcprov-jdk18on:1.71)

And many other classes

Current resolution

configurations.all { c -> c.resolutionStrategy.eachDependency { DependencyResolveDetails dependency -> println dependency.requested.group if (dependency.requested.group == 'org.bouncycastle') { dependency.useTarget 'org.bouncycastle:bcprov-jdk15to18:1.69' } } }

Plaid works but I have a crash on one of the Sumsub screens.

Do you have a solution for sumsub compatibility?
Thank you

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

No branches or pull requests

1 participant