purchases-unity

Unity in-app purchases and subscriptions made easy.

MIT License

Stars
91
Committers
20

Bot releases are hidden (Show)

purchases-unity - Amazon Alpha Version

Published by vegaro over 3 years ago

  • Download the .unitypackage in this release
  • Open your Unity Project
  • Select Import package -> Custom package
  • Select Purchases_Amazon.unityPackage and make sure all of the files are selected and press import
  • If Package Manager Resolver asks to solve conflicts, choose library versions and select OK

  • Download the .zip from Amazon and unzip

  • Drag and drop the Amazon in-app-purchasing library into Assets -> Plugins -> Android

  • Select Use Amazon in the Editor

If calling setup on runtime, using Runtime Setup, you can select “Use Runtime Setup” and call setup this way.

       var builder = PurchasesConfiguration.Builder.Init("amazon_specific_api_key")
            .SetUseAmazon(true);
        purchases.Setup(builder.Build());

Due to some limitations, RevenueCat will only validate purchases made in production or in Live App Testing and won't validate purchases made with the Amazon App Tester.

purchases-unity - 3.0.1

Published by aboedo over 3 years ago

purchases-unity - 3.0.0

Published by aboedo almost 4 years ago

  • removes deprecated MakePurchase, replaced by PurchaseProduct
  • iOS:
    • added new method, syncPurchases, that enables syncing the purchases in the local receipt with the backend without risking a password prompt. The method was already available on Android.
    • added a new method, presentCodeRedemptionSheet, for offer codes redemption.
    • fixed a bug where values for dates in milliseconds were actually in seconds (https://github.com/RevenueCat/purchases-hybrid-common/pull/62)
  • Bumped purchases-hybrid-common to 1.5.0 Changelog here
  • Bumped purchases-ios to 3.9.2 Changelog here
  • Bumped purchases-android to 4.0.1 Changelog here
purchases-unity - 2.3.1

Published by aboedo almost 4 years ago

2.3.1

purchases-unity -

Published by vegaro about 4 years ago

  • Bumped common files to 1.4.4 Changelog here
  • Bumped iOS to 3.7.2 Changelog here
  • Bumped Android to 3.5.2 Changelog here
  • Added a new property NonSubscriptionTransactions in PurchaserInfo to better manage non-subscriptions
  • Attribution V2:
    • Deprecated addAttribution in favor of setAdjustId, setAppsflyerId, setFbAnonymousId, setMparticleId.
    • Added support for OneSignal via setOnesignalId
    • Added setMediaSource, setCampaign, setAdGroup, setAd, setKeyword, setCreative, and collectDeviceIdentifiers
  • Observer mode installations now are done same way as standard installations, there's no special package
purchases-unity -

Published by vegaro about 4 years ago

  • Fixes duplicated files error in iOS.
purchases-unity -

Published by vegaro about 4 years ago

  • Adds Subscriber Attributes, which allow developers to store additional, structured information
    for a user in RevenueCat. More info: https://docs.revenuecat.com/docs/user-attributes.
  • Added new method to invalidate the purchaser info cache, useful when promotional purchases are granted from outside the app.

iOS Native SDK Update 3.2.2

Android Native SDK Update 3.1.0

purchases-unity -

Published by vegaro about 4 years ago

  • Adds proxyURL property, 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.
  • Adds userDefaultsSuiteName. Set this to use a specific NSUserDefaults suite for RevenueCat. This might be handy if you are deleting all NSUserDefaults in your app and leaving RevenueCat in a bad state.
  • Update to ExternalDependencyManager 1.2.156
  • A lot of internal changes:
    • iOS now downloads the dependency from CocoaPods
    • Android downloads the common code from Maven
    • Removed a bunch of scripts
    • Removed the Android project and added the files to the plugin folder
    • Added platform version and name to the http headers
    • Added a script to create the unitypackage
    • Moved inner classes to their own files
    • Use SimpleJSON instead of JSONUtility
purchases-unity -

Published by vegaro almost 5 years ago

  • Fixes updated PurchaserInfo listener in iOS
purchases-unity -

Published by vegaro almost 5 years ago

  • Fixes active entitlements in iOS
  • Fixes dates formats inside EntitlementInfo in iOS
purchases-unity -

Published by vegaro almost 5 years ago

Adds missing optional type parameter to GetProducts

purchases-unity -

Published by vegaro almost 5 years ago

  • Adds CheckTrialOrIntroductoryPriceEligibility
purchases-unity -

Published by vegaro almost 5 years ago

  • Fixes Product class
  • Removes unnecessary iOS import
  • Adds missing iOS files
purchases-unity -

Published by vegaro almost 5 years ago

  • Updates Android to 3.0.3
purchases-unity -

Published by vegaro almost 5 years ago

  • Makes Offerings.Current nullable
purchases-unity -

Published by vegaro almost 5 years ago

  • Makes packages inside Offering nullable.
purchases-unity -

Published by vegaro almost 5 years ago

  • PurchaserInfo.LatestExpirationDate can be null now, it was equal to epoch before if there was no expiration date. Same for PurchaserInfo.AllExpirationDates, that can contain nullable values now.
  • Added Play Services Resolver (https://github.com/googlesamples/unity-jar-resolver) to help with the Android dependencies management. Make sure you import it when importing our package.
  • 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. For more info check out https://docs.revenuecat.com/docs/purchaserinfo
  • 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
purchases-unity - 1.2.2

Published by vegaro almost 5 years ago

Updates Android to 3.4.1 to include multiple bugfixes. Including

purchases-unity - 1.2.1

Published by vegaro about 5 years ago

  • Fixes introductory pricing period normalization in iOS
purchases-unity - 1.2.0

Published by vegaro about 5 years ago

Badges
Extracted from project README
openupm
Related Projects