In Xamarin.InAppBilling, where are OnUserCanceled, QueryInventoryError and BuyProductError?

The GettingStarted documentation for Xamarin.InAppBilling refers to OnUserCanceled, QueryInventoryError and BuyProductError.
Intellisense on the obvious objects does not show any of those three events. Do they exist? If so, which class contains them?

Answers

  • JohnHardmanJohnHardman GBUniversity mod

    Found the source of the problem mentioned above. The version of InAppBilling for Android that is wrapped as a NuGet package is out of date. Download directly from the Component Store instead of using the version in NuGet.

  • batmacibatmaci DEMember ✭✭✭✭✭

    Hi, @JohnHardman
    how do you handle case when OnUserCancelled? are you using James' inAppBilling plugin, if yes, i think that it doesnt handle it. I think that this is related. do you have any idea about this?

    https://github.com/jamesmontemagno/InAppBillingPlugin/issues/178

  • batmacibatmaci DEMember ✭✭✭✭✭

    I am getting so many of these errors in my app center logs Do you have any idea?

    InAppBillingImplementation+d__28.MoveNext ()
    Plugin.InAppBilling.Abstractions.InAppBillingPurchaseException: You are not connected to the Google Play App store.

Sign In or Register to comment.