If you received the following message from the Google Play Console, you are not alone:
We’ve detected this app uses an unsupported version of play billing
Chances are your app is on an unsupported version of Play Billing. Google announced that by November 1, 2021 all new apps and updates to existing apps must use Billing Library version 3 or newer.
Check your project’s build.gradle file. Apps must import Play Billing Library version 3.0.0 or higher. Please note, these dependencies would only show up for APKs that require the permission com.android.vending.BILLING.
If you are on the latest Play Billing Library but still see the message, you will need to check your AndroidManifest.xml. Ensure it contains an entry for com.google.android.play.billingclient.version
According to Google, the entry might not be present if the manifest attribute is being dropped during manifest merging. You can check your manifest merge settings.
If you are on Play Billing Library V1 / AIDL, Google has a migration guide for upgrading to Play Billing Library version 3. In short, there are major code changes you will need to make to your project.
Google regularly introduces new functionality and APIs as part of the Play Billing Library. In fact, upgrading to version 3 won’t mean you’ll never again see the message about an unsupported version of play billing.
You can future proof your Play Billing implementation. With Nami, we manage the Play Billing implementation and you get to focus on your app. No server-side code is required and the client SDK is extremely easy to adopt. Our generous free tier provides reasonable limits and lots of features not found in homegrown implementations.
StoreKit 2 refinements, App Store Server API notification history, IAP testing improvements, benchmarks in app analytics, and Apple Pay improvements. Everything you need to know about IAP payments and monetization from WWDC 2022.
Google Play Billing Library v5, subscription offers, LiveOps events, prepaid subscriptions & everything you need to know about IAPs and from Google I/O.