Skip to content

Commit

Permalink
feat(in-app-purchase-2): add redeem() for opening redeem code dialog …
Browse files Browse the repository at this point in the history
…in iOS (#3581)
  • Loading branch information
spasma authored Jan 23, 2021
1 parent 6b18c3d commit ddd269e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 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 @@ -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 {}
}

0 comments on commit ddd269e

Please sign in to comment.