I’m trying to implement the Square Mobile SDK in a native Android project, but I’m encountering an error when adding the following dependencies:
dependencies {
def squareSdkVersion = "2.0.0-beta1" // 2.0.0-beta4
// Mobile Payments SDK dependency
implementation "com.squareup.sdk:mobile-payments-sdk:$squareSdkVersion"
// MockReader UI dependency
implementation "com.squareup.sdk:mockreader-ui:$squareSdkVersion"
}
The error message states: Failed to resolve: com.squareup.sdk:mobile-payments-sdk:2.0.0-beta1 and Failed to resolve: com.squareup.sdk:mockreader-ui:2.0.0-beta1
I tried with 2.0.0-beta1, 2.0.0-beta2 and 2.0.0-beta4
Could you please assist in resolving this issue or let me know if I am missing anything.