Initialization - Standard Experience

Standard Experience Initialization

The PayMitto SDK allows to start a standard experience which will open the Home Screen of the SDK or, the Start a Transfer screen for new senders.

Once you have created the PayMittoConfiguration object, then, you can start the SDK passing the parent Android Activity reference and the PayMitto Configuration object. For this, you must call the startSdk function from the PayMitto singleton object.

PayMitto.startSdk(
    activity = this@MainActivity,
    readyRemitConfiguration = sdkConfiguration
)

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 object neither call the
PayMitto.startSdk static function in the compose scope since
the recompositions lead to runtime errors.

You must create the configuration object inside a remember clause or
in a AndroidX ViewModel.

Don't forget that, to avoid any compatibility issue, it's recommended
to implement Compose BOM 2025.11.01 or Jetpack Compose 1.9.5.