Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@ionic-native/in-app-purchase-2 isnt compatible with billingclient v5 as required by Google to update apps #4747

Closed
1 of 3 tasks
DexterHuang opened this issue Mar 6, 2024 · 1 comment

Comments

@DexterHuang
Copy link

DexterHuang commented Mar 6, 2024

I'm submitting a ... (check one with "x")

Current behavior:
when using "@ionic-native/in-app-purchase-2": "^5.36.0" and "cordova-plugin-purchase": "^13.10.1"
the in-app purchase feature will fail to start for android
the log from android studio states:
Native: tried calling InAppPurchase2.applicationUsername, but the InAppPurchase2 plugin is not installed
seems like if we use the newer (v5 billing library which is required by PlayStore) by upgrading to "cordova-plugin-purchase": "^13.10.1" it will not work, downgrading to "cordova-plugin-purchase": "^11.0.0" works, but its using billing client v4 which is not allowed to upload to playstore anymore

Expected behavior:
cordova-plugin-purchase should work with "cordova-plugin-purchase": "^13.10.1" (billingclient v5)

Steps to reproduce:
npm i @ionic-native/in-app-purchase-2@^5.36.0 cordova-plugin-purchase@13.10.1
and try to initiate in-app-purchase-2 it will fail

Other information:
I understand we could change the code to use the cordova plugin directly, but the whole point of this wrapper is so what we don't have to.

hope we could update @ionic-native/in-app-purchase-2 so it support the required version for Android, because as of now its unuseable if you want to put the app on store.

Copy link

github-actions bot commented May 8, 2024

There has been no recent activity and this issue has been marked inactive.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant