Skip to content

Releases: RevenueCat/cordova-plugin-purchases

1.0.1

10 Dec 02:21
Compare
Choose a tag to compare

Updates Android to 1.0.1

1.0.0

03 Dec 06:40
3d982ff
Compare
Choose a tag to compare
  • Support for new Offerings system.
  • Deprecates makePurchase methods. Replaces with purchasePackage
  • Deprecates getEntitlements method. Replaces with getOfferings
  • See our migration guide for more info: https://docs.revenuecat.com/v3.0/docs/offerings-migration
  • Updates to BillingClient 2.0.3. If finishTransactions is set to false (or observerMode is true when configuring the SDK),
    this SDK won't acknowledge any purchase and you have to do it yourself.
  • Adds proration mode support on upgrades/downgrades
  • Adds more PurchaserInfo missing properties. activeEntitlements, expirationsForActiveEntitlements
    and purchaseDatesForActiveEntitlements have been removed from PurchaserInfo
  • intro_price, intro_price_period_number_of_units and intro_price_cycles are a number now or null instead of empty
    strings, intro_price_period_unit can also be null.
  • Added Typescript types
  • New identity changes:
    • The .createAlias() method is no longer required, use .identify() instead
    • .identify() will create an alias if being called from an anonymous ID generated by RevenueCat
    • Added an isAnonymous property to Purchases.sharedInstance
    • Improved offline use

0.3.2

03 Sep 23:21
Compare
Choose a tag to compare
  • Fixes EntitlementInfo's expirationDate in iOS.

0.3.1

31 Aug 12:59
Compare
Choose a tag to compare

Fixes crash when there's a trial period and not an introductory price on Android.

0.3.0

27 Aug 18:34
Compare
Choose a tag to compare
  • Deprecates activeEntitlements in PurchaserInfo and adds entitlements object to PurchaserInfo. For more info check out https://docs.revenuecat.com/docs/purchaserinfo
  • Fixes trial info being lost in Android. Access intro_price in the product information to get information around the trial period.
  • Fixes exception when trying to purchase a product that doesn't exist.

0.2.1

23 Jul 22:00
Compare
Choose a tag to compare

0.2.0

18 Jul 22:53
Compare
Choose a tag to compare

0.1.2

04 Jun 00:01
Compare
Choose a tag to compare
  • Compile javascript down to ES5 for better support

0.1.1

28 May 18:30
195ca68
Compare
Choose a tag to compare
  • Fixes Android makePurchase errors
  • Fixes readable_error_code in iOS

0.1.0

23 May 18:11
0191f4e
Compare
Choose a tag to compare
  • Updates iOS SDK to 2.3.0. Check out the changelog for a full list of changes https://github.com/RevenueCat/purchases-ios/releases/tag/2.3.0
  • Updates Android SDK to 2.2.2. Check out the changelog for a full list of changes https://github.com/RevenueCat/purchases-android/releases/tag/2.2.2
  • BREAKING CHANGE makePurchase parameter oldSKUs is not an array anymore, it only accepts a string now. This is due to changes in the BillingClient.
  • AddAttributionData can be called before the SDK has been setup. A network user identifier can be send to the addAttribution function, replacing the previous rc_appsflyer_id parameter.
  • Adds an optional configuration boolean observerMode. This will set the value of finishTransactions at configuration time.

Android only:

  • addAttribution will automatically add the rc_gps_adid parameter.
  • ANDROID BREAKING CHANGE Call syncTransactions to send purchases information to RevenueCat after any restore or purchase if you are using the SDK in observerMode. See our guide on Migrating Subscriptions for more information on syncTransactions: https://docs.revenuecat.com/docs/migrating-existing-subscriptions

iOS only

  • addAttribution will automatically add the rc_idfa and rc_idfv parameters if the AdSupport and UIKit frameworks are included, respectively.
  • Apple Search Ad attribution can be automatically collected by setting the automaticAttributionCollection boolean to true before the SDK is configured.
  • Other bugfixes