Initialization - Transfer Experience
Start the SDK and navigate the user to a specific transfer.
Transfer Details Initialization
The Ready Remit SDK also allows to start a Transfer Details experience which will open the Transfer Status screen allowing the sender to get details about an specific transfer.
Once you have created the ReadyRemitConfiguration object, then, you can start the SDK passing the parent Android Activity reference, the Ready Remit Configuration object, and the specific transfer ID:
ReadyRemit.openTransferDetailsScreen(
activity = this@MainActivity,
configuration = sdkConfiguration,
transferId = "transfer-id"
)val themeConfiguration = """
{
"foundations": {
"colorPrimary": { "light": "#42CB91", "dark": "#42CB91" },
"fontFamily": "inter"
},
"components": {
"button": {
"buttonRadius": 8,
"buttonTextCase": "capitalize"
}
}
}
""".trimIndent()
ReadyRemit.openTransferDetailsScreen(
activity = this@MainActivity,
configuration = sdkConfiguration,
transferId = "transfer-id",
themeConfiguration = themeConfiguration
)
If you are using Jetpack Compose, don't create the configuration objectin the compose scope since the recompositions lead to runtime errors. You must create the configuration object inside a
rememberclause or in a AndroidX ViewModel.
Updated 23 days ago
What’s Next
