Skip to Content
Docs
Get startedPartner API v4Partner API v3Android SDK
v1.0.7

Migration: v1.0.6 → v1.0.7

The main change is replacing the AAR file with a Maven Central dependency. All method signatures are backward-compatible.

Migration Notes
// 1. DEPENDENCY: Replace AAR with Maven Central
//
//    BEFORE (1.0.6):
//      implementation(files("libs/lib-release.aar"))
//      + all transitive deps listed manually
//
//    AFTER (1.0.7):
//      implementation("com.ablecredit:sdk:1.0.7")
//      implementation("com.google.code.gson:gson:2.10.1")
//      // transitive deps pulled automatically via Maven
//
// 2. configure() – new optional branchId (no-op if omitted):
//    BEFORE: AbleCredit.configure(context, apiKey, tenantId, userId, baseUrl)
//    AFTER:  AbleCredit.configure(context, apiKey, tenantId, userId, baseUrl, branchId)
//
// 3. getBaseUrl() is @Deprecated. Use getSdkConfig().baseUrl instead.
//
// 4. New helpers – no action required:
//    AbleCredit.getSdkConfig()  -> AbleCreditConfig
//    AbleCredit.isTestUser()    -> Boolean