feat(in-app-purchase-2): add launchPriceChangeConfirmationFlow (#4127)

See: https://github.com/j3k0/cordova-plugin-purchase/releases/tag/v11.0.0
This commit is contained in:
Lincoln Baxter, III 2022-05-21 14:29:41 -04:00 committed by GitHub
parent 26a8cbe437
commit c2b01e0510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -915,4 +915,8 @@ export class InAppPurchase2 extends AwesomeCordovaNativePlugin {
/** Opens the Manage Billing page (AppStore, Play, Microsoft, ...), where the user can update his/her payment methods. */ /** Opens the Manage Billing page (AppStore, Play, Microsoft, ...), where the user can update his/her payment methods. */
@Cordova({ sync: true }) @Cordova({ sync: true })
manageBilling(): void {} manageBilling(): void {}
/** Open the subscription price change notification workflow. (Play) See: https://developer.android.com/google/play/billing/subscriptions#price-change-communicate */
@Cordova({ sync: true })
launchPriceChangeConfirmationFlow(productId: string, callback: (status: 'OK' | 'UnknownProduct' | 'UserCanceled') => void): void {};
} }