init

fun init(    accessToken: String,     @StyleRes styleResId: Int,     tracker: Tracker? = null,     backPressedListener: OnBackPressedListener? = null,     editPendingTransaction: Boolean = true,     enableTransactionDetail: Boolean = true,     enableRecommendedBudget: Boolean = true,     enableBudgetCreationSuccessScreen: Boolean = true,     enableSafeToSpend: Boolean = true,     enableSubscriptions: Boolean,     entryPoint: EntryPoint,     @IdRes containerId: Int,     fragmentManager: FragmentManager)

Call this method to start Tink Money Manager SDK.

Parameters

accessToken

A valid access token for the user. More detailed info on Tink docs

styleResId

The resource ID of the style used for styling the entrypoint screen.

tracker

An optional Tracker implementation.

backPressedListener

An optional OnBackPressedListener callback to listen to back presses in the SDK.

editPendingTransaction

A boolean that defines the behaviour of the SDK when the user chooses to re-categorize a pending transaction. True to allow the user to recategorize the pending transaction, false to prevent recategorization. Defaults to true.

enableTransactionDetail

A boolean that defines the behaviour of the SDK when the user clicks on a transaction. True to show the transaction details screen, false to show the recategorization screen. Defaults to true.

entryPoint

The EntryPoint screen to show. It contains all the parameters for customizing its appearance.

containerId

Resource ID of container which will contain the Tink Fragment

fragmentManager

FragmentManager to perform Tink Fragment transaction