Android SDK: Migrating to v2.11

Migrating to Android SDK v2.11

Version 2.11.0 removes the cardFlow parameter from YunoConfig. Card flow configuration moves to the WHITELABEL Dashboard.

What changed

The cardFlow parameter on YunoConfig has been removed. Passing it will cause a compile error after upgrading.

Steps

1. Remove cardFlow from YunoConfig

Before:

val config = YunoConfig(
    apiKey = "your_api_key",
    cardFlow = CardFormType.ONE_STEP
)

After:

val config = YunoConfig(
    apiKey = "your_api_key"
)

2. Configure card flow in the Dashboard

Open Dashboard → Checkout → Builder and select your card flow:

  • One Step — all card fields on a single screen
  • Multi Step — card fields across multiple screens

The Dashboard setting applies to all SDK instances for your account.