purchases-unity

Unity in-app purchases and subscriptions made easy.

MIT License

Stars
91
Committers
20

Bot releases are visible (Hide)

purchases-unity - 4.6.1

Published by RCGitBot almost 2 years ago

Other Changes

  • [AUTOMATIC BUMP] Updates purchases-hybrid-common to 4.5.1 (#192) via RevenueCat Git Bot (@RCGitBot)
purchases-unity - 4.6.0

Published by RCGitBot almost 2 years ago

Other Changes

  • [AUTOMATIC BUMP] Updates purchases-hybrid-common to 4.5.0 (#189) via RevenueCat Git Bot (@RCGitBot)
purchases-unity - 4.5.3

Published by RCGitBot almost 2 years ago

Other Changes

  • [AUTOMATIC BUMP] Updates purchases-hybrid-common to 4.4.4 (#186) via RevenueCat Git Bot (@RCGitBot)
purchases-unity - 4.5.2

Published by RCGitBot almost 2 years ago

Other Changes

  • [AUTOMATIC BUMP] Updates purchases-hybrid-common to 4.4.3 (#183) via RevenueCat Git Bot (@RCGitBot)
  • Fix CircleCI deployment workflow (#180) via Toni Rico (@tonidero)
purchases-unity - 4.5.1

Published by RCGitBot almost 2 years ago

Other Changes

  • Fix github release workflow (#177) via Toni Rico (@tonidero)
  • [AUTOMATIC BUMP] Updates purchases-hybrid-common to 4.4.1 (#178) via RevenueCat Git Bot (@RCGitBot)
  • Update Fastlane plugin (#173) via Cesar de la Vega (@vegaro)
purchases-unity - 4.5.0

Published by tonidero almost 2 years ago

Other Changes

  • [AUTOMATIC] Updates purchases-hybrid-common to 4.4.0 (#172) via RevenueCat Git Bot (@RCGitBot)
  • Makes hold job depend on tests (#170) via Cesar de la Vega (@vegaro)
  • Adds missing parameter to bump_version_update_changelog_create_pr (#169) via Cesar de la Vega (@vegaro)
purchases-unity - 4.4.1

Published by RCGitBot almost 2 years ago

Other Changes

  • [AUTOMATIC] Updates purchases-hybrid-common to 4.3.6 (#166) via RevenueCat Git Bot (@RCGitBot)
  • Update fastlane-plugin-revenuecat_internal (#167) via Cesar de la Vega (@vegaro)
purchases-unity - 4.4.0

Published by RCGitBot almost 2 years ago

Bugfixes

  • fix compatibility issues with C# 7.3 (#162) via Andy Boedo (@aboedo)

Other Changes

  • [AUTOMATIC] Updates purchases-hybrid-common to 4.3.2 (#163) via RevenueCat Git Bot (@RCGitBot)
  • Release trains (#159) via Cesar de la Vega (@vegaro)
purchases-unity - 4.3.1

Published by RCGitBot about 2 years ago

Bugfixes

  • Update receivedUpdatedCustomerInfo delegate (#158) via Cesar de la Vega (@vegaro)

Other Changes

  • Update fastlane plugin (#156) via Cesar de la Vega (@vegaro)
  • Add new SetUsesStoreKit2IfAvailable api to api tests (#154) via Toni Rico (@tonidero)
purchases-unity - 4.3.0

Published by RCGitBot about 2 years ago

New Features

  • Support for usesStoreKit2IfAvailable config option (#151) via Toni Rico (@tonidero)

Bugfixes

  • Fix support for DangerousSettings in iOS (#152) via Toni Rico (@tonidero)
purchases-unity - 4.2.0

Published by RCGitBot about 2 years ago

⚠️ Important: If you're using RevenueCat along with Unity IAP side-by-side ⚠️

Starting with this version you need to use Unity IAP 4.4.0+ if you are using Unity IAP together with RevenueCat in your project. You can update from Unity Package Manager.
If you need to use an older version of Unity IAP, you can continue to use purchases-unity < 4.2.0.

API Changes

  • StoreTransaction: RevenueCatId and ProductId have been deprecated in favor of TransactionIdentifier and ProductIdentifier respectively. (#145) via Toni Rico (@tonidero)

Bugfixes

  • Fix example compatibility with Unity 2020 (#139) via Andy Boedo (@aboedo)

Other Changes

  • Subtester: Fix unity android export (#142) via Andy Boedo (@aboedo)
  • Update AMAZON-INSTRUCTIONS.md (#143) via Andy Boedo (@aboedo)
purchases-unity - 4.1.0

Published by aboedo about 2 years ago

  • Introduced New AdServices Integration on iOS. Call EnableAdServicesAttributionTokenCollection() to enable this integration.
    More information in our docs and in the announcement blogpost.
purchases-unity - 4.0.0

Published by aboedo about 2 years ago

RevenueCat Unity SDK v4 is here!!

Dancing cats

Full Changelog

Amazon Appstore Support

We have introduced support for using the Amazon Appstore. We have extensively tested this, and there are some apps using our pre-release Amazon versions in production.

However, we have found some inconsistencies in the way Amazon Appstore prices are reported. We are actively working on patching these inconsistencies.

Please help us help you by reporting any issues you find. New RevenueCat Issue.

You can enable Amazon Appstore support by configuring the SDK using the new RevenueCatAPIKeyAmazon field.

For more information around configuration please take a look at the Amazon Appstore section in our docs. The official Amazon In-App Purchasing docs also contain very valuable information, especially around testing and best practices.

⚠️ ⚠️ Important ⚠️ ⚠️ In order to use Unity IAP < 4.4.0 with RevenueCat in Observer mode,
you need to use the Purchases-UnityIAP.unityPackage. For Unity IAP >= 4.4.0, you can use the Purchases.unitypackage package.

For Amazon installation instructions please follow take a look at the Amazon instructions document

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.
  • revenueCatAPIKey has been removed in favor of revenueCatAPIKeyApple, revenueCatAPIKeyGoogle and revenueCatAPIKeyAmazon.

Renamed APIs

3.x 4.0.0
PurchaserInfo CustomerInfo
Transaction StoreTransaction
Product StoreProduct
PaymentDiscount PromotionalOffer
Purchases.RestoreTransactions Purchases.RestorePurchases
Purchases.GetPaymentDiscount Purchases.GetPromotionalOffer
Purchases.UpdatedPurchaserInfoListener Purchases.UpdatedCustomerInfoListener
Discount.identifier Discount.Identifier
Discount.price Discount.Price
Discount.priceString Discount.PriceString
Discount.cycles Discount.Cycles
Discount.period Discount.Period
Discount.unit Discount.Unit
Discount.periodUnit Discount.PeriodUnit
Discount.periodNumberOfUnits Discount.PeriodNumberOfUnits
Error.message Error.Message
Error.code Error.Code
Error.underlyingErrorMessage Error.UnderlyingErrorMessage
Error.readableErrorCode Error.ReadableErrorCode

New APIs

Other

purchases-unity - 4.0.0-rc.2

Published by vegaro over 2 years ago

New changes since Release Candidate 1

  • Updated purchases-hybrid-common to 3.3.0 Changelog here
  • Updated purchases-android to 5.3.0, which fixes a null pointer exception when calling configure from a thread in Android. Changelog here
  • Updated instructions for observer mode, which don't require excluding the billing client anymore.
purchases-unity - 4.0.0-rc.1

Published by taquitos over 2 years ago

4.0.0-rc.1

⚠️ ⚠️ Important ⚠️ ⚠️ Observer mode for Amazon is not supported yet.

⚠️ ⚠️ Important ⚠️ ⚠️ In order to use Unity IAP with RevenueCat in Observer mode,
you need to use the Purchases-UnityIAP.unityPackage.

For Amazon installation instructions please follow take a look at the Amazon instructions document

Features

Amazon Appstore Support

We have introduced support for using the Amazon Appstore. We have extensively tested this, and there are some apps using our pre-release Amazon versions in production.

However, we have found some inconsistencies in the way Amazon Appstore prices are reported. We are actively working on patching these inconsistencies.

Please help us help you by reporting any issues you find. New RevenueCat Issue.

You can enable Amazon Appstore support by configuring the SDK using the new RevenueCatAPIKeyAmazon field.

For more information around configuration please take a look at the Amazon Appstore section in our docs. The official Amazon In-App Purchasing docs also contain very valuable information, especially around testing and best practices.

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.
  • revenueCatAPIKey has been removed in favor of revenueCatAPIKeyApple, revenueCatAPIKeyGoogle and revenueCatAPIKeyAmazon.

Renamed APIs

3.x 4.0.0
PurchaserInfo CustomerInfo
Transaction StoreTransaction
Product StoreProduct
PaymentDiscount PromotionalOffer
Purchases.RestoreTransactions Purchases.RestorePurchases
Purchases.GetPaymentDiscount Purchases.GetPromotionalOffer
Purchases.UpdatedPurchaserInfoListener Purchases.UpdatedCustomerInfoListener
Discount.identifier Discount.Identifier
Discount.price Discount.Price
Discount.priceString Discount.PriceString
Discount.cycles Discount.Cycles
Discount.period Discount.Period
Discount.unit Discount.Unit
Discount.periodUnit Discount.PeriodUnit
Discount.periodNumberOfUnits Discount.PeriodNumberOfUnits
Error.message Error.Message
Error.code Error.Code
Error.underlyingErrorMessage Error.UnderlyingErrorMessage
Error.readableErrorCode Error.ReadableErrorCode
purchases-unity - 3.5.3

Published by vegaro over 2 years ago

When installing this release, make sure to make a fresh installation by removing the RevenueCat folder before importing the package. That way obsolete files are deleted from your project.

purchases-unity -

Published by vegaro over 2 years ago

  • Added currency code and price to syncObserverModeAmazonPurchase

For Amazon installation instructions please follow take a look at the Amazon instructions document

purchases-unity - 3.5.2

Published by aboedo over 2 years ago

⚠️ Note: ⚠️
This version of the SDK doesn't have support for Amazon Store. If you would like to use our SDK with Amazon Store, use the version tagged amazon-latest and follow the AMAZON-INSTRUCTIONS.md docs to get set up.

purchases-unity - 3.2.0-amazon.alpha.5 (for Unity IAP observer mode compatibility)

Published by vegaro over 2 years ago

  • Added DangerousSetting option to disable automatic syncing of purchases. Use only if instructed by RevenueCat support.
  • Amazon configured in observer mode won't register purchases automatically.
  • Fixed Amazon observer mode by adding syncObserverModeAmazonPurchase to manually sync an Amazon purchase with our backend.
  • Updated purchases-hybrid-common android version to 2.0.0-amazon.alpha.5.billing3.iap2
  • Updated purchases-hybrid-common iOS version to 2.0.0

For Amazon installation instructions please follow take a look at the Amazon instructions document

purchases-unity - 3.5.1

Published by aboedo over 2 years ago

Badges
Extracted from project README
openupm
Related Projects