Invalid package's dependencies

Hi,
I am using unity 2018.4.15 and I wanted to upgrade IAP plugin to version 2.2.2. Documentation (Unity - Manual: In App Purchasing) says that this version is verified, so everything should be ok. However, when I’m trying to update IAP plugin in package manager window, it results with error:

The same issue occurs when I try to update to a lower wersion (eq. 2.1.1).
Could you help me to resolve this problem?

What version are you currently using? Can you test with a new/empty project and see if you get the same error?

Thank you for answer.
Currently I’m using version 2.0.6. I’ve checked and the same issue occurs when I create a new project.

2.0.6 is outdated and would not be accepted by the stores. Please either update IAP to at least 2.2.2 or upgrade Unity to Unity 2019.4 or above

I know, this is the reason why I’m trying to update this plugin. The problem is that I cannot update because of error described in the first post. Upgrade of unity is not an option.
I attached related error, displayed in package manager window.

I just launched a new project with Unity 2018.4.9f1. I went to the Services window and enabled IAP and clicked on the Import button. It installed IAP 2.3.0 for me without error and I was able to run the IAP demo scene.

It installed 2.3.0 or 2.0.3? When I created one more new project and enabled IAP in Services window, there was installed version 2.0.3 (image related). Moreover, version 2.3.0 is not displayed as available in package manager. Even the documentation (link in first post) says that version 2.2.2 is max for 2018.4. I’m a bit confused now.

No not Package Manager. Use the Services window as I described. A bit confusing, IAP on 2018 requires both an Asset version and Package Manager package. Follow my steps above exactly with a new project to confirm. You can check your version from menu Window/Unity IAP/IAP Updates…

Ok, so after updating in Services window the version displayed in “IAP Updates” window is 2.3.0.
But it is not clearly for me, what about IAP plugin version shown in package manager. Is it ok that its version is 2.0.6? I ask because I still cannot update to 2.2.2 because of error described in the first post.

Ah, sorry for the long path! I see what you mean. Yes, with Unity 2018 the highest supported Package Manager package is 2.0.6

Ok, so just to be sure, because you previously said:

I do not need to update IAP in package manager (2.0.6 is ok) and all I have to do to be accepted by the stores is to update IAP plugin using the Services window to 2.3.0 version?

Yes! 2.3.0 plus 2.0.6 includes Google Billing Library v3 so you’re good.

1 Like

It’s a great news!
Thank you very much for your help.