onAwaitingSubscriptionUpdateParams

This callback is invoked when user initiates the purchase process, providing the ability to supply an AdaptySubscriptionUpdateParameters object. This is used when you need one subscription to be replaced with another.

Parameters

product

An AdaptyPaywallProduct of the purchase.

context

A UI Context within which the event occurred.

onSubscriptionUpdateParamsReceived

If a new subscription is purchased while another is still active, call onSubscriptionUpdateParamsReceived(...) either with AdaptySubscriptionUpdateParameters instance if the new subscription should replace a currently active subscription or with null if the active subscription should remain active and the new one should be added separately. Read more.