v1.0.8
Setup & Install
The AbleCredit SDK is distributed through Maven Central – no custom repository URLs or credentials required.
Step 1 – Maven repository
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
}
}Step 2 – Add SDK dependency
dependencies {
implementation("com.ablecredit:sdk:1.0.8")
}Step 3 – Android Manifest permissions & services
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MICROPHONE" />
<activity
android:name="com.ablecredit.sdk.loans.LoanListActivity"
android:theme="@style/NormalTheme"
tools:replace="android:theme" />
<service
android:name="com.ablecredit.sdk.downloader.DownloadService"
android:foregroundServiceType="dataSync"
android:exported="false" />
<service
android:name="com.ablecredit.sdk.media.audio.service.RecorderService"
android:foregroundServiceType="microphone"
android:exported="false" />
<service
android:name="com.ablecredit.sdk.network.UploadService"
android:foregroundServiceType="dataSync"
android:exported="false" />The tools:replace="android:theme" on LoanListActivity is required to override the SDK's default theme with your app's NormalTheme.
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.
Initialize
AbleCredit.initialize(context) bootstraps the SDK's dependency injection container and registers background services. It must be called exactly once, from Application.onCreate(), before any other SDK method.