eligibleWinBackOffers method

Future<List<Discount>> eligibleWinBackOffers(
  1. StoreProduct product
)

The win-back offers of product this customer may redeem now, best first — pass one to purchase(product, winBackOffer: ...).

iOS 18+: the product's StoreKit win-back offers whose ids the subscription's renewal info lists as eligible (Apple's order); empty on older iOS, for a customer who never subscribed or is subscribed now. Android: the Play offers tagged rovenue-winback, none while the cached entitlements hold an active one backed by the product (Play cannot tell whether the user subscribed before). Empty, never an error, when there is none.

Implementation

Future<List<Discount>> eligibleWinBackOffers(StoreProduct product) =>
    _platform.eligibleWinBackOffers(product.id, product.type);