Unity SDK for XIAOMI (IAP + Ads) Alpha v0.0.4

Unity SDK for XIAOMI provides an easy way to intergrate with XIAOMI’s IAP and Unity Ads in Unity editor. This is the Alpha v0.0.4 build.

Changelog

  • Add an installer.
  • Fix main thread error seen in Development Build.
  • (Unity 5.5+) Add error code to IStoreListener.OnPurchaseFailed, PurchaseFailureReason.DuplicateTransaction, when user repeats purchasing a non-consumable they already own.

A usage note for Customer Service: developers can use the product.availableToPurchase bool field to determine if a product is available from the Store’s Product Catalog. This field does not indicate ownership. Developers can use the product.hasReceipt bool immediately after purchasing to determine if a product is owned by the user, but this field will be reset to false when the user restarts the application; there is essentially no support for Product Inventory in Unity IAP.

Downloads

Support

If you have any question, feel free to contact us at iapsupport@unity3d.com for IAP and chinaads@unity3d.com for Ads.