Skip to main content
SDK

Cordova 3.0.0-rc.1

Cordova 3.0.0-rc.1
RC Support
RevenueCat Staff
Forum|alt.badge.img+3

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.

Renamed APIs

Note: These still might change between 3.0.0-rc.x and the final release of 3.0.0

2.x 3.0.0
PurchaserInfo CustomerInfo
PurchasesTransaction PurchasesStoreTransaction
PurchasesProduct PurchasesStoreProduct
Purchases.RestoreTransactions Purchases.restorePurchases
Purchases.GetPaymentDiscount Purchases.getPromotionalOffer
Purchases.UpdatedPurchaserInfoListener Purchases.updatedCustomerInfoListener

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

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