Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 901 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 901 Bytes

Maven Central Version

Teller Connect Android SDK

Teller Connect Android SDK.

Usage

Add the SDK to your dependencies:

implementation("io.teller:connect-android-sdk:<version>")

To start Teller Connect:

val config = Config(
    appId = "YOUR-APPLICATION-ID-HERE",
    environment = Environment.SANDBOX
)

val args = ConnectFragment.buildArgs(config)

supportFragmentManager.commit {
    setReorderingAllowed(true)
    addToBackStack("TellerConnect")
    add<ConnectFragment>(R.id.fragmentContainer, args)
}

To receive results and events, the parent activity must implement ConnectListener, see example.