166 lines
11 KiB
JSON
166 lines
11 KiB
JSON
{
|
|
"name": "com.unity.purchasing",
|
|
"displayName": "In App Purchasing",
|
|
"unity": "2020.3",
|
|
"_upm": {
|
|
"gameService": {
|
|
"groupIndex": 4,
|
|
"groupName": "Monetize",
|
|
"configurePath": "Project/Services/In-App Purchasing",
|
|
"genericDashboardUrl": "https://dashboard.unity3d.com/",
|
|
"projectDashboardUrl": "https://dashboard.unity3d.com/organizations/{0}/projects/{1}/analytics/v2/dashboards/revenue",
|
|
"projectDashboardUrlType": "OrganizationKeyAndProjectGuid"
|
|
},
|
|
"supportedPlatforms": [
|
|
"Android",
|
|
"iOS"
|
|
],
|
|
"changelog": "### Changed\n- Unity Distribution Portal - IAP will retract support for UDP at some point in the near future (Announcement TBD). Until then, all UDP features will continue to function, but the public interfaces, as well as some private functions are now marked `[Obsolete]`. In the next major update these will all be removed and UDP will cease to function with that version of In-App Purchasing and those that follow.\n- Unity Distribution Portal - If the editor is unable to connect to the UDP backend, the developer can now use some UDP catalog features in offline mode. This allows the developer to continue to enter prices, meaning that prices will need to be synced manually. In this case, we strongly suggest you sync your prices properly once connection is re-established. A warning message will display in the Catalog if the editor is unable to connect to the UDP backend.\n- Analytics - The Legacy Analytics built-in module, com.unity.modules.unityanalytics, is now no longer a dependency. You may not remove it from your project if you don't use it. Make sure it is in your project if you do use it.\n- Project Settings - In the Services Project Settings page of the Editor, we have changed the endpoint from which the Google Play Key is obtained. Also, instead of setting the key directly in the editor, there is now a dashboard link to set it directly on the backend to avoid future errors.\n\n### Fixed\n- Google Play - Some versions of the Unity Editor compiler were stripping `GooglePurchaseUpdatedListener.onPurchasesUpdated`, which was assigned as a callback to the Google Billing module, causing a lack of purchase failure callbacks, and logging `\"No such proxy method:\"`. Also fixed this for `BillingClientStateListener.onBillingServiceDisconnected`, `BillingClientStateListener.onBillingSetupFinished` and `SkuDetailsResponseListener.onSkuDetailsResponse`."
|
|
},
|
|
"version": "4.10.0",
|
|
"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.",
|
|
"dependencies": {
|
|
"com.unity.ugui": "1.0.0",
|
|
"com.unity.modules.unitywebrequest": "1.0.0",
|
|
"com.unity.modules.jsonserialize": "1.0.0",
|
|
"com.unity.modules.androidjni": "1.0.0",
|
|
"com.unity.services.core": "1.8.2"
|
|
},
|
|
"keywords": [
|
|
"purchasing",
|
|
"iap",
|
|
"unity"
|
|
],
|
|
"license": "Unity Companion Package License v1.0",
|
|
"hideInEditor": false,
|
|
"relatedPackages": {
|
|
"com.unity.purchasing.tests": "4.10.0"
|
|
},
|
|
"upmCi": {
|
|
"footprint": "313e6114563bae2e5578a67d5c5591869ae28a71"
|
|
},
|
|
"documentationUrl": "https://docs.unity3d.com/Packages/com.unity.purchasing@4.10/manual/index.html",
|
|
"repository": {
|
|
"url": "https://github.cds.internal.unity3d.com/unity/com.unity.purchasing.git",
|
|
"type": "git",
|
|
"revision": "c1569b96eee83bd027cadf45a97ec73f6edf6661"
|
|
},
|
|
"samples": [
|
|
{
|
|
"displayName": "01 Buying Consumables",
|
|
"description": "This sample showcases the basics of how to initialize in-app purchases and handle a simple consumable purchase.",
|
|
"path": "Samples~/01 BuyingConsumables"
|
|
},
|
|
{
|
|
"displayName": "02 Buying Subscription",
|
|
"description": "This sample showcases the basics of how to handle subscription purchases and the usage of SubscriptionManager to retrieve information about a subscription.",
|
|
"path": "Samples~/02 BuyingSubscription"
|
|
},
|
|
{
|
|
"displayName": "03 Fetching Additional Products",
|
|
"description": "This sample showcases how to fetch additional products using the Store Controller.",
|
|
"path": "Samples~/03 FetchingAdditionalProducts"
|
|
},
|
|
{
|
|
"displayName": "04 Integrating Self-Provided Backend Receipt Validation",
|
|
"description": "This sample showcases how to integrate your own backend validation with Unity IAP.",
|
|
"path": "Samples~/04 IntegratingSelfProvidedBackendReceiptValidation"
|
|
},
|
|
{
|
|
"displayName": "05 Local Receipt Validation",
|
|
"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.",
|
|
"path": "Samples~/05 LocalReceiptValidation"
|
|
},
|
|
{
|
|
"displayName": "06 Initialize Unity Gaming Services",
|
|
"description": "This sample showcases how to initialize Unity Gaming Services using the Services Core API",
|
|
"path": "Samples~/06 InitializeGamingServices"
|
|
},
|
|
{
|
|
"displayName": "Apple App Store - 01 Refreshing App Receipts",
|
|
"description": "This sample shows how to refresh Apple App Store receipts.",
|
|
"path": "Samples~/Apple App Store - 01 RefreshingAppReceipt"
|
|
},
|
|
{
|
|
"displayName": "Apple App Store - 02 Restoring Transactions",
|
|
"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.",
|
|
"path": "Samples~/Apple App Store - 02 RestoringTransactions"
|
|
},
|
|
{
|
|
"displayName": "Apple App Store - 03 Handling Deferred Purchases",
|
|
"description": "This sample showcases how to handle deferred purchases using Apple extensions and configurations.",
|
|
"path": "Samples~/Apple App Store - 03 HandlingDeferredPurchases"
|
|
},
|
|
{
|
|
"displayName": "Apple App Store - 04 Retrieving Product Receipt",
|
|
"description": "This sample showcases how to retrieve product transaction receipts for Ask to Buy purchases.",
|
|
"path": "Samples~/Apple App Store - 04 RetrievingProductReceipt"
|
|
},
|
|
{
|
|
"displayName": "Apple App Store - 05 Fraud Detection",
|
|
"description": "This sample showcases how to provide to the Apple App Store your user's identifiers to help prevent fraud.",
|
|
"path": "Samples~/Apple App Store - 05 FraudDetection"
|
|
},
|
|
{
|
|
"displayName": "Apple App Store - 06 Getting Introductory Subscription Prices",
|
|
"description": "This sample showcases how to use Apple extensions to get introductory subscription offer information.",
|
|
"path": "Samples~/Apple App Store - 06 GettingIntroductoryPrices"
|
|
},
|
|
{
|
|
"displayName": "Apple App Store - 07 Getting Product Details",
|
|
"description": "This sample showcases how to use Apple extensions to get additional product details.",
|
|
"path": "Samples~/Apple App Store - 07 gettingProductDetails"
|
|
},
|
|
{
|
|
"displayName": "Apple App Store - 08 Promoting Products",
|
|
"description": "This sample shows how to Promote Products in the Apple App Store.",
|
|
"path": "Samples~/Apple App Store - 08 PromptingProducts"
|
|
},
|
|
{
|
|
"displayName": "Apple App Store - 09 Present Code Redemption Sheet",
|
|
"description": "This sample shows how to use the Apple App Store extensions to display a sheet for users to redeem subscription offer codes.",
|
|
"path": "Samples~/Apple App Store - 09 PresentCodeRedemptionSheet"
|
|
},
|
|
{
|
|
"displayName": "Apple App Store - 10 Can Make Payments",
|
|
"description": "This sample shows how to check whether the logged-in player is permitted to purchase from the Apple App Store on this device.",
|
|
"path": "Samples~/Apple App Store - 10 CanMakePayments"
|
|
},
|
|
{
|
|
"displayName": "Apple App Store - 11 Family Sharing",
|
|
"description": "This sample showcases how to use Unity IAP to manage family shared purchases.",
|
|
"path": "Samples~/Apple App Store - 11 FamilySharing"
|
|
},
|
|
{
|
|
"displayName": "Apple App Store - 12 Upgrading and Downgrading Subscriptions",
|
|
"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.",
|
|
"path": "Samples~/Apple App Store - 12 UpgradeDowngradeSubscription"
|
|
},
|
|
{
|
|
"displayName": "Google Play Store - 01 Upgrading and Downgrading Subscriptions",
|
|
"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.",
|
|
"path": "Samples~/Google Play Store - 01 UpgradeDowngradeSubscription"
|
|
},
|
|
{
|
|
"displayName": "Google Play Store - 02 Restoring Transactions",
|
|
"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.",
|
|
"path": "Samples~/Google Play Store - 02 RestoringTransactions"
|
|
},
|
|
{
|
|
"displayName": "Google Play Store - 03 Confirming Subscription Price Change",
|
|
"description": "This sample showcases how to use the Google Play Store extensions to confirm subscription price changes.",
|
|
"path": "Samples~/Google Play Store - 03 ConfirmingSubscriptionPriceChange"
|
|
},
|
|
{
|
|
"displayName": "Google Play Store - 04 Handling Deferred Purchases",
|
|
"description": "This sample showcases how to handle deferred purchases using the Google Play Store extensions and configurations.",
|
|
"path": "Samples~/Google Play Store - 04 HandlingDeferredPurchases"
|
|
},
|
|
{
|
|
"displayName": "Google Play Store - 05 Fraud Detection",
|
|
"description": "This sample showcases how to provide to the Google Play Store your user's identifiers to help prevent fraud.",
|
|
"path": "Samples~/Google Play Store - 05 FraudDetection"
|
|
}
|
|
]
|
|
}
|