12

When attempting to publish my Xamarin Forms app, I get the following error from Google Play console

We've detected this app uses an unsupported version of Play billing. Please upgrade to Billing Library version 3 or newer to publish this app.

I don't use any billing library. I've tried updating all nuget dependencies, to no luck. How do I fix this error so I can publish my app?

BlueRaja - Danny Pflughoeft
  • 84,206
  • 33
  • 197
  • 283
  • https://stackoverflow.com/questions/56700332/what-is-we-ve-detected-that-your-app-is-using-an-old-version-of-the-google-play – Jason Nov 11 '21 at 22:41
  • 1
    @Jason Yes, I've seen that question. None of the answers there seem related. I have no linked APIs, I'm not hitting any google APIs in my app, I have no serverside component, and I'm not using any billing library. – BlueRaja - Danny Pflughoeft Nov 11 '21 at 22:43
  • Could you please check NuGet packages and Linker option? What packages are you using? – Yauheni Pakala Nov 11 '21 at 22:50
  • Based on doc https://developer.android.com/google/play/billing/deprecation-faq you can check deps in release build APK Analyzer. – Yauheni Pakala Nov 11 '21 at 22:53

3 Answers3

15

Apparently I had BILLING permissions set in my manifest. Removing these fixed the issue.

You can do this by right-clicking the project --> Properties --> Android Manifest --> Searching for BILLING under "Required Permissions" and unchecking it

Alternatively, open AndroidManifest.xml and delete the line

<uses-permission android:name="com.android.vending.BILLING" />
BlueRaja - Danny Pflughoeft
  • 84,206
  • 33
  • 197
  • 283
0

use this in your manifest application tag

<service android:name="com.google.firebase.messaging.MessageForwardingService" android:permission="android.permission.BIND_JOB_SERVICE" android:exported="false"></service>

and remove this : permission android:name="com.android.vending.BILLING"

renard
  • 11
  • 2
0

Add the below implementation app/build.gradle file. It solved my problem. The project was build using Flutter.

dependencies {
implementation 'com.android.billingclient:billing:4.0.0'

}

Devplanet
  • 770
  • 8
  • 7