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.9 builds on the three integration modes introduced in v1.0.8. Choose your mode before writing a single line of implementation.
AbleCredit Android SDK
v1.0.9Integration Modes
Your app calls each SDK screen individually and owns all navigation. No built-in wizard.
Best for: apps with an existing step wizard.
One startLoanFlow() call drives the entire journey. SDK sequences screens automatically.
Best for: minimal code, full SDK UX ownership.
Like Mode 1 but each SDK screen shows a persistent button you define. Button's onClick receives the SDK's Context.
Best for: embedding your screens between SDK steps.
Mode 1 – Direct Calls flow
Mode 2 – Orchestrator Flow
Mode 3 – Docked Button Flow
Quick Mode Reference
| Mode | Navigation owned by | Button in SDK screen | Best for |
|---|---|---|---|
Mode 1 | Your app | None | Existing step wizard |
Mode 2 | SDK | Built-in SDK chrome | Minimal code, full SDK UX |
Mode 3 | Your app (via onClick) | Your custom button | Custom screens between SDK steps |
Supported Platforms
| Platform | Language | Sample App |
|---|---|---|
| Native Android | Kotlin | ablecredit/Kotlin-Manual-App |
| Native Android | Java | ablecredit/Java-Manual-App |
| Flutter | Dart + Kotlin bridge | ablecredit/flutter_manual_app_sdk |
What's New in v1.0.9
No breaking changes. v1.0.9 is fully backward compatible with v1.0.8. Bump the dependency version and you're done – all new features are opt-in.
| Feature | Description |
|---|---|
isGenerateReport flag | New optional AbleCreditDockedButton(isGenerateReport = true) – auto-disables the button until recordings exist, shows confirmation dialog before generating, and locks out new recordings after the report is triggered. |
Generate-report confirmation dialog | When isGenerateReport = true, tapping the docked button shows a dialog listing pending uploads before proceeding. Also shown from the flow summary screen. |
Recording blocked after report | Once requestReportGeneration succeeds, AudioActivity prevents new recordings. State survives process death via a new reportGenerated DB column (Room migration v3→v4, automatic). |
Docked button theming | Button enabled/disabled colors adapt via docked_button_bg and docked_button_text color state lists. |
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 back-press now also tracked. |
Bug fixes | Upload notification stuck after process death; offline banner on all screens; location manager fallback; recording start issues on fresh install. |