From 282d60c0ce8d7a1305c331b46ab4b172c39e2009 Mon Sep 17 00:00:00 2001 From: Will Taylor Date: Mon, 28 Oct 2024 11:00:53 -0500 Subject: [PATCH 1/2] support sk win-back offer messages --- typescript/src/enums.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/typescript/src/enums.ts b/typescript/src/enums.ts index 404e3878..831c4c88 100644 --- a/typescript/src/enums.ts +++ b/typescript/src/enums.ts @@ -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, } /** From 9c7fadb6f0c4b6d45068d0db4812a35b074adfbc Mon Sep 17 00:00:00 2001 From: Will Taylor Date: Mon, 28 Oct 2024 11:08:39 -0500 Subject: [PATCH 2/2] update TS API file --- typescript/api-report/purchases-typescript-internal.api.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/typescript/api-report/purchases-typescript-internal.api.md b/typescript/api-report/purchases-typescript-internal.api.md index 6bf3adb7..932272f3 100644 --- a/typescript/api-report/purchases-typescript-internal.api.md +++ b/typescript/api-report/purchases-typescript-internal.api.md @@ -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