I am developing a cordova based app.
When I am trying to add this plugin I am getting this error
Error:Invalid package.json
https://github.com/poiuytrez/AndroidInAppBilling
I followed this
Here is my code
cordova plugin add C:/Users/xxxxx/fbapp/plugins/AndroidInAppBilling --variable BILLING_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxx"
I followed the steps below to make it work:
cordova plugin add C:\AndroidInAppBilling-master --variable BILLING_KEY="TEST_BILLING_KEY"
In your case it would have thrown the error: Error: Invalid package.json
because the exploded folder name is AndroidInAppBilling-master not AndroidInAppBilling
If you wanna use the same command to make it work, then rename the exploded folder to AndroidInAppBilling
.