presentCustomerCenter

fun presentCustomerCenter(configuration: CustomerCenterConfiguration? = null, delegate: CustomerCenterDelegate? = null, onDismiss: () -> Unit? = null)(source)

Presents the Customer Center, a self-service screen where users can view and manage their subscriptions, request refunds, restore purchases, and contact support.

Only one Customer Center can be presented at a time; calling this while one is already presented does nothing. Call it from the main thread.

Parameters

configuration

Overrides SuperwallOptions.customerCenter for this presentation. null uses the value configured via SuperwallOptions.

delegate

Receives Customer Center events. Retained while the Customer Center is presented.

onDismiss

Called after the Customer Center is dismissed.