Skip to main content
Question

Google Play Billing Library

  • July 18, 2024
  • 1 reply
  • 238 views

Forum|alt.badge.img

My application uses RevenueCat 7.0.0, and it does not include the Google Play Billing Library. I received a message from the Play Console stating that it is necessary to have Google Play Billing Library version 6.0.1 or higher. How can I update my project to comply with this requirement? Is it enough to add the following dependency:

def billingVersion = 7.0.0

implementation "com.android.billingclient:billing:$billingVersion"

Do I need to make any additional changes to the code, or can I simply update RevenueCat and add this dependency?

This post has been closed for comments

1 reply

kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 364 replies
  • July 22, 2024

Hey @vladan-523d8a!

After updating the billing library version in your build.gradle file, the next step would be making sure that you aren’t using any of the APIs that have been deprecated or removed: https://developer.android.com/google/play/billing/migrate-gpblv7

If you didn’t previously have a version of the Billing Library at all, then it’s unlikely you’ll have much migration to do and can probably get by with just updating the dependency but could be worth a quick check in the migration guide linked above!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings