Skip to content

v2.3.4 - Unity 2018

Compare
Choose a tag to compare
@alihan98ersoy alihan98ersoy released this 22 Aug 06:47
· 4 commits to 2.0-2018 since this release
aca83bd
  • If UNITY_2022_2_OR_NEWER added to HMSGradleFixer
    Gradle 7.2(Unity 2022.2 and upper) now supported -> Related with #426

IAP

  • Second IAP demo scene has been created to show how to use IAP and Account kit in multiple scenes.
  • A bool input has been added to the PurchaseProduct method to prevent it from being consumed optionally. Thus, those who wish can make their own consumption.
  • isUserOwnThisProduct method was added to see if the user has a specific product. (You need to call after initSuccess)
  • isIapAvailable method added.
  • GetAllOwnedPurchasesasList method added. This method will return owned products. (You need to call after initSuccess)
  • GetProductsList method added. This method will return information on products as a list. (You need to call after initSuccess)

Reminder: You can still use the GetProductInfo method for specific products.

  • OnObtainOwnedPurchasesSuccess & OnObtainOwnedPurchaseRecordSuccess callbacks fixed.

Reminder: When testing non-consumable products with a sandbox, if you consume the product, you will not see that you have the product. If you don't consume, you can also see ownedpurchases. Just consume the product before you test repurchase. This is only for sandbox testing, in a normal process, you should consume after purchase.