Skip to content

truvhq/ios-sdk

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

TruvSDK

Requirements

Installation

The TruvSDK is available via Swift Package Manager and CocoaPods.

Swift Package Manager

Add https://github.com/truvhq/ios-sdk as a package dependency.

CocoaPods

To install the SDK with CocoaPods, add TruvSDK as one of your target dependencies in your Podfile:

use_frameworks!

target 'MyApp' do
    pod 'TruvSDK'
end

Please be sure to run pod update and use pod install --repo-update to ensure you have the most recent version of the SDK installed.

TruvBridgeView

The TruvBridgeView is a UIView that you can integrate into your app's flow like so:

import TruvSDK

let truvBridgeView = TruvBridgeView(token: token, delegate: self)
view.addSubview(truvBridgeView)
// add constraints if needed

With the TruvBridgeView, end-users can select their employer, authenticate with their payroll platform login credentials, and authorize the direct deposit change. Throughout the process, different events will be emitted to the delegate func onEvent(_ event: TruvEvent) method.

TruvDelegate

The TruvDelegate protocol is set up such that every event goes through the required func onEvent(_ event: TruvEvent) handler.
See the events page of the documentation for more details.

About

iOS SDK for Truv Bridge

Resources

License

Stars

Watchers

Forks

Packages

No packages published