This guide will show you how to integrate DapiConnect SDK for Android and use its components to interact with the API.
Dapi for Android is a prebuilt SDK that reduces the time it takes to integrate with Dapi's API and gain access to your users financial data.
The SDK provides direct access to Dapi endpoints and offers optional UI to manage users' accounts and money transfer.
You can check out our Android Integration Guide for detailed information about our SDK.
- Download and install Android Studio
- Clone the project
git clone https://github.com/dapi-co/DapiConnect-Android.git - Open the project in Android Studio and go to
Settings -> Build, Execution, Deployment -> Build Tools -> Gradle -> Gradle JDKand selectJDK 17if not selected. - Open
app/src/main/java/com/dapi/dapiconnect/App.ktand replaceAPP_KEYwith your appKey. Can be obtained from Dapi Dashboard - Open
app/build.gradleand replace applicationId valuecom.dapi.appwith your Bundle ID. - Sync gradle.
- Run the app.
- DapiSDK will start successfully with the correct
AppKeyandBundleID. - Click
Connectto select your bank and enter credentials to login through Dapi. You can create a sandbox bank account to login in the Sandbox environment. - After a successful connection, a DapiConnection object is generated and used for making calls to Dapi endpoints that you can call by clicking on any of the buttons like
Get IdentityandCreate Transfer.