Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Bug Please upgrade to Billing Library version 3 or newer to publish this app

Discussion in 'Unity IAP' started by rizwanbabar693, Jul 31, 2022.

  1. rizwanbabar693

    rizwanbabar693

    Joined:
    Jul 15, 2016
    Posts:
    15
    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.
     
  2. rizwanbabar693

    rizwanbabar693

    Joined:
    Jul 15, 2016
    Posts:
    15
    Fixed it by adding this in manifest.
    <meta-data android:name="com.google.android.play.billingclient.version" android:value="4.0.0" />
     
  3. Voxel-Busters

    Voxel-Busters

    Joined:
    Feb 25, 2015
    Posts:
    1,834
    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.

    Xnapper-2022-08-01-09.59.13.png
     
  4. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    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...
     
    Voxel-Busters likes this.