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
andcreateAlias
have been removed in favor oflogIn
.reset
has been removed in favor oflogOut
.getEntitlements
has been removed in favor ofgetOfferings
.attributionKey
andPurchases.addAttributionData
have been removed in favor ofset<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