Skip to content

Commit

Permalink
feat(purchases): bump cordova-plugin-purchases from 2.0.0 to 2.1.1 (#…
Browse files Browse the repository at this point in the history
…3639)

* feat(purchases): bump cordova-plugin-purchases from 2.0.0 to 2.1.0

* bump version number to 2.1.1
  • Loading branch information
aboedo authored Apr 5, 2021
1 parent c6ad5e4 commit 5d71d0d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/@ionic-native/plugins/purchases/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export enum INTRO_ELIGIBILITY_STATUS {
*/
@Plugin({
pluginName: 'Purchases',
plugin: 'cordova-plugin-purchases@2.0.0',
plugin: 'cordova-plugin-purchases@2.1.1',
pluginRef: 'Purchases', // the variable reference to call the plugin, example: navigator.geolocation
repo: 'https://github.com/RevenueCat/cordova-plugin-purchases', // the github repository URL for the plugin
platforms: ['Android', 'iOS'], // Array of platforms supported, example: ['Android', 'iOS']
Expand Down Expand Up @@ -467,6 +467,14 @@ export class Purchases extends IonicNativePlugin {
@Cordova({ sync: true })
presentCodeRedemptionSheet(): void {}

/**
* iOS only.
* @param {Boolean} enabled Set this property to true *only* when testing the ask-to-buy / SCA purchases flow.
* More information: http://errors.rev.cat/ask-to-buy
*/
@Cordova({ sync: true })
setSimulatesAskToBuyInSandbox(enabled: boolean): void {}

/**
* Enable automatic collection of Apple Search Ads attribution. Disabled by default.
* @param {Boolean} enabled Enable or not automatic collection
Expand Down

0 comments on commit 5d71d0d

Please sign in to comment.