changeSubscription

open fun changeSubscription(activity: Activity, currentSubsId: String, newSubsId: String, replacementMode: AppPurchase.SubscriptionReplacementMode): String

Upgrades or downgrades from a specific subscription.

Return

Result message.

Parameters

activity

The activity context.

currentSubsId

The current subscription product ID to replace.

newSubsId

The new subscription product ID.

replacementMode

The replacement mode.