Initialization - Transfer Experience
Transfer Details Initialization
The PayMitto 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 PayMittoConfiguration object, then, you can start the SDK passing the parent Android Activity reference, the PayMitto Configuration object, and the specific transfer ID. For this, you must call the openTransferDetailsScreen function from the PayMitto singleton object.
PayMitto.openTransferDetailsScreen(
activity = this@MainActivity,
readyRemitConfiguration = sdkConfiguration,
transferId = "transfer-id"
)Note: readyRemitConfiguration is not a typo. This property will be renamed in a future release.
If you are using Jetpack Compose, don't create the configuration objectneither call the
PayMitto.openTransferDetailsScreenstatic function directly
in the compose scope since the recompositions lead to runtime errors.
You must create the configuration object inside arememberclause or
in a AndroidX ViewModel.
