com.truv.sdk:android_sdk | Maven Central | Demo app
Install
Add the Truv SDK to your module’sbuild.gradle:
mavenCentral() is included in your project’s repository configuration.
Add the INTERNET permission to your AndroidManifest.xml:
Embedded Orders
UseTruvOrderView to embed an Order, a multi-connection verification workflow that supports multiple data sources and product types.
Add to your layout XML:
Bridge Widget
UseTruvBridgeView for single-connection flows like Direct Deposit Switch and Paycheck Linked Lending.
Add to your layout XML:
Sample app
Android Demo (Kotlin)
Kotlin demo using the Truv Android SDK
1
Clone the repo
Clone the demo app from GitHub and install dependencies.
2
Add your API keys
Copy your Client ID and Access Secret from the Dashboard into the app’s configuration file.
3
Run in sandbox mode
Use sandbox test credentials to simulate a full verification flow. Use the demo app as a reference to understand how the SDK works.
4
Integrate the SDK into your app
Follow the implementation guide above to add Truv Bridge to your own application.
5
Go live
Swap in production credentials in your app when ready.