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.
// 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() -> BooleanFlutter Bridge
Full templates for the native Kotlin MainActivity bridge and the Dart wrapper class for v1.0.7.
AbleCredit Android SDK
v1.0.6 uses a local AAR file (not Maven Central). It requires manually declaring all transitive Gradle dependencies. Supports Mode 1 only – no orchestrator or docked button.