Teller Connect Android SDK.
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.