Ionic Android上的离子-带电容器的Angular :所有应用程序更新必须使用计费库版本4或更高版本,in-app-purchase-2

5w9g7ksd  于 2022-12-08  发布在  Ionic
关注(0)|答案(1)|浏览(146)

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:

  • Generate a signed bundle
    Actions on google play console:
  • Create new release with the signed bundle
    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:
  • Add these two lines in the build.graddle:app and in capacitor.build.graddle and in the capacitor-cordova-android-plugins/build.graddle:
dependencies {
      ....
      implementation "com.android.billingclient:billing:5.0.0"
  }

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

czq61nw1

czq61nw11#

您需要将cordova-plugin-purchase更新为11.0.0或更高版本(请参阅RELEASE_NOTES.md)。

相关问题