package.json 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. {
  2. "name": "com.unity.purchasing",
  3. "displayName": "In App Purchasing",
  4. "unity": "2020.3",
  5. "_upm": {
  6. "changelog": "### Fixed\n- Downgrade `com.unity.services.core` from 1.4.1 to 1.3.1 due to a new bug found in 1.4.1"
  7. },
  8. "version": "4.2.1",
  9. "description": "IMPORTANT UPGRADE NOTES:\n\nIf updating from Unity IAP (com.unity.purchasing + the Asset Store plugin) versions 2.x to version 3.x, complete the following actions in order to resolve compilation errors:\n 1. Move IAPProductCatalog.json and BillingMode.json\n\tFROM: Assets/Plugins/UnityPurchasing/Resources/\n\tTO: Assets/Resources/.\n 2. Move AppleTangle.cs and GooglePlayTangle.cs\n\tFROM: Assets/Plugins/UnityPurchasing/generated\n\tTO: Assets/Scripts/UnityPurchasing/generated.\n 3. Remove all remaining Asset Store plugin folders and files in Assets/Plugins/UnityPurchasing from your project.\n\nPACKAGE DESCRIPTION:\n\nWith Unity IAP, setting up in-app purchases for your game across multiple app stores has never been easier.\n\nThis package provides:\n\n ▪ One common API to access all stores for free so you can fully understand and optimize your in-game economy\n ▪ Automatic coupling with Unity Analytics to enable monitoring and decision-making based on trends in your revenue and purchase data across multiple platforms\n ▪ Support for iOS, Mac, tvOS, Google Play, Windows, and Amazon app stores(*).\n ▪ Support to work with the Unity Distribution Portal to synchronize catalogs and transactions with other app stores\n ▪ Client-side receipt validation for Apple App Store and Google Play\n\nAfter installing this package, open the Services Window to enable In-App Purchasing to use these features.",
  10. "dependencies": {
  11. "com.unity.ugui": "1.0.0",
  12. "com.unity.modules.unityanalytics": "1.0.0",
  13. "com.unity.modules.unitywebrequest": "1.0.0",
  14. "com.unity.modules.jsonserialize": "1.0.0",
  15. "com.unity.modules.androidjni": "1.0.0",
  16. "com.unity.services.core": "1.3.1",
  17. "com.unity.services.analytics": "4.0.1"
  18. },
  19. "keywords": [
  20. "purchasing",
  21. "iap",
  22. "unity"
  23. ],
  24. "license": "Unity Companion Package License v1.0",
  25. "hideInEditor": false,
  26. "relatedPackages": {
  27. "com.unity.purchasing.tests": "4.2.1"
  28. },
  29. "upmCi": {
  30. "footprint": "5d77653888c5b36e3c4caa909124141ea75b1c19"
  31. },
  32. "repository": {
  33. "url": "https://github.cds.internal.unity3d.com/unity/com.unity.purchasing.git",
  34. "type": "git",
  35. "revision": "258ef39fae29e6ea64d6813cd615b9424e3a9955"
  36. },
  37. "samples": [
  38. {
  39. "displayName": "01 Buying Consumables",
  40. "description": "This sample showcases the basics of how to initialize in-app purchases and handle a simple consumable purchase.",
  41. "path": "Samples~/01 BuyingConsumables"
  42. },
  43. {
  44. "displayName": "02 Buying Subscription",
  45. "description": "This sample showcases the basics of how to handle subscription purchases and the usage of SubscriptionManager to retrieve information about a subscription.",
  46. "path": "Samples~/02 BuyingSubscription"
  47. },
  48. {
  49. "displayName": "03 Fetching Additional Products",
  50. "description": "This sample showcases how to fetch additional products using the Store Controller.",
  51. "path": "Samples~/03 FetchingAdditionalProducts"
  52. },
  53. {
  54. "displayName": "04 Integrating Self-Provided Backend Receipt Validation",
  55. "description": "This sample showcases how to integrate your own backend validation with Unity IAP.",
  56. "path": "Samples~/04 IntegratingSelfProvidedBackendReceiptValidation"
  57. },
  58. {
  59. "displayName": "05 Local Receipt Validation",
  60. "description": "This sample showcases how to use the cross-platform validator to do local receipt validation with the Google Play Store and Apple App Store.",
  61. "path": "Samples~/05 LocalReceiptValidation"
  62. },
  63. {
  64. "displayName": "06 Initialize Unity Gaming Services",
  65. "description": "This sample showcases how to initialize Unity Gaming Services using the Services Core API",
  66. "path": "Samples~/06 InitializeGamingServices"
  67. },
  68. {
  69. "displayName": "Apple App Store - 01 Refreshing App Receipts",
  70. "description": "This sample shows how to refresh Apple App Store receipts.",
  71. "path": "Samples~/Apple App Store - 01 RefreshingAppReceipt"
  72. },
  73. {
  74. "displayName": "Apple App Store - 02 Restoring Transactions",
  75. "description": "This sample showcases how to use Apple extensions to restore transactions. This allows users to be granted Non-Consumable and Subscription products they already own after reinstalling the application.",
  76. "path": "Samples~/Apple App Store - 02 RestoringTransactions"
  77. },
  78. {
  79. "displayName": "Apple App Store - 03 Handling Deferred Purchases",
  80. "description": "This sample showcases how to handle deferred purchases using Apple extensions and configurations.",
  81. "path": "Samples~/Apple App Store - 03 HandlingDeferredPurchases"
  82. },
  83. {
  84. "displayName": "Apple App Store - 04 Retrieving Product Receipt",
  85. "description": "This sample showcases how to retrieve product transaction receipts for Ask to Buy purchases.",
  86. "path": "Samples~/Apple App Store - 04 RetrievingProductReceipt"
  87. },
  88. {
  89. "displayName": "Apple App Store - 05 Fraud Detection",
  90. "description": "This sample showcases how to provide to the Apple App Store your user's identifiers to help prevent fraud.",
  91. "path": "Samples~/Apple App Store - 05 FraudDetection"
  92. },
  93. {
  94. "displayName": "Apple App Store - 06 Getting Introductory Subscription Prices",
  95. "description": "This sample showcases how to use Apple extensions to get introductory subscription offer information.",
  96. "path": "Samples~/Apple App Store - 06 GettingIntroductoryPrices"
  97. },
  98. {
  99. "displayName": "Apple App Store - 07 Getting Product Details",
  100. "description": "This sample showcases how to use Apple extensions to get additional product details.",
  101. "path": "Samples~/Apple App Store - 07 gettingProductDetails"
  102. },
  103. {
  104. "displayName": "Apple App Store - 08 Promoting Products",
  105. "description": "This sample shows how to Promote Products in the Apple App Store.",
  106. "path": "Samples~/Apple App Store - 08 PromptingProducts"
  107. },
  108. {
  109. "displayName": "Apple App Store - 09 Present Code Redemption Sheet",
  110. "description": "This sample shows how to use the Apple App Store extensions to display a sheet for users to redeem subscription offer codes.",
  111. "path": "Samples~/Apple App Store - 09 PresentCodeRedemptionSheet"
  112. },
  113. {
  114. "displayName": "Apple App Store - 10 Can Make Payments",
  115. "description": "This sample shows how to check whether the logged-in player is permitted to purchase from the Apple App Store on this device.",
  116. "path": "Samples~/Apple App Store - 10 CanMakePayments"
  117. },
  118. {
  119. "displayName": "Apple App Store - 12 Upgrading and Downgrading Subscriptions",
  120. "description": "This sample showcases how to use the Unity IAP to upgrade and downgrade subscriptions. This allows players to change their subscription, and pay a different amount of money for a different level of service.",
  121. "path": "Samples~/Apple App Store - 12 UpgradeDowngradeSubscription"
  122. },
  123. {
  124. "displayName": "Google Play Store - 01 Upgrading and Downgrading Subscriptions",
  125. "description": "This sample showcases how to use the Google Play Store extensions to upgrade and downgrade subscriptions. This allows players to change their subscription, and pay a different amount of money for a different level of service.",
  126. "path": "Samples~/Google Play Store - 01 UpgradeDowngradeSubscription"
  127. },
  128. {
  129. "displayName": "Google Play Store - 02 Restoring Transactions",
  130. "description": "This sample showcases how to use the Google Play Store extensions to restore transactions. This allows users to be granted Non-Consumable and Subscription products they already own after reinstalling the application.",
  131. "path": "Samples~/Google Play Store - 02 RestoringTransactions"
  132. },
  133. {
  134. "displayName": "Google Play Store - 03 Confirming Subscription Price Change",
  135. "description": "This sample showcases how to use the Google Play Store extensions to confirm subscription price changes.",
  136. "path": "Samples~/Google Play Store - 03 ConfirmingSubscriptionPriceChange"
  137. },
  138. {
  139. "displayName": "Google Play Store - 04 Handling Deferred Purchases",
  140. "description": "This sample showcases how to handle deferred purchases using the Google Play Store extensions and configurations.",
  141. "path": "Samples~/Google Play Store - 04 HandlingDeferredPurchases"
  142. },
  143. {
  144. "displayName": "Google Play Store - 05 Fraud Detection",
  145. "description": "This sample showcases how to provide to the Google Play Store your user's identifiers to help prevent fraud.",
  146. "path": "Samples~/Google Play Store - 05 FraudDetection"
  147. }
  148. ]
  149. }