Closed jkrysakowski closed 5 years ago
Fixed by installing cordova-support-google-services plugin and putting google-services.json in platforms/android/app/src.
Here is an instruction how to get google-services.json: https://support.google.com/firebase/answer/7015592?hl=en
I am also having this problem, but when I tried to install the cordova-support-google-services
plugin it says:
> cordova plugin add cordova-support-google-services
Installing "cordova-support-google-services" for android
Plugin doesn't support this project's cordova-android version. cordova-android: 9.0.0, failed version requirement: <9.0.0
Skipping 'cordova-support-google-services' for android
Adding cordova-support-google-services to package.json
Also, it seems that this repo is deprecated: https://github.com/chemerisuk/cordova-support-google-services.
Is there a way to fix this for android >9.0.0?
Any updates? when I use cc.fovea.cordova.purchase plugin, all are working perfectly. But after using cordova-plugin-purchase, plugin not installed error is firing.
Hello, under the same spell on Android with the cordova-plugin-purchase :13.1.5
Native: tried calling InAppPurchase2.when, but the InAppPurchase2 plugin is not installed. Install the InAppPurchase2 plugin: 'ionic cordova plugin add cordova-plugin-purchase' error: "plugin_not_installed"
Same here:
[capacitor] [info] Found 4 Cordova plugins for android: [capacitor] cordova-plugin-facebook-connect@3.2.0 [capacitor] cordova-plugin-googleplus@8.5.2 [capacitor] cordova-plugin-purchase@13.1.5 [capacitor] cordova-plugin-vibration@3.1.1
Msg: Native: tried calling InAppPurchase2.register, but the InAppPurchase2 plugin is not installed.
@luarfaria @mkeology I have resolved my issue by installing version 11 (cordova-plugin-purchase)
@ska-lbit It worked with version 11, thanks for the tip. Have a great new year!
@mkeology please take a look with:
"cordova-plugin-purchase": "^11.0.0",
Thank you for your replies and suggestion ;-)
I confirm "cordova-plugin-purchase": "^11.0.0" works, and with the lastest in-app-purchase-2 lib "@awesome-cordova-plugins/in-app-purchase-2": "^6.2.0". It just implies using the underlying com.android.billingclient:billing:4.0.0 for the moment.
"cordova-plugin-purchase": "^11.0.0" works well. Thank you everybody.
Seems like version 11 of "cordova-plugin-purchase" cannot be used on Android for the next 2 months. Play Market refers to deprecated billing API, take a look message from issue #1425, so this is not a solution anymore... =(
Seems like version 11 of "cordova-plugin-purchase" cannot be used on Android for the next 2 months. Play Market refers to deprecated billing API, take a look message from issue #1425, so this is not a solution anymore... =(
Is there any update on this since Google's Billing Library 4.0.0 will be deprecated from 1 nov 2023 on
@timenengwerda Yeah, as you can see in version 13, it's using billing v5 https://github.com/j3k0/cordova-plugin-purchase/blob/master/plugin.xml#L127, So just use a newer version.
@timenengwerda Yeah, as you can see in version 13, it's using billing v5 https://github.com/j3k0/cordova-plugin-purchase/blob/master/plugin.xml#L127, So just use a newer version.
@kurtiev Yeah, but the main issue with version 13 is that it's not working as you can read in this very thread.
Hi guys lm on IOS and still using old version 11 which is not working anymore "cordova-plugin-purchase": "^11.0.0", "@awesome-cordova-plugins/in-app-purchase-2": "^5.45.0",
How can l resolve this in app purchase 2 on IOS with the version 13?. Yourr assistance will be much appreciated.
Has anyone solved this issue? @bevinGithub did you find a solution?
Has anyone solved this issue? @bevinGithub did you find a solution?
https://github.com/j3k0/cordova-plugin-purchase/issues/934#issuecomment-1368220590
Has anyone solved this issue? @bevinGithub did you find a solution?
So your response is to downgrade to something from 2022?.... This plugin is still supported and kept up to date. How is there not a current solution?
Hi,
I try to use the plugin in Ionic 5 but I'm getting warnings:
Of course I installed the plugin.
I added some debug logs to node_modules/@ionic-native/core/decorators/common.js before the lines that prints warnings and I see that plugin reference is "store" and plugin instance created by calling
pluginInstance = getPlugin(pluginRef)
returns null.Any ideas how to fix it?