Skip to content

Commit

Permalink
feat(in-app-purchase-2): add update function (#3416)
Browse files Browse the repository at this point in the history
* feat(in-app-purchase-2): add update

Add update method from plugin. Fixes: #3411

* Trailing fix.

Whitespace removed.
  • Loading branch information
sync667 authored May 15, 2020
1 parent 180b665 commit 9892ce7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/@ionic-native/plugins/in-app-purchase-2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Expand Down

0 comments on commit 9892ce7

Please sign in to comment.