mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-18 16:02:53 +08:00
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:
parent
26a8cbe437
commit
c2b01e0510
@ -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. */
|
||||
@Cordova({ sync: true })
|
||||
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 {};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user