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.
This commit is contained in:
sync667 2020-05-15 12:03:37 +02:00 committed by GitHub
parent 180b665c4b
commit 9892ce7a61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {}