BillingService Android PurchasePlatformProductAsync Does Not Work
Open
- Dominant language
- C#
- Stars
- 3.7k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
Attempting to buy something always fails calling PurchasePlatformProductAsync.
Internally QueryProductDetailsAsync always returns "DEVELOPER ERROR: Invalid SKU type: InApp" because `.SetProductType("InApp")` is used to compose the `QueryproductDetails` parameter. The fix is to use `.SetProductType(BillingClient.ProductType.Inapp)` instead - it actually evaluates to "inapp" which the Android Play API recognizes.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.