getEligibleWinBackOffersForProduct
expect fun getEligibleWinBackOffersForProduct(storeProduct: <Error class: unknown class>, onError: (<Error class: unknown class>) -> Unit, onSuccess: (List<<Error class: unknown class>>) -> Unit)
Fetches the win-back offers that a subscriber is eligible for on a given product.
iOS only. Requires iOS 18.0+ and StoreKit 2 and emits an error if these requirements aren't met.
Parameters
storeProduct
: The product to check for eligible win-back offers on.
onError
Will be called if an error occurs, providing a PurchasesError describing what went wrong.
onSuccess
Will be called if the function completes successfully, including details on the WinBackOffers that the subscriber is eligible for on the provided product.