Is Official IAP plugin still used?

Discussion and feedback on Construct 2

Post » Fri Apr 15, 2016 3:59 pm

Hi I would like to know if there is anyone who uses an Official IAP plugin?

The problem with Official IAP is that it does not support consumable products and have problems with restoring purchases, but now it seems to have bigger problem. I just tried to test it out and couldn't make it work at all.

Problems with official IAP plugin:
1. It does not support consumable products
2. It has problems with restoring purchases
3. It does not support Base64-encoded RSA license key provided by the market
4. It does not request billing permissions
5. It looks like currently it does not work at all

Other plugins I know don't have those issues so I'm wondering if anyone is still using this plugin somehow or it's a dead one?

I just want to know which plugin do you use guys for your IAPs so I could implement and test MoModth modules to cover all what's needed.
- Cordova IAP (earlier Phonegap IAP)
- Cocoon InApps
- Official IAP
- some other?

Thanks!
ImageImageImage
B
33
S
19
G
82
Posts: 1,039
Reputation: 46,257

Post » Fri Apr 15, 2016 4:43 pm

I'm using official IAP - just as a "remove ads" button. Still in google play Alpha mode, but so far it is working just fine. Tested on Samsung Galaxy S3 and Sony Xperia Z2
ImageImageImageImage
B
159
S
67
G
43
Posts: 2,603
Reputation: 36,028

Post » Fri Apr 15, 2016 6:41 pm

Thanks for the reply @shinkan so I consider it as not dead one. Can you just tell which library do you use in IntelXDK for Official IAP plugin? Is it this one https://github.com/maxmoore14/AndroidInAppBilling.git or any other?
ImageImageImage
B
33
S
19
G
82
Posts: 1,039
Reputation: 46,257

Post » Fri Apr 15, 2016 7:05 pm

Image
ImageImageImageImage
B
159
S
67
G
43
Posts: 2,603
Reputation: 36,028

Post » Fri Apr 15, 2016 7:22 pm

So, the official plugin does work or doesn't? I'm about to use it so I am very interested to know.. :)
B
82
S
32
G
7
Posts: 281
Reputation: 10,695

Post » Fri Apr 15, 2016 7:31 pm

If it works for Shinkan then it works. I will do some more testing today with two other libraries as well.
ImageImageImage
B
33
S
19
G
82
Posts: 1,039
Reputation: 46,257

Post » Sat Apr 16, 2016 12:50 am

Made several tests. It works for me as well. Sorry for misunderstandings I was simply using the wrong lirbrary.

Still those points are valid.
Problems with official IAP plugin:
1. It does not support consumable products
2. It has problems with restoring purchases
3. It does not support Base64-encoded RSA license key provided by the market

Anyway it works for non consumables if you don't plan to restore purchases.
ImageImageImage
B
33
S
19
G
82
Posts: 1,039
Reputation: 46,257

Post » Sat Apr 16, 2016 1:52 pm

BackendFreak wrote:Made several tests. It works for me as well. Sorry for misunderstandings I was simply using the wrong lirbrary.

What library did you choose to make it work? The one @shinkan posted?
B
137
S
33
G
17
Posts: 1,560
Reputation: 20,802

Post » Sat Apr 16, 2016 2:18 pm

Well actually both mentioned above are practically the same. One is a fork of another.

Previously I tried without adding any cause it worked in the past, but later I ralized that earlier I wan't using WWW directory, so XDK imported it automatically from additions xml. Also tried with Cranberry library just to add billing request, but again obviously this won't work since lirbrary API is different.

Anyway it works.
ImageImageImage
B
33
S
19
G
82
Posts: 1,039
Reputation: 46,257

Post » Sun Apr 17, 2016 11:49 am

I'm using the official IAP plugin

With this Intel XDK plugin: ( https://github.com/j3k0/cordova-plugin-purchase )
Image

working perfect

Can you explain what you mean by "consumables not working" and "problems with restoring purchases"?

If a player bought something in one of my games and deletes the complete game and/or data, they are able to restore that item perfectly with this event for example
Image
B
25
S
11
G
9
Posts: 136
Reputation: 6,657

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 11 guests