Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

[in_app_purchase] Add support to cross-grade a subscription on Android #2724

Closed
wants to merge 1 commit into from

Commits on Apr 29, 2020

  1. Add support to cross-grade a subscription on Android

    This change introduces basic support to replace an old subscription on
    Android. On iOS passing the added parameter will have no effect.
    
    Please note that the current implementation is basic, in that it misses
    a way to contextually change the proration mode.
    
    It also uses `setOldSku(string)` rather than `setOldSku(string, string)`
    which also requires the old purchaseToken to be provided.
    
    Ref: https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setoldsku
    lexor90 committed Apr 29, 2020
    Configuration menu
    Copy the full SHA
    3c3047a View commit details
    Browse the repository at this point in the history