needle-mirror / com.unity.purchasing

[Mirrored from UPM, not affiliated with Unity Technologies.] 📦 IMPORTANT UPGRADE NOTES:If 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: 1. Move IAPProductCatalog.json and BillingMode.jsonFROM: Assets/Plugins/UnityPurchasing/Resources/TO: Assets/Resources/. 2. Move AppleTangle.cs and GooglePlayTangle.csFROM: Assets/Plugins/UnityPurchasing/generatedTO: Assets/Scripts/UnityPurchasing/generated. 3. Remove all remaining Asset Store plugin folders and files in Assets/Plugins/UnityPurchasing from your project.PACKAGE DESCRIPTION:With Unity IAP, setting up in-app purchases for your game across multiple app stores has never been easier.This package provides: ▪ One common API to access all stores for free so you can fully understand and optimize your in-game economy ▪ Automatic coupling with Unity Analytics to enable monitoring and decision-making based on trends in your revenue and purchase data across multiple platforms ▪ Support for iOS, Mac, tvOS, Google Play, Windows, and Amazon app stores(*). ▪ Support to work with the Unity Distribution Portal to synchronize catalogs and transactions with other app stores ▪ Client-side receipt validation for Apple App Store and Google PlayAfter installing this package, open the Services Window to enable In-App Purchasing to use these features.
https://docs.unity3d.com/Packages/com.unity.purchasing@4.9/manual/index.html
Other
30 stars 8 forks source link

I cant not import this... #1

Open agrdino opened 2 years ago

agrdino commented 2 years ago

I tried to import this package (v 4.4.1) into empty unity 2022.1.x project by using git URL and this happen to me

Library\PackageCache\com.unity.purchasing@8db71d2808\Runtime\Purchasing\Telemetry\Diagnostics\TelemetryDiagnostics.cs(7,9): error CS0246: The type or namespace name 'ITelemetryDiagnosticsInstanceWrapper' could not be found (are you missing a using directive or an assembly reference?)

and Asset Packages/com.unity.purchasing/Runtime/Stores/Android/GooglePlay/AAR/Interfaces/IGoogleCachedQuerySkuDetailsService.cs has no meta file, but it's in an immutable folder. The asset will be ignored.

then how can I import this to my project? I tried import Unity.IAP before... or can u send me some tutorials?