Skip to main content

I am using Unity version 2021.3.29f1 and I am making subscription purchases with IAP version 4.12.2. IAP version supports android payment library version 6.2.1. So I am using RevenueCat sdk 6.10.0. When I try to get a build after sdk installation, I get an error as “com.android.build.gradle.internal.tasks.Workers$ActionFacade”. When I uninstall the SDK, the problem is solved. What should I do?

Hey @bayramali , 

 

Unity IAP doesn't work with version 6 of the purchases plugin so this is likely the issue you are seeing here. You will want to make sure to use version 5.3.0 of our plugin. This is due to incompatibilities with the version of BillingClient used by Unity IAP, the latest versions of the plugin won't work alongside Unity IAP until Unity IAP gets updated to BillingClient 6.x.x.


Hey @bayramali , 

 

Unity IAP doesn't work with version 6 of the purchases plugin so this is likely the issue you are seeing here. You will want to make sure to use version 5.3.0 of our plugin. This is due to incompatibilities with the version of BillingClient used by Unity IAP, the latest versions of the plugin won't work alongside Unity IAP until Unity IAP gets updated to BillingClient 6.x.x.

In August 2024 Unity brought support for IAP billing 6.2.1. I realized later that this is not related to the Gradle issue, thank you for your reply. If you update your technical documentation, it will be healthier for your customers who provide Unity integrations.


Hey @bayramali !

 

Thanks for that suggestion,  I will work on getting that updated! 

 

We are always working to improve the docs and appreciate this feedback. Let me know if you have any other questions!