How do I finish the IAP plugin

Get help using Construct 2

Post » Tue Apr 12, 2016 4:26 pm

I'm using the IAP plugin on the android trying to get consumables working. I have done some digging around and it seems the IAP plugin isn't finished?This is what I mean, looking at some code:

Code: Select all
CordovaAndroidStore.prototype.supportsConsumables = function ()
{
   return false;
};


The phonegap/cordova plugin for android (com.mcm.plugins.androidinappbilling/www/inappbilling.js) seems to have the ability ready (again looking at the code)

Code: Select all
InAppBilling.prototype.consumePurchase = function (success, fail, productId) {
if (this.options.showLog) {
   log('consumePurchase called!');
}
return cordova.exec(success, fail, "InAppBillingPlugin", "consumePurchase", [productId]);
};


So why is this left out? Can someone please point me in the right direction on how to setup these events/actions in Construct 2? Or how to call these methods, etc.

Thanks in advance
B
4
S
1
G
1
Posts: 18
Reputation: 759

Post » Fri Jun 03, 2016 9:54 am

Let's give this one a bump. This "com.mcm.plugins.androidinappbilling" has been giving me a headache since this morning. When I finally found the plugin, it WON'T INSTALL!
Image Image Image
B
29
S
11
G
27
Posts: 729
Reputation: 16,995

Post » Tue Jun 07, 2016 8:28 am

did anyone find any solution for this ???
Image
B
36
S
13
G
1
Posts: 99
Reputation: 3,051


Return to How do I....?

Who is online

Users browsing this forum: Lancifer, Yahoo [Bot] and 4 guests