I am using latest version of InApp Purchasing from package manager in Unity 2021.3.6f1 but when I am trying to upload app bundle on play console, I am getting this error:
We’ve detected this app uses an unsupported version of Play billing. Please upgrade to Billing Library version 3 or newer to publish this app.
I think library was already up to date. I uploaded an app bundle last time in April and there was no issue. I’d really appreciate a solution.
Fixed it by adding this in manifest.
<meta-data android:name="com.google.android.play.billingclient.version" android:value="4.0.0" />
I just cross checked the billing client aar and actually the meta data tag already exists within it. There must be something else leading to the issue.
If possible, give a try checking your merged manifest without adding the above meta data as it should exist.
Unity IAP 4.4.0 now includes Google Play Billing v4 and should include the proper tags. I generally check the game manifest by using Android Studio and selecting Build/Analyze APK…