Skip to content

Commit

Permalink
support SK win-back offer messages
Browse files Browse the repository at this point in the history
  • Loading branch information
fire-at-will authored Oct 29, 2024
1 parent fe35cd9 commit 3a4de24
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion typescript/api-report/purchases-typescript-internal.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ export interface GoogleProductChangeInfo {
export enum IN_APP_MESSAGE_TYPE {
BILLING_ISSUE = 0,
GENERIC = 2,
PRICE_INCREASE_CONSENT = 1
PRICE_INCREASE_CONSENT = 1,
WIN_BACK_OFFER = 3
}

// @public
Expand Down
6 changes: 6 additions & 0 deletions typescript/src/enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ export enum IN_APP_MESSAGE_TYPE {
* iOS-only. StoreKit generic messages.
*/
GENERIC = 2,

/**
* iOS-only. This message will show if the subscriber is eligible for an iOS win-back
* offer and will allow the subscriber to redeem the offer.
*/
WIN_BACK_OFFER = 3,
}

/**
Expand Down

0 comments on commit 3a4de24

Please sign in to comment.