We currently use JFrog's Bintray platform to distribute our Android packages, however JFrog have decided to shut down the platform. To ensure you can continue to access our packages during your development process, we are migrating to another platform.
So we’re asking all customers using our JudoKit-Android, JudoKit-ReactNative and/or Device DNA to update.
To use later versions of our JudoKit-Android SDK you will need to :
Step 1: In your root gradle.build file, replace the Judopay Bintray repository:
allprojects {
repositories {
maven {
url "http://dl.bintray.com/judopay/maven"
}
}
}
with:
allprojects {
repositories {
mavenCentral()
}
}
Step 2: In your app’s build.gradle file, update your dependency from:
dependencies {
implementation 'com.judokit.android:judokit-android:2.0.x'
}
to:
dependencies {
implementation 'com.judopay:judokit-android:2.1.1'
}
Step 3: Search your code for any imports of com.judokit.android.* and replace with com.judopay.judokit.android.*. For example, replace:
import com.judokit.android.Judo
import com.judokit.android.model.Amount
import com.judokit.android.PAYMENT_CANCELLED
with:
import com.judopay.judokit.android.Judo
import com.judopay.judokit.android.model.Amount
import com.judopay.judokit.android.PAYMENT_CANCELLED
Please note, if updating from a version older than 2.0.0 you may need to make additional changes.
Step 4: If you have included any Judo classes in any layout files, update the class path. For example, replace:
<com.judokit.android.ui.common.PayByBankButton
android:id="@+id/payByBankButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
with:
<com.judopay.judokit.android.ui.common.PayByBankButton
android:id="@+id/payByBankButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
To use later versions of JudoKit-ReactNative SDK you will need to
Update JudoKit-ReactNative SDK to a later version (3.3.1 and above).
If you're using the DeviceDNA library package, please contact us at developersupport@judopayments.com and we'll guide you through the upgrade process.
We recommend updating your SDK as soon as possible to allow time for testing and a seamless transition before 1st May, 2021.
If you don’t update your SDK by 1st May, your payments won’t be affected - but you will no longer be able to build against any of these packages as the JFrog Bintray platform (from which they are currently served) will be decommissioned.