Skip to main content
SDK

Cordova 3.0.0

  • September 30, 2022
  • 0 replies
  • 4 views
Cordova 3.0.0
RC Support
RevenueCat Staff
Forum|alt.badge.img+3

RevenueCat for Cordova v3 is here!!

Dancing cats

Full Changelog

Updating plugin for the most recent RevenueCat frameworks released!

StoreKit 2 support

This version of the SDK automatically uses StoreKit 2 APIs under the hood only for APIs that the RevenueCat team has determined work better than StoreKit 1.

New types and cleaned up naming

New types that wrap native types from Apple, Google and Amazon, and we cleaned up the naming of other types and methods for a more consistent experience.

Removed APIs

  • identify and createAlias have been removed in favor of logIn.
  • reset has been removed in favor of logOut.
  • getEntitlements has been removed in favor of getOfferings.
  • attributionKey and Purchases.addAttributionData have been removed in favor of set<NetworkID> methods.
  • setAllowSharingStoreAccount has been removed. Configure behavior through the RevenueCat dashboard instead.

Renamed APIs

2.x 3.0.0
PurchaserInfo CustomerInfo
Purchases.getPurchaserInfo Purchases.getCustomerInfo
Purchases.invalidatePurchaserInfoCache Purchases.invalidateCustomerInfoCache
PurchasesTransaction PurchasesStoreTransaction
PurchasesTransaction.revenueCatId PurchasesStoreTransaction.transactionIdentifier
PurchasesTransaction.productId PurchasesStoreTransaction.productIdentifier
PurchasesProduct PurchasesStoreProduct
PurchasesProduct.intro_price (number) PurchasesStoreProduct.introPrice (PurchasesIntroPrice)
PurchasesProduct.price_string PurchasesStoreProduct.priceString
PurchasesProduct.currency_code PurchasesStoreProduct.currencyCode
Purchases.restoreTransactions Purchases.restorePurchases
Purchases.updatedPurchaserInfoListener Purchases.updatedCustomerInfoListener
Purchases.setup Purchases.configure

Bugfixes

  • Configure should be called in the current thread and not in a UI thread (#193) via Cesar de la Vega (@vegaro)

New Features

  • Add support for Firebase, Mixpanel, and CleverTap integrations (#177) via Joshua Liebowitz (@taquitos)
  • Apple AdServices support (#167)

Other Changes

  • Improve purchase tester (#186) via Andy Boedo (@aboedo)
  • cordova-plugin-purchases requires Xcode 13.0+ and minimum targets iOS 11.0+ and macOS 10.13+ (#160) via NachoSoto (@NachoSoto)
  • Lots of other under-the-hood improvements. For a full overview of the changes take a look at the full Changelog

To view new release, visit https://github.com/RevenueCat/cordova-plugin-purchases/releases/tag/3.0.0

This post has been closed for comments

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings