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

Resolved Old Google Play Billing Library Warning in Google Play Console

Discussion in 'Unity IAP' started by Only4gamers, Apr 17, 2021.

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

    Only4gamers

    Joined:
    Nov 8, 2019
    Posts:
    312
    Hello everyone,
    I am getting this warning in Google Play Console when I am updating my game:
    We've detected that this app is using an old version of Google Play Billing. By November 1, 2021, all app updates must use Billing Library version 3 or newer. Update to Billing Library 3 before this date. Learn More about Billing Library 3.

    I am using Unity 2019.4.21 (LTS) and In App Purchasing Package version 2.2.2 which is highest version available for this Unity Engine Version.

    Few days ago I updated my other game with same IAP Package v2.2.2 and didn't get this warning.

    Is IAP Package v2.2.2 have billing library version 3? Or I am getting this false warning?
     
    breban1 likes this.
  2. breban1

    breban1

    Joined:
    Jun 7, 2016
    Posts:
    194
    I have the same warning but using Unity 2018.4.34f1 (LTS) and IAP package v2.2.2 (current verified).

    Hoping we can get a definitive answer on how to resolve this.
     
    Only4gamers likes this.
  3. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Can you confirm which In App Purchasing library you are using, and also what version of the Asset store you are using (Window/Unity IAP/IAP Updates...)
     
    nicholasr likes this.
  4. breban1

    breban1

    Joined:
    Jun 7, 2016
    Posts:
    194
    Unity 2018.4.34f1 LTS

    In App Purchasing from Package Manager:

    upload_2021-4-19_14-29-35.png

    I don't see (Window/Unity IAP/IAP Updates...)

    My options under Window->Unity IAP are:
    Create IAP Button
    Clean Libraries for Migration to IAP Version 3
    Android
    Receipt Validation Obfuscator
    IAP Catalog

    Do I have to choose the "Clean Libraries" option?
     

    Attached Files:

  5. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    @breban1 You will want to upgrade to Unity 2019.4 or higher and use the latest IAP 3.0.2
     
  6. breban1

    breban1

    Joined:
    Jun 7, 2016
    Posts:
    194
    Darn, I was hoping that would be in 2018 LTS. Thanks @JeffDUnity3D
     
  7. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Update - Google Play Billing Library v3 is available in 2018 LTS. It requires two components: (1) Asset Store Unity IAP 2.2.0 unitypackage, or higher. (2) com.unity.purchasing@2.2.1 from the Package Manager, or higher.
     
    phong-genix and nicholasr like this.
  8. vivekrl43

    vivekrl43

    Joined:
    Apr 9, 2021
    Posts:
    1
    I can not see version 3 update there please help me to upgrade my iap version
     
  9. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    You install Unity IAP via Package Manager, the latest is 4.1.2. What version of Unity are you using?
     
  10. unity_3679FDD5A289FD852F87

    unity_3679FDD5A289FD852F87

    Joined:
    Jun 21, 2022
    Posts:
    2
    Hi Jeff, using version 4.1.5 of IAP. but I am still getting the same warning when I upload to the play store. I am using unity version 2020.2.2f1
     
    FlynnyMac likes this.
  11. breban1

    breban1

    Joined:
    Jun 7, 2016
    Posts:
    194
    You need to use at least Unity IAP v4.4.0 to get rid of Google Play Billing v4 warning.
     
  12. FlynnyMac

    FlynnyMac

    Joined:
    Aug 24, 2020
    Posts:
    10
    any update on this?
     
  13. AcidSheep

    AcidSheep

    Joined:
    Apr 13, 2015
    Posts:
    19
    I am experiencing the same issue.
    My app is on 2019.4 LTS and Unity In App Purchasing 4.1.5 is the highest available via Package Manager.

    Will 4.4.1 become available in the LTS versions as well?
     
    triple_why likes this.
  14. HamzaSheikh3334

    HamzaSheikh3334

    Joined:
    Aug 12, 2022
    Posts:
    4
    Same issue. now i'm going for 2020.3.33f1, hope this will solve the issue
     
  15. HamzaSheikh3334

    HamzaSheikh3334

    Joined:
    Aug 12, 2022
    Posts:
    4
    the 2019.4.26f1 support max iap 4.1.5 and that doesn,t work for play console
     
  16. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    As was mentioned, For GPBL v4 support you need IAP 4.4.0 or higher. Unity 2019 is no longer supported. If you don't see 4.4.0 in Package Manager, you can try editing manifest.json directly and restarting Unity.
     
  17. AcidSheep

    AcidSheep

    Joined:
    Apr 13, 2015
    Posts:
    19
    That's just... amazin. 2019.4 was the recommended stable Unity Version not even 1.5 years ago when I released the game. And now it's already unsupported? What does LongTermSupport even mean?

    (Sorry for venting, It's just the thought of having to upgrade Unity Versions (which is a hugely time-consuming task on its own) just so I can stay on the Store that frustrates me. No hard feelings. )
     
    Frolky and triple_why like this.
  18. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    LTS is generally a 2 year time frame, sorry for the confusion.
     
  19. AcidSheep

    AcidSheep

    Joined:
    Apr 13, 2015
    Posts:
    19
    Alright, thank you for the clarification. No worries
    ... to maintain (bugfix, small dlcs, etc) a mobile app, that is a tough limitation with how quickly the Android / iOS APIs change and force developers to update. But I understand it's a business decision. I'll stop derailing the thread now^^.

    Many thanks for the manifest workaround suggestion.
     
  20. Waz

    Waz

    Joined:
    May 1, 2010
    Posts:
    287
    Using Unity 2021.3.1f1, the Package Manager still only shows Unity IAP 4.1.5 as the latest version. Exactly how far forward do we need to move Unity to get a Unity IAP that supports Google's IAP API 4?
     
    triple_why likes this.
  21. triple_why

    triple_why

    Joined:
    Jun 9, 2018
    Posts:
    46
    Yep, there is a discrepancy at the documentation as well. According to the document*, Unity 2020.3+ supports Unity IAP v4.4 which supports Google Billing 4.0. But it seems that's not the case.

    upload_2022-9-25_16-14-36.png

    * https://docs.unity3d.com/Packages/com.unity.purchasing@4.4/manual/StoresSupported.html
     
  22. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    In Package Manager, choose "Add package by name..." and use "com.unity.purchasing" and it should grab the latest.
     
  23. zero4444

    zero4444

    Joined:
    Aug 14, 2017
    Posts:
    7
    This worked!!!! Tap "+" to add -> Select "Add package by name"; type "com.unity.purchasing"
     
    JeffDUnity3D likes this.
  24. Adeetheknights

    Adeetheknights

    Joined:
    May 23, 2018
    Posts:
    5
    hello Jeff,
    we are updating unity inapp version 4.4.1, and tried version 4.4.0, and create APK/AAB file. this plugins increase my APK/AAB file. is there any option to reduce size while using these plugin? size increase 5-8 mb
     
  25. Arnaud_Gorain

    Arnaud_Gorain

    Unity Technologies

    Joined:
    Jun 28, 2022
    Posts:
    167
    Hi @Adeetheknights,
    Unfortunately, it is currently not possible to reduce the size. You can find more information on this thread.
     
  26. Arnaud_Gorain

    Arnaud_Gorain

    Unity Technologies

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