feat(in-app-purchase-2): add redeem() for opening redeem code dialog in iOS (#3581)

This commit is contained in:
Sebastiaan Pasma 2021-01-23 18:16:58 +01:00 committed by GitHub
parent 6b18c3d061
commit ddd269e7ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -874,4 +874,8 @@ export class InAppPurchase2 extends IonicNativePlugin {
/** Opens the Manage Subscription page (AppStore, Play, Microsoft, ...). */
@Cordova({ sync: true })
manageSubscriptions(): void {}
/** Opens the Code Redemption Sheet on iOS. (AppStore). */
@Cordova({ sync: true })
redeem(): void {}
}