If you've received this Play Console message: "We've detected this app uses an unsupported version of play billing". Here's the fix.
Table of Contents:
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.
if(window.strchfSettings === undefined) window.strchfSettings = {};
window.strchfSettings.stats = {url: "https://nami.storychief.io/en/quick-fix-unsupported-version-google-play-billing?id=1390215239&type=26",title: "[FIX] We’ve detected this app uses an unsupported version of play billing",id: "51b60849-ff21-4408-b48f-9543da3cae59"};
(function(d, s, id) {
var js, sjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {window.strchf.update(); return;}
js = d.createElement(s); js.id = id;
js.src = "https://d37oebn0w9ir6a.cloudfront.net/scripts/v0/strchf.js";
js.async = true;
sjs.parentNode.insertBefore(js, sjs);
}(document, 'script', 'storychief-jssdk'))