Search Unity

Resolved Google Play Billing Library v4

Discussion in 'Unity IAP' started by leventliler, Sep 3, 2022.

Thread Status:
Not open for further replies.
  1. leventliler

    leventliler

    Joined:
    Jan 20, 2014
    Posts:
    4
    This app was found to be using an outdated version of Google Play Billing. Beginning November 1, 2022, all app updates must use Billing Library 4 or later.

    I am using Google Play Billing Library v3. How do i update i couldn't find.
     
  2. tjemsclxm01

    tjemsclxm01

    Joined:
    Mar 21, 2022
    Posts:
    3
    Unity IAP 4.4.1 is now available. Install via the Package Manager.

    Please note that for Unity 2021+, until this package is considered "verified" for your version of the Unity Editor, you may need to specify the version manually to install it explicitly. Unity 2021 Package Manager > "+" > Add package by name ... > com.unity.purchasing > 4.4.0. Also note that this is a fully supported package, regardless of our "verified" flag.

    See documentation: https://docs.unity3d.com/Packages/com.unity.purchasing@4.4/manual/index.html

    Changes: https://docs.unity3d.com/Packages/com.unity.purchasing@4.4/changelog/CHANGELOG.html


    [4.4.1] - 2022-08-11
    Fixed
    • GooglePlay - Fixed NullReferenceException and ArgumentException that would rarely occur due to a concurrency issue introduced in Unity IAP 4.2.0
    • Amazon - Set android:export to true to support Android API level 31+
     
  3. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    You need Unity IAP 4.4.0 or above for Google Play Billing Library v4
     
  4. Tx

    Tx

    Joined:
    Jul 4, 2012
    Posts:
    108
    My project is using Unity 2019.4.30f1 and, as far as I see in the update package manager UI, I can upgrade till IAP 4.1.5.
    Is version 4.4.0 planned on Unity 2019 or I have to upgrade to Unity 2020?

    Thanks.
     
  5. Tx

    Tx

    Joined:
    Jul 4, 2012
    Posts:
    108
  6. John_Corbett

    John_Corbett

    Joined:
    May 17, 2019
    Posts:
    151
    Hi @Tx,

    Unfortunately Unity is no longer supporting 2019.4, and therefore we no longer have QA support for packages on that editor.

    We've also added some C# code that the 2019.4 compiler didn't support by default and are continuing to do so.

    Sorry for your inconvenience.
     
    Tx likes this.
  7. vulamavi2

    vulamavi2

    Joined:
    Feb 4, 2019
    Posts:
    4
    Dear @Tx,
    i did custom a library to use billing-4.0.0 to use in unity 2019 or lower. Because cost for upgrade my project to new unity version is expensive.
    Hope help someone.
     

    Attached Files:

    RaL, Nolex and blevok like this.
  8. Arnaud_Gorain

    Arnaud_Gorain

    Unity Technologies

    Joined:
    Jun 28, 2022
    Posts:
    183
    This thread is now closed. Feel free to reach out via a new thread if you encounter further issues.
    Thanks!
     
Thread Status:
Not open for further replies.