Geen omschrijving
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. {
  2. "name": "com.unity.purchasing",
  3. "displayName": "In App Purchasing",
  4. "unity": "2020.3",
  5. "_upm": {
  6. "gameService": {
  7. "groupIndex": 4,
  8. "groupName": "Monetize",
  9. "configurePath": "Project/Services/In-App Purchasing",
  10. "genericDashboardUrl": "https://dashboard.unity3d.com/",
  11. "projectDashboardUrl": "https://dashboard.unity3d.com/organizations/{0}/projects/{1}/analytics/v2/dashboards/revenue",
  12. "projectDashboardUrlType": "OrganizationKeyAndProjectGuid"
  13. },
  14. "supportedPlatforms": [
  15. "Android",
  16. "iOS"
  17. ],
  18. "changelog": "### Added\n- GooglePlay - `IGooglePlayConfiguration.SetMaxConnectionAttempts(int maxConnectionAttempts)` has been added to specify the max connection attempts to the Google Play Store.\n- Apple - Added privacy manifest to comply with Apple's new privacy requirements. More details on how the Unity Engine supports this can be found [here](https://forum.unity.com/threads/apple-privacy-manifest-updates-for-unity-engine.1529026/).\n- Added `ConfigurationBuilder.logUnavailableProducts` to specify if unavailable products should be logged.\n\n### Changed\n- GooglePlay - The default max connection attempt to the Google Play Store has been increased from 1 to 3. See `IGooglePlayConfiguration.SetMaxConnectionAttempts` to configure this to a different value.\n- Apple - The log when retrieving products (SKProductsResponse) now also contains the invalid products count.\n- Improved `IStoreListener.OnInitializeFailed` for `InitializationFailureReason.NoProductsAvailable` by adding a message to clarify whether the store returned products or not.\n\n### Fixed\n- GooglePlay - Fixed AndroidJavaObject not being disposed causing a global reference table overflow in an edge case.\n- GooglePlay - Fixed bug causing BillingClient duplication resulting in ANR.\n- Apple - Fixed isFamilyShareable on tvOS to be only available on supported versions (14.0 and above).\n- Apple - Error codes when a purchase fails now always returns the code from Apple instead of defaulting to `SKErrorUnknown`.\n- Fixed Analytics' transactionServer being null."
  19. },
  20. "version": "4.11.0",
  21. "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.",
  22. "dependencies": {
  23. "com.unity.ugui": "1.0.0",
  24. "com.unity.modules.unitywebrequest": "1.0.0",
  25. "com.unity.modules.jsonserialize": "1.0.0",
  26. "com.unity.modules.androidjni": "1.0.0",
  27. "com.unity.services.core": "1.8.2"
  28. },
  29. "keywords": [
  30. "purchasing",
  31. "iap",
  32. "unity"
  33. ],
  34. "license": "Unity Companion Package License v1.0",
  35. "hideInEditor": false,
  36. "relatedPackages": {
  37. "com.unity.purchasing.tests": "4.11.0"
  38. },
  39. "upmCi": {
  40. "footprint": "72d426a29282f0ac1ae5c00e4a52102f61fe97f4"
  41. },
  42. "documentationUrl": "https://docs.unity3d.com/Packages/com.unity.purchasing@4.11/manual/index.html",
  43. "repository": {
  44. "url": "https://github.cds.internal.unity3d.com/unity/com.unity.purchasing.git",
  45. "type": "git",
  46. "revision": "d048512094268963253b336dd8eba44548759d38"
  47. },
  48. "samples": [
  49. {
  50. "displayName": "01 Buying Consumables",
  51. "description": "This sample showcases the basics of how to initialize in-app purchases and handle a simple consumable purchase.",
  52. "path": "Samples~/01 BuyingConsumables"
  53. },
  54. {
  55. "displayName": "02 Buying Subscription",
  56. "description": "This sample showcases the basics of how to handle subscription purchases and the usage of SubscriptionManager to retrieve information about a subscription.",
  57. "path": "Samples~/02 BuyingSubscription"
  58. },
  59. {
  60. "displayName": "03 Fetching Additional Products",
  61. "description": "This sample showcases how to fetch additional products using the Store Controller.",
  62. "path": "Samples~/03 FetchingAdditionalProducts"
  63. },
  64. {
  65. "displayName": "04 Integrating Self-Provided Backend Receipt Validation",
  66. "description": "This sample showcases how to integrate your own backend validation with Unity IAP.",
  67. "path": "Samples~/04 IntegratingSelfProvidedBackendReceiptValidation"
  68. },
  69. {
  70. "displayName": "05 Local Receipt Validation",
  71. "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.",
  72. "path": "Samples~/05 LocalReceiptValidation"
  73. },
  74. {
  75. "displayName": "06 Initialize Unity Gaming Services",
  76. "description": "This sample showcases how to initialize Unity Gaming Services using the Services Core API",
  77. "path": "Samples~/06 InitializeGamingServices"
  78. },
  79. {
  80. "displayName": "Apple App Store - 01 Refreshing App Receipts",
  81. "description": "This sample shows how to refresh Apple App Store receipts.",
  82. "path": "Samples~/Apple App Store - 01 RefreshingAppReceipt"
  83. },
  84. {
  85. "displayName": "Apple App Store - 02 Restoring Transactions",
  86. "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.",
  87. "path": "Samples~/Apple App Store - 02 RestoringTransactions"
  88. },
  89. {
  90. "displayName": "Apple App Store - 03 Handling Deferred Purchases",
  91. "description": "This sample showcases how to handle deferred purchases using Apple extensions and configurations.",
  92. "path": "Samples~/Apple App Store - 03 HandlingDeferredPurchases"
  93. },
  94. {
  95. "displayName": "Apple App Store - 04 Retrieving Product Receipt",
  96. "description": "This sample showcases how to retrieve product transaction receipts for Ask to Buy purchases.",
  97. "path": "Samples~/Apple App Store - 04 RetrievingProductReceipt"
  98. },
  99. {
  100. "displayName": "Apple App Store - 05 Fraud Detection",
  101. "description": "This sample showcases how to provide to the Apple App Store your user's identifiers to help prevent fraud.",
  102. "path": "Samples~/Apple App Store - 05 FraudDetection"
  103. },
  104. {
  105. "displayName": "Apple App Store - 06 Getting Introductory Subscription Prices",
  106. "description": "This sample showcases how to use Apple extensions to get introductory subscription offer information.",
  107. "path": "Samples~/Apple App Store - 06 GettingIntroductoryPrices"
  108. },
  109. {
  110. "displayName": "Apple App Store - 07 Getting Product Details",
  111. "description": "This sample showcases how to use Apple extensions to get additional product details.",
  112. "path": "Samples~/Apple App Store - 07 gettingProductDetails"
  113. },
  114. {
  115. "displayName": "Apple App Store - 08 Promoting Products",
  116. "description": "This sample shows how to Promote Products in the Apple App Store.",
  117. "path": "Samples~/Apple App Store - 08 PromptingProducts"
  118. },
  119. {
  120. "displayName": "Apple App Store - 09 Present Code Redemption Sheet",
  121. "description": "This sample shows how to use the Apple App Store extensions to display a sheet for users to redeem subscription offer codes.",
  122. "path": "Samples~/Apple App Store - 09 PresentCodeRedemptionSheet"
  123. },
  124. {
  125. "displayName": "Apple App Store - 10 Can Make Payments",
  126. "description": "This sample shows how to check whether the logged-in player is permitted to purchase from the Apple App Store on this device.",
  127. "path": "Samples~/Apple App Store - 10 CanMakePayments"
  128. },
  129. {
  130. "displayName": "Apple App Store - 11 Family Sharing",
  131. "description": "This sample showcases how to use Unity IAP to manage family shared purchases.",
  132. "path": "Samples~/Apple App Store - 11 FamilySharing"
  133. },
  134. {
  135. "displayName": "Apple App Store - 12 Upgrading and Downgrading Subscriptions",
  136. "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.",
  137. "path": "Samples~/Apple App Store - 12 UpgradeDowngradeSubscription"
  138. },
  139. {
  140. "displayName": "Google Play Store - 01 Upgrading and Downgrading Subscriptions",
  141. "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.",
  142. "path": "Samples~/Google Play Store - 01 UpgradeDowngradeSubscription"
  143. },
  144. {
  145. "displayName": "Google Play Store - 02 Restoring Transactions",
  146. "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.",
  147. "path": "Samples~/Google Play Store - 02 RestoringTransactions"
  148. },
  149. {
  150. "displayName": "Google Play Store - 03 Confirming Subscription Price Change",
  151. "description": "This sample showcases how to use the Google Play Store extensions to confirm subscription price changes.",
  152. "path": "Samples~/Google Play Store - 03 ConfirmingSubscriptionPriceChange"
  153. },
  154. {
  155. "displayName": "Google Play Store - 04 Handling Deferred Purchases",
  156. "description": "This sample showcases how to handle deferred purchases using the Google Play Store extensions and configurations.",
  157. "path": "Samples~/Google Play Store - 04 HandlingDeferredPurchases"
  158. },
  159. {
  160. "displayName": "Google Play Store - 05 Fraud Detection",
  161. "description": "This sample showcases how to provide to the Google Play Store your user's identifiers to help prevent fraud.",
  162. "path": "Samples~/Google Play Store - 05 FraudDetection"
  163. }
  164. ]
  165. }