Android
<d1-release-package>
├── binaries
│ ├── d1-debug.aar
│ └── d1-release.aar
└── javadoc
│ └── ...1
2
Update build.gradle
build.gradlerepositories {
flatDir { dir "libs" }
}
dependencies {
releaseImplementation(name: 'd1-release', ext: 'aar')
debugImplementation(name: 'd1-debug', ext: 'aar')
implementation "androidx.annotation:annotation:1.3.0"
implementation "androidx.appcompat:appcompat:[1.0.0,1.3.1]"
implementation "com.google.android.gms:play-services-base:18.0.1"
implementation "net.java.dev.jna:jna:5.17.0@aar"
// For D1Pay
implementation "com.google.firebase:firebase-messaging:23.0.2"
// For D1Authn (3DS)
// Credentials API. This API requires a mimimum compileSdkVersion of 34.
implementation "androidx.credentials:credentials:1.2.2"
// needed for credentials support from play services, for devices running Android 13 and below.
implementation "androidx.credentials:credentials-play-services-auth:1.2.2"
implementation "com.google.android.gms:play-services-fido:20.0.1"
implementation "androidx.biometric:biometric:1.1.0"
// okhttp is no longer required on SDK v4.2.0 and later
// implementation "com.squareup.okhttp3:logging-interceptor:4.9.1"
}Última actualización
¿Te fue útil?