diff --git a/CHANGELOG.md b/CHANGELOG.md index f630e917..e9977223 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,24 @@ +## 3.0.0 + +- 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 (#72) +- 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 + + ## 2.4.1 - Fixes expirationDate in the EntitlementInfo object in iOS diff --git a/VERSIONS.md b/VERSIONS.md index bd4254c0..7a4afd3f 100644 --- a/VERSIONS.md +++ b/VERSIONS.md @@ -1,6 +1,6 @@ | Version | iOS version | Android version | Common files version | |---------|-------------|-----------------|----------------------| -| 3.0.0 | 3.0.0 | 3.0.2 | 1.0.0 | +| 3.0.0 | 3.0.0 | 3.0.2 | 1.0.1 | | 2.4.1 | 2.6.0 | 2.4.0 | 0.1.4 | | 2.4.0 | 2.6.0 | 2.4.0 | 0.1.3 | | 2.3.4 | 2.5.0 | 2.3.1 | 0.1.2 | diff --git a/example/App.js b/example/App.js index c95792f1..dcd3aece 100644 --- a/example/App.js +++ b/example/App.js @@ -43,7 +43,7 @@ export default class App extends React.Component { async componentDidMount() { Purchases.setDebugLogsEnabled(true); - Purchases.setup("VtDdmbdWBySmqJeeQUTyrNxETUVkhuaJ", "cesarsandbox1"); + Purchases.setup("api_key"); try { const purchaserInfo = await Purchases.getPurchaserInfo(); if (typeof purchaserInfo.entitlements.active.pro_cat !== "undefined") {