TruvSDK | Swift Package | CocoaPods | Demo app
Install
Swift Package Manager
- In Xcode, go to File > Add Package Dependencies
- Enter the package URL:
- Select the version and add
TruvSDKto your target
CocoaPods
Add to yourPodfile:
Embedded Orders
UseTruvOrderController to present an Order, a multi-connection verification workflow that supports multiple data sources and product types.
Bridge Widget
UseTruvBridgeController for single-connection flows like Direct Deposit Switch and Paycheck Linked Lending.
Sample app
iOS Demo (Swift)
Swift demo using
TruvSDKAdd your API keys
Copy your Client ID and Access Secret from the Dashboard into the app’s configuration file.
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.
Integrate the SDK into your app
Follow the implementation guide above to add Truv Bridge to your own application.