Migration Guide – v1.0.8 → v1.0.9
No breaking changes. One required code change; all new features are opt-in.
Fully backward compatible. Existing v1.0.8 integrations work without any code changes. Only the dependency version needs to be bumped.
Required Change – Bump version
// BEFORE (v1.0.8)
implementation("com.ablecredit:sdk:1.0.8")
// AFTER (v1.0.9)
implementation("com.ablecredit:sdk:1.0.9")New in v1.0.9 (additive, no migration required)
| Feature | Description |
|---|---|
AbleCreditDockedButton.isGenerateReport | New optional Boolean (default false) on AbleCreditDockedButton. When true, the SDK auto-manages the generate-report button lifecycle: starts disabled, enables when recordings are present, shows confirmation dialog on tap, locks recording after success. |
Generate-report confirmation dialog | Shown automatically when isGenerateReport = true and from the flow summary screen. Lists pending uploads per section before the user confirms. No client code changes required. |
Recording blocked after report | After requestReportGeneration succeeds, AudioActivity no longer allows starting new recordings. Persists across process death (Room DB migration v3→v4, runs automatically on upgrade). |
Docked button theming | Enabled/disabled button colors now driven by @color/docked_button_bg and @color/docked_button_text color state lists – theme-aware disabled styling automatically applied. |
New analytics events | Flow Started, Flow Step Advanced, Flow Back Pressed, Flow Create Loan Clicked, Flow Generate Report Clicked, Flow Finish Clicked, Flow Done Clicked. Photo-screen back-press is now tracked (was audio-only in v1.0.8). |
Bug fixes | Upload notification no longer stuck after process death; offline banner on all SDK screens; location manager fallback for devices without Google Play Services; recording start issue on fresh install resolved. |
Room DB auto-migration. v1.0.9 adds a reportGenerated column to loan_applications_tbl (migration v3→v4). Room applies this automatically on first launch after upgrade – no action required from the integrating app.
Flutter Bridge
The Flutter integration uses two standard Flutter platform channels. The Dart bridge class wraps both so your Dart code never touches channel mechanics directly.
AbleCredit Android SDK
The AbleCredit SDK handles loan case creation, audio recording, photo capture, and report generation – embedded directly in your Android or Flutter app. SDK v1.0.8 introduces three integration modes. Choose your mode before writing a single line of implementation.