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. Dismiss Notice

How to check which version of Billing Library Unity IAP uses for Android?

Discussion in 'Unity IAP' started by steve118, Feb 26, 2021.

  1. steve118

    steve118

    Joined:
    Jan 23, 2021
    Posts:
    58
    I've got an email today saying update your app to Google Play Billing Library 3 or newer. I was wondering which version of Billing Library the latest Unity IAP is using? How can I check that in the editor?
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    You can check your IAP version through menu Window/Unity IAP/IAP Updates... Any IAP version higher than 2.2.1 will have the v3 Google library. You'll want to use the latest Unity IAP 2.2.7 (Asset version) along with In App Purchasing library 2.2.2 (Package Manager).
     
  3. steve118

    steve118

    Joined:
    Jan 23, 2021
    Posts:
    58
    I'm already using Unity IAP 2.2.7 and App Purchasing library (In App Purchasing) 2.2.2.

    I don't know why I got that email, but it says: "Review all your apps to find which ones use AIDL or older billing libraries". Only one of my app uses Unity IAP, and since the Unity IAP I use is the latest, is it something related to AIDL? I don't know what AIDL is and how I can remove it from Unity IAP if there's.
     
  4. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    As the message states, you'll want to review ALL your previous builds. Remove any archived/previous versions from your Google Play test tracks, for example. But as you stated, this is your only IAP enabled release which is interesting. Can you provide the device logs to confirm the IAP version in the build? https://forum.unity.com/threads/how-to-capturing-device-logs-on-android.528680/
     
  5. steve118

    steve118

    Joined:
    Jan 23, 2021
    Posts:
    58
    It wasn't a long time since I use Unity IAP. Unity IAP was 2.2.7 and In App Purchasing was 2.2.2 always as far as I remember.

    Here's the log:


    Also, I didn't enter my Google Public Key since I'm not using Unity Analytics, but can it be related to that? (Unity IAP works without entering Google Public Key).
     
  6. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    No, it wouldn't be the Google key. So you have no other builds in test tracks? The log looks correct.
     
  7. steve118

    steve118

    Joined:
    Jan 23, 2021
    Posts:
    58
    I do, but they are not published (old versions). No-one can download them except me. Can that email be related to the old versions?
     
  8. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Yes! Any/all versions in test tracks. All versions/any previous builds. I guarantee that the Google reviewer can download them
     
    Last edited: Feb 26, 2021
    steve118 likes this.
  9. nicholasr

    nicholasr

    Unity Technologies

    Joined:
    Aug 15, 2015
    Posts:
    183
    steve118 likes this.