iOS SDK: Migrating to v2.12
Migrating to iOS SDK v2.12
Version 2.12.0 removes the cardFormType parameter from Yuno.initialize(). Card form type configuration moves to the WHITELABEL Dashboard.
What changed
The cardFormType parameter on Yuno.initialize() has been removed. Passing it will cause a compile error after upgrading.
Steps
1. Remove cardFormType from Yuno.initialize()
Before:
Yuno.initialize(apiKey: "your_api_key", cardFormType: .oneStep)After:
Yuno.initialize(apiKey: "your_api_key")
// Configure in Dashboard → Checkout → Builder2. Configure card form type in the Dashboard
Open Dashboard → Checkout → Builder and select your card form type:
- 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.
Changelog › Migration guide › iOS