From 8782d7f2135df4038cf038e45b4abab3cb3a7514 Mon Sep 17 00:00:00 2001 From: James Montemagno Date: Tue, 22 Oct 2024 12:13:18 -0700 Subject: [PATCH 1/2] Update README.md --- README.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 6787d93..165b1a1 100644 --- a/README.md +++ b/README.md @@ -52,20 +52,10 @@ If you receive an error in Google Play you may need to add this to your AndroidM ```xml + android:value="X.X.X" /> ``` -If you are building against .NET 8 for Android you will need to add the following packages when using v7: - -```xml - - - - - - - -``` +Update X.X.X with the version of the Billing Library that is a dependency on the NuGet package. ### Pending Transactions: * If the result of PurchaseAsync is PurchaseState.PaymentPending, store the order details locally and inform the user that they will have access to the product when the payment completes From 0371b1ee62cab4f20cd563b9490c370f51f69f52 Mon Sep 17 00:00:00 2001 From: Jonathan ANTOINE Date: Sun, 17 Nov 2024 15:34:07 +0100 Subject: [PATCH 2/2] Add error code in exception message of InAppBillingPurchaseException. --- .../Shared/InAppBillingExceptions.shared.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Plugin.InAppBilling/Shared/InAppBillingExceptions.shared.cs b/src/Plugin.InAppBilling/Shared/InAppBillingExceptions.shared.cs index 39ce8c3..3b92db6 100644 --- a/src/Plugin.InAppBilling/Shared/InAppBillingExceptions.shared.cs +++ b/src/Plugin.InAppBilling/Shared/InAppBillingExceptions.shared.cs @@ -90,12 +90,12 @@ public class InAppBillingPurchaseException : Exception /// /// /// - public InAppBillingPurchaseException(PurchaseError error, Exception ex) : base("Unable to process purchase.", ex) => PurchaseError = error; + public InAppBillingPurchaseException(PurchaseError error, Exception ex) : base($"Unable to process purchase : {error:G}.", ex) => PurchaseError = error; /// /// /// /// - public InAppBillingPurchaseException(PurchaseError error) : base("Unable to process purchase.") => PurchaseError = error; + public InAppBillingPurchaseException(PurchaseError error) : base($"Unable to process purchase : {error:G}.") => PurchaseError = error; /// ///