cordova-plugin-inapppurchase
cordova-plugin-inapppurchase copied to clipboard
Getting a "billing not initialized" error
Followed all the steps including the demo, when I try to call 'subscribe', I get a 'Billing not initialized" error. Any ideas? I've tried six different in-app purchase plugins now and none of them seem to work. I had hope for this one...
I had the same issue for Android and realised I did not add the manifest.json
to www
containing the public key.
If that is the case for you too try this:
- Get your base64 public key from Play Console > Development tools > Services & APIs
- Save that into a
manifest.json
file as per the plugin README - Create a webhook to copy the manifest.json to
www
folder on before_prepare
Hope that helps.
I had the same issue for Android and realised I did not add the
manifest.json
towww
containing the public key.If that is the case for you too try this:
- Get your base64 public key from Play Console > Development tools > Services & APIs
- Save that into a
manifest.json
file as per the plugin README- Create a webhook to copy the manifest.json to
www
folder on before_prepareHope that helps.
Hello,
Can you please provide me a example of copy hook, if you have the one or have used?
Thanks, Kunal Kakkad