Skip to content

Latest commit

 

History

History
executable file
·
250 lines (161 loc) · 9.47 KB

CHANGELOG.md

File metadata and controls

executable file
·
250 lines (161 loc) · 9.47 KB

3.4.0

  • New properties added to the PurchaserInfo to better manage non-subscriptions. RevenueCat#172

3.3.0

  • Added mParticle as one of the attribution options
    RevenueCat#163
  • Added original_purchase_date to JSON response RevenueCat#164
  • Updated BillingClient to 3.0.0 RevenueCat#166
  • Moved the SKUDetails inside the ProductInfo that's passed to the Backend class when posting tokens RevenueCat#167

3.2.0

  • Added proxyKey, useful for kids category apps, so that they can set up a proxy to send requests through. Do not use this unless you've talked to RevenueCat support about it. RevenueCat#152 RevenueCat#157
  • Added managementURL to purchaserInfo. This provides an easy way for apps to create Manage Subscription buttons that will correctly redirect users to the corresponding subscription management page on all platforms. RevenueCat#151
  • Extra fields sent to the post receipt endpoint: normal_duration, intro_duration and trial_duration. These will feed into the LTV model for more accurate LTV values. RevenueCat#148 RevenueCat#156
  • Fixed a bug where if the context passed to the SDK on setup is not an Application context, there is be a memory leak and potential issues getting the Advertising Info. RevenueCat#147
  • Migrated more classes to use Parcelize RevenueCat#150

3.1.1

3.1.0

  • Another fix for NoSuchElementException when retrieving Advertising ID #124
  • Added Subscriber Attributes, which allow developers to store additional, structured information for a user in RevenueCat. More info: https://docs.revenuecat.com/docs/user-attributes

3.0.7

  • Fixes NoSuchElementException #115

3.0.6

  • Added new method to invalidate the purchaser info cache, useful when promotional purchases are granted from outside the app. #109

3.0.5

3.0.4

  • Defers fetching updated PurchaserInfo and Offerings to whenever the app is foregrounded.
  • Adds Lifecycle components to better detect the lifecycle of the app.

3.0.3

  • Fixes syncPurchases and restorePurchases.
  • Adds observer_mode to the backend post receipt call.

3.0.2

  • Exposes all, property of Offerings to access all the Offerings.

3.0.1

  • Fixes some documentation

3.0.0

  • Support for new Offerings system.
  • Deprecates makePurchase methods. Replaces with purchasePackage
  • Deprecates entitlements method. Replaces with offerings
  • See our migration guide for more info: https://docs.revenuecat.com/v3.0/docs/offerings-migration
  • Updates to BillingClient 2.0.3 (#88). If finishTransactions is set to false (or observerMode is true when configuring the SDK), this SDK won't acknowledge any purchase.
  • Adds proration mode support on upgrades/downgrades (#86)
  • New identity changes (#87):
    • 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

  • Adds missing close call on inputStream.

2.4.0

2.3.1

  • Fix NullPointerException in BillingWrapper (#79)
  • Handle missing INTERNET permissions when making network requests (#78)

2.3.0

2.2.5

  • Removes duplicated makePurchase call in deprecated makePurchase method.

2.2.4

  • Fixes Proguard issue

2.2.3

  • Fixes multi threading issues

2.2.2

  • Fixes KotlinNullPointerException in Backend:248
  • Fixes NullPointerException in Purchases:673

2.2.1

  • Bugfix release: avoids caches being cleared when there is an error fetching purchaser info. Fixes RevenueCat#68

2.2.0

  • 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
  • addAttribution is now a static method that can be called before the SDK is configured.
  • addAttribution will automatically add the rc_gps_adid parameter.
  • 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.
  • Updated BillingClient to 1.2.2.
  • makePurchase now requires a SKUDetails product instead of a sku and type.
  • Header updates to include client version and locale which will be used for debugging and reporting in the future.

2.1.2

  • Fixes exception when inputstream is null.
  • Fixes an exception when Purchases is instantiated from a background thread.
  • Fixes concurrency issue on servicerequests.

2.1.1

  • Adds setFinishTransactions. Set this to false if you are finishing transactions outside of the Purchases SDK

2.1.0

  • Adds userCancelled as a parameter to the completion block of the makePurchase function
  • Better error codes
  • The entitlements call now fails if the service returns FEATURE_NOT_SUPPORTED or BILLING_UNAVAILABLE. Also that DEVELOPER_ERROR that was always displaying in the logs, now shows as "Billing Service Setup is already trying to connect."
  • Fixes some exceptions not being reported. We might start seeing more crashes that were silent before.

2.0.1

  • Fixes ConcurrentModificationException when making a purchase fails.

2.0.0

  • Refactor to all block based methods
  • Optional listener method to receive changes in Purchaser Info
  • Ability to turn on detailed logging by setting debugLogsEnabled
  • Use of AndroidX dependencies
  • Upgraded Kotlin, compile and target versions

1.4.2

  • Sends cached purchaser info after listener is set to fix offline

1.4.1

  • Prevents calling endConnection if the service is not ready

1.4.0

  • Adds singleton management inside the SDK
  • Adds reset, create alias and identify calls
  • Fixes callbacks being called in a background thread
  • Renames allowUsingAnonymousId to allowsSharingPlayStoreAccount
  • Other bugfixes

1.3.8

  • Fixes onRestoreTransactions not being called if there are no tokens.

1.3.7

  • Adds requestDate to the purchaser info to avoid edge cases

1.3.6

  • Fix bug where closed RCPurchases were still listening for application lifecyle methods

1.3.5

  • Fix for error edge case

1.3.4

  • Add close method to Purchases, this should be called before creating a new purchases object

1.3.3

  • Add close method to Purchases, this should be called before creating a new purchases object

1.3.2

  • Ensure consumables are consumed
  • Add ability to override

1.3.1

  • Fix visibility for addAttribution methods

1.3.0

  • Attribution! You can now pass attribution data from AppsFlyer, Adjust and Branch. You can then view the ROI of your campaigns, including revenue coming from referrals.

1.2.1

  • Fix for entitlements, missing products now return as null, not blocking the whole entitlement

1.2.0

  • Add error handler for entitlements fetch

1.1.0

  • Add restore transactions listener methods

1.0.0

0.1.0

  • Initial release