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

Issue with Missing Dependency io.github.airwallex:cardinalmobilesdk:2.2.7-5 in com.braintreepayments.api:three-d-secure:5.1.0 #1192

Open
shenbailu opened this issue Oct 21, 2024 · 1 comment
Assignees

Comments

@shenbailu
Copy link

Braintree SDK Version

Braintree SDK Version 6.16.0

Environment

Sandbox

Android Version & Device

Android 12.0

Braintree dependencies

com.braintreepayments.api:drop-in:6.16.0
com.braintreepayments.api:three-d-secure:5.1.0
io.github.airwallex:cardinalmobilesdk:2.2.7-5

Describe the bug

The com.braintreepayments.api:three-d-secure plugin depends on io.github.airwallex:cardinalmobilesdk:2.2.7-5, which appears to have been removed from the repository. This missing dependency prevents the com.braintreepayments.api:drop-in:6.16.0 plugin from functioning correctly in my Android mobile project.

To reproduce

Add com.braintreepayments.api:drop-in:6.16.0 to the project dependencies.
Attempt to build the Android project.
Observe the build failure due to the missing io.github.airwallex:cardinalmobilesdk:2.2.7-5 dependency.

Expected behavior

The com.braintreepayments.api:drop-in plugin should integrate seamlessly without missing dependencies, allowing for successful builds and proper functionality of the payment drop-in UI.

Screenshots

20241021-202854

@saperi22
Copy link
Contributor

saperi22 commented Oct 24, 2024

@shenbailu can you please confirm that you've included the maven repository to download the cardinal dependency on your end?

maven {
            url = uri("https://cardinalcommerceprod.jfrog.io/artifactory/android")
            credentials {
                username = "braintree_team_sdk"
                password = "cmVmdGtuOjAxOjIwMzgzMzI5Nzg6Q3U0eUx5Zzl5TDFnZXpQMXpESndSN2tBWHhJ"
            }
        }

See: https://github.com/braintree/braintree_android/blob/main/v4_MIGRATION_GUIDE.md#3d-secure.

Note the change in the password.

The repo path you've mentioned io.github.airwallex:cardinalmobilesdk is not something I'm familiar with.
Try adding the maven repo with the credentials provided, and report back if you are still seeing an issue.

@saperi22 saperi22 self-assigned this Oct 24, 2024
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

2 participants