Android inapp-billing - find out API version

I am sure that I am using Inapp-billing v3 in my application ("IInAppBillingService.aidl" is v3, as far as I know - "IMarketBillingService.aidl" will be v2 according to Google documentation).

however, I received an email from google suggesting that I upgrade my application from v2 to v3, since at least one purchase was made using the old API in the last 3 months.

Also - I never had V2 in my application, so the old version should not be.

Is this a google bug, or is it one of my uses buying something using the old game store, so is some kind of support / compatibility mode activated?

Or am I mistaken and am I really using v2 api ?? How can I find out (for sure) which version I implemented?

This may be a stupid question, but the letter from google confused me ...

+6
source share
1 answer

I have the same email address and am confused by this.

I also use IInAppBillingService.aidl, and IABHelper has a launchPurchaseFlow method that calls getBuyIntent, with the first parameter being the version that is set to 3, so I'm sure I'm using v3.

The IABHelper that I use is populated with v3 checks and comments.

Suggest you check the same code snippet to make sure, and otherwise put it on Google.

+5
source

Source: https://habr.com/ru/post/975216/


All Articles