In App Purchases - Android Billing Library v3

Hello!

I’ve been using the in-app-purchase plugin (In App Purchase - Ionic Documentation) for several years without a problem. However, lately I’ve been getting a warning in Play Store Console stating that my app is not using the Billing Library v3 and that I won’t be able to post new updates starting November. It seems that if I uninstall the plugin, the warning is gone.

But if I try to look into the plugin, it seems as if it is indeed using Billing Library v3. Can anyone confirm?

Otherwise I may have to change to the in-app-purchase-2 plugin (In App Purchase 2 - Ionic Documentation), but it works soo differently than the previous one, I’m afraid I’m walking into more trouble.

Thanks in advance.

Here’s my ionic info:

Ionic:

Ionic CLI : 5.4.9
Ionic Framework : @ionic/angular 4.9.0
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.1.3
@ionic/angular-toolkit : 2.0.0

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0, ios 5.1.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.1, (and 10 other plugins)

Utility:

cordova-res : 0.10.0
native-run : 0.3.0

System:

Android SDK Tools : 26.1.1 (C:…\tools_r25.2.3-windows)
NodeJS : v12.18.3 (C:\Program Files\nodejs\node.exe)
npm : 6.11.3
OS : Windows 10

I would highly suggest in switching to “In App Purchase 2” as “In App Purchase” is no longer maintained - the repo has been archived. I know that doesn’t answer your initial question but just wanted to give a heads up.

1 Like

Try this → Starting August 2, 2021, all new apps using Play Billing must use Billing Library version 3 or newer · Issue #1 · budiselic/cordova-plugin-inapppurchase-fixed · GitHub

IMPORTANT NOTE: I used “classic” plugin GitHub - AlexDisler/cordova-plugin-inapppurchase: A lightweight cordova plugin for in app purchases on iOS/Android, not this repository