[Plugins] Construct2 Cordova Plugins

Post your completed addons to share with the community

Post » Mon Sep 08, 2014 8:08 am

If i'm gonna pay I need some documentation bro! a video or something. We aren't all programmers lol.
B
22
S
6
G
3
Posts: 194
Reputation: 5,950

Post » Mon Sep 08, 2014 8:35 am

Full instructions are included with the plugins and examples so you will find them easy to use.
B
50
S
22
G
14
Posts: 174
Reputation: 10,842

Post » Mon Sep 08, 2014 5:49 pm

I have a question for those using the IAP plugin.

How do you test purchases? For example, if I use one test user to buy the in app purchase, it will tell me that the user will always have the purchase whenever I restore purchases (even if I cancel the order). Do you create a Google new user account every time you want to re-test the purchase of an item?
B
63
S
12
G
6
Posts: 456
Reputation: 8,981

Post » Mon Sep 08, 2014 9:27 pm

@armaldio

Added the condition and redownload

New "Phonegap FileTransfer" plugin added, too.

@FredQ

If it's possible can I request the condition for Leadbolt Plugin... "On interstitial ad closed" please?
==> replied plugin-phonegap-related-plugins-crosswalk_p829453?#p829453

@Darth Crusher

Thanks

@russpuppy

How do you test purchases? For example, if I use one test user to buy the in app purchase, it will tell me that the user will always have the purchase whenever I restore purchases (even if I cancel the order). Do you create a Google new user account every time you want to re-test the purchase of an item?
==> replied plugin-phonegap-related-plugins-crosswalk_p829453?#p829453
Last edited by cranberrygame on Tue Sep 09, 2014 7:51 pm, edited 1 time in total.
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

Post » Tue Sep 09, 2014 12:12 am

russpuppy wrote:I have a question for those using the IAP plugin.

How do you test purchases? For example, if I use one test user to buy the in app purchase, it will tell me that the user will always have the purchase whenever I restore purchases (even if I cancel the order). Do you create a Google new user account every time you want to re-test the purchase of an item?


If you do not consume the purchase after On Purchase Completed, the user always retain the purchase for restoring.

To sell a consumable IAP, you must call to consume it else they cannot rebuy it again as the item is already present on their Google account.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Tue Sep 09, 2014 12:21 am

Anyone had any luck with the 'Share' plugin?

Whatsapp just gives me 'sharing failed, try again' message and Facebook opens the Facebook app to the 'What's on your mind screen' but doesn't post anything.

Anybody tried this?
ImageImage
Mr. Green - Platform/puzzle game out now!
B
25
S
7
G
1
Posts: 222
Reputation: 3,350

Post » Tue Sep 09, 2014 3:16 am

How well does the Phonegap FacebookPB plug-in work? Has anyone tried it?
B
5
Posts: 21
Reputation: 267

Post » Tue Sep 09, 2014 3:21 am

@Silverforce

Thanks for your reply to russpuppy.

In my thought, it seems not right "If you do not consume the purchase after On Purchase Completed, the user always retain the purchase for restoring".

Can you explain other wrapper's right IAP workflow?

@FredQ

Phonegap Share current version fixed almost bugs.
Download latest version again.
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

Post » Tue Sep 09, 2014 3:42 am

cranberrygame wrote:@Silverforce

Thanks for your reply to russpuppy.

In my thought, it seems not right "If you do not consume the purchase after On Purchase Completed, the user always retain the purchase for restoring".

Can you explain other wrapper's right IAP workflow?


That is how its meant to work.

A purchase not consumed is still on Google Server, so users are able to use the Restore Purchase option, or check for Has Product.

CocoonJS previously would automatically consume a purchase, which is why it could not Restore Purchase, they recently fixed it to no longer be auto-consumed but you had control over it with a consume product call.

Manual consume or finalize is the correct way to implement IAP plugins, since devs can code for consumable (potion/gems) or permanent (extra stages, bonus content, ad remove) IAPs.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Tue Sep 09, 2014 3:52 am

@Silverforce

Thanks for your quick reply

I say the point that even if non consumable IAPs are canceled, user has product still with restore.

In result, I want to know the following (russpuppy says):
Is it non normal (or bug) that user still has canceled IAPs?
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 2 guests