Skip to content

Releases: RevenueCat/purchases-unity

8.2.2

05 Sep 11:50
71ba4ba

Choose a tag to compare

RevenueCat SDK

Warning

If you don't have any login system in your app, please make sure your one-time purchase products have been correctly configured in the RevenueCat dashboard as either consumable or non-consumable. If they're incorrectly configured as consumables, RevenueCat will consume these purchases. This means that users won't be able to restore them from version 8.0.0 onward.
Non-consumables are products that are meant to be bought only once, for example, lifetime subscriptions.

📦 Dependency Updates

🔄 Other Changes

  • Bump Subtester Editor version to 6000.2.2f1 (#654) via Cesar de la Vega (@vegaro)
  • Fix false positive Android CI jobs (#655) via Cesar de la Vega (@vegaro)
  • Add warning with 8.x issues to all versions since 8.0.0 in CHANGELOG (#657) via Toni Rico (@tonidero)
  • Update base gradle project (#653) via Cesar de la Vega (@vegaro)

8.2.1

29 Aug 13:03

Choose a tag to compare

RevenueCat SDK

Warning

If you don't have any login system in your app, please make sure your one-time purchase products have been correctly configured in the RevenueCat dashboard as either consumable or non-consumable. If they're incorrectly configured as consumables, RevenueCat will consume these purchases. This means that users won't be able to restore them from version 8.0.0 onward.
Non-consumables are products that are meant to be bought only once, for example, lifetime subscriptions.

📦 Dependency Updates

🔄 Other Changes

  • Update Unity IAP compatibility docs (#645) via Toni Rico (@tonidero)

8.2.0

14 Aug 08:17

Choose a tag to compare

RevenueCat SDK

Warning

If you don't have any login system in your app, please make sure your one-time purchase products have been correctly configured in the RevenueCat dashboard as either consumable or non-consumable. If they're incorrectly configured as consumables, RevenueCat will consume these purchases. This means that users won't be able to restore them from version 8.0.0 onward.
Non-consumables are products that are meant to be bought only once, for example, lifetime subscriptions.

✨ New Features

  • Add pricePerWeek/Month/Year convenience properties to StoreProduct (#639) via Toni Rico (@tonidero)

8.1.0

04 Aug 15:51

Choose a tag to compare

RevenueCat SDK

Warning

If you don't have any login system in your app, please make sure your one-time purchase products have been correctly configured in the RevenueCat dashboard as either consumable or non-consumable. If they're incorrectly configured as consumables, RevenueCat will consume these purchases. This means that users won't be able to restore them from version 8.0.0 onward.
Non-consumables are products that are meant to be bought only once, for example, lifetime subscriptions.

✨ New Features

📦 Dependency Updates

🔄 Other Changes

8.0.0

18 Jul 15:49

Choose a tag to compare

RevenueCat SDK

Warning

If you don't have any login system in your app, please make sure your one-time purchase products have been correctly configured in the RevenueCat dashboard as either consumable or non-consumable. If they're incorrectly configured as consumables, RevenueCat will consume these purchases. This means that users won't be able to restore them from version 8.0.0 onward.
Non-consumables are products that are meant to be bought only once, for example, lifetime subscriptions.

This release updates the SDK to use Google Play Billing Library 8. This version of the Billing Library removed APIs to query for expired subscriptions and consumed one-time products, aside from other improvements. You can check the full list of changes here: https://developer.android.com/google/play/billing/release-notes#8-0-0

Additionally, we've also updated Kotlin to 2.0.21 and our new minimum version is Kotlin 1.8.0+. If you were using an older version of Kotlin, you will need to update it.

Play Billing Library 8: No expired subscriptions or consumed one-time products

Play Billing Library 8 removed the ability to query for expired subscriptions and consumed one-time products. This means that the RevenueCat SDK will no longer be able to send purchase information from these purchases. There are 2 cases where this can have an impact:

  • If you have consumed one time purchases in Google Play that need to be restored (for example, in order to grant a lifetime entitlement). In these cases, the SDK will not be able to find these purchases and will not be able to restore them and grant the entitlements. This can especially be a problem if you're using anonymous ids and don't have your own account system. Please make sure your products are correctly configured as non-consumables in the RevenueCat dashboard to avoid consuming them in the first place if you intend to make them behave as lifetime purchases.
  • (Only relevant if you recently integrated RevenueCat before upgrading to v9, and do not (yet) have all your transactions imported). The SDK will not be able to send purchase information from these expired subscriptions and consumed one time purchases to our backend, so we might miss this data in our customer profile/targeting. We can still ingest historical data from these purchases through a backend historical import. See docs. This case doesn't affect developers that have all transactions in RevenueCat, which is true for the vast majority.

Using the SDK with your own IAP code (previously Observer Mode)

Using the SDK with your own IAP code is still supported in v8. Other than updating the SDK version, there are no changes required. Just make sure the version of the Play Billing Library is also version 8.0.0+.

Breaking changes

  • Change result of purchase methods to PurchaseResult (#625)

The result of the purchase methods is now a PurchaseResult object instead of a callback with different parameters. The PurchaseResult object contains a CustomerInfo object updated with the latest customer information after the purchase is made, and the StoreTransaction object created by the purchase.

📦 Dependency Updates

7.7.8

17 Jul 18:21

Choose a tag to compare

RevenueCat SDK

🐞 Bugfixes

  • Fix LogInCallback not being called (#623) via Toni Rico (@tonidero)

7.7.7

10 Jul 07:47

Choose a tag to compare

RevenueCat SDK

📦 Dependency Updates

🔄 Other Changes

  • Bump danger from 9.5.1 to 9.5.3 (#616) via dependabot[bot] (@dependabot[bot])

7.7.6

03 Jul 08:13

Choose a tag to compare

RevenueCat SDK

📦 Dependency Updates

🔄 Other Changes

  • Bump fastlane-plugin-revenuecat_internal from 05ef095 to 7d97553 (#608) via dependabot[bot] (@dependabot[bot])
  • Update workflows/issue-notifications.yml@v2 (#613) via Josh Holtz (@joshdholtz)
  • Add GitHub Issue Action Ack (#611) via Josh Holtz (@joshdholtz)

7.7.5

26 Jun 09:18

Choose a tag to compare

RevenueCat SDK

📦 Dependency Updates

7.7.4

20 Jun 09:14
5290655

Choose a tag to compare

RevenueCat SDK

🐞 Bugfixes

  • Fix issue where chained calls to the same methods would cause the inner callback not to be called. (#605) via Toni Rico (@tonidero)

📦 Dependency Updates