From 9892ce7a615d68dc33126705fd6211c0ce2d4fef Mon Sep 17 00:00:00 2001 From: sync667 Date: Fri, 15 May 2020 12:03:37 +0200 Subject: [PATCH] feat(in-app-purchase-2): add update function (#3416) * feat(in-app-purchase-2): add update Add update method from plugin. Fixes: #3411 * Trailing fix. Whitespace removed. --- src/@ionic-native/plugins/in-app-purchase-2/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/@ionic-native/plugins/in-app-purchase-2/index.ts b/src/@ionic-native/plugins/in-app-purchase-2/index.ts index 40fc847caf..95c19c0af6 100644 --- a/src/@ionic-native/plugins/in-app-purchase-2/index.ts +++ b/src/@ionic-native/plugins/in-app-purchase-2/index.ts @@ -875,6 +875,11 @@ export class InAppPurchase2 extends IonicNativePlugin { refresh(): void { } + /** Lightweight method like refresh but do not relogin user */ + @Cordova({ sync: true }) + update(): void { + } + /** Opens the Manage Subscription page (AppStore, Play, Microsoft, ...). */ @Cordova({ sync: true }) manageSubscriptions(): void {}