ionic-frameworkin-app-purchasecapacitorplay-billing-librarygoogle-play-billing

Ionic - Angular with Capacitor on Android : All app updates must use Billing Library version 4 or newer. in-app-purchase-2


Version used: "@awesome-cordova-plugins/in-app-purchase-2": "^5.46.0",

Actions on Webstorm (ionic project) :

ionic build
npx cap sync
npx cap open android

Actions on Android Studio:

Actions on google play console:

Warning on google play : We've detected that this app is using an old version of Google Play Billing. By November 1, 2022, all app updates must use Billing Library version 4 or newer. Update to Billing Library 4 before this date.

What I tried without success:

What I want: How do I update the PlayBillingLibrary from ionic and have it be taken into account with Capacitor when i sync my app on android (npx cap sync) ?

Thanks in advance


Solution

  • You need to update cordova-plugin-purchase to version 11.0.0 or higher (see RELEASE_NOTES.md).