[Plugins] Construct2 Cordova Plugins

Post your completed addons to share with the community

Post » Fri Sep 05, 2014 12:40 pm

armaldio wrote:For example is tested Phonegap File plugin, but it not work on preview.
Is it working only in test mode in intel XDK and export or it should work in preview ?
I'm a little bit confuse ^^


Phonegap File plugin (like all other Phonegap plugins) runs normally in the device or simulator not preview.

So build and run it on the device (recommended) or simulator.

Thanks
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 » Fri Sep 05, 2014 2:49 pm

russpuppy wrote:thanks for your quick reply @cranberrygame

I am running into an issue where "has product" is triggered as true even after I have cancelled the test order in my developer wallet merchant center. Do you know how the google servers work, if it takes a while for cancellations to go through or something? Or is this how it is intended to function?

edit: See "purchaseState" on this page: https://developers.google.com/android-p ... s/products - is it possible to get the purchase state to discern purchased orders from cancelled orders?


Russpuppy, even if you cancel an order in the Wallet, the order is still through for the user, you just don't get paid for it. That is how it works, you can't take it back from their device. :)

I suggest you keep it simple if you want to restore purchase.

If its not consumed, you can just check Has Product (which check on Google server if its there, if so, returns true) after store listing, then do whatever like set a global variable or something.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Fri Sep 05, 2014 5:28 pm

@Silverforce Thanks, that's the route I've decided to go. Simple is best
B
63
S
12
G
6
Posts: 456
Reputation: 8,969

Post » Fri Sep 05, 2014 6:57 pm

cranberrygame wrote:
armaldio wrote:For example is tested Phonegap File plugin, but it not work on preview.
Is it working only in test mode in intel XDK and export or it should work in preview ?
I'm a little bit confuse ^^


Phonegap File plugin (like all other Phonegap plugins) runs normally in the device or simulator not preview.

So build and run it on the device (recommended) or simulator.

Thanks


So it take a little more time to developp ^^'
Anyway, thanks for your answer and ALL your work ;)
http://armaldio.xyz - Image - Join now our Discord Server ;) - https://discord.gg/0eLPLj96B4tUr1D3

If you like my work you can donate some bucks ;)

Image
B
55
S
16
G
1
Posts: 245
Reputation: 5,648

Post » Fri Sep 05, 2014 6:58 pm

@cranberrygame
any news on google play leaderboards and achievements?
B
49
S
21
G
13
Posts: 174
Reputation: 10,212

Post » Fri Sep 05, 2014 9:20 pm

@Darth Crusher
Working on 50% progress
Wait with patience
Thanks!
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 » Fri Sep 05, 2014 9:47 pm

@cranberrygame
Cheers your a star
B
49
S
21
G
13
Posts: 174
Reputation: 10,212

Post » Sat Sep 06, 2014 2:12 am

Intel XDK should hire Cranberrygame. :)

He's pretty damn good.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Sat Sep 06, 2014 2:20 am

@Darth
@Silverforce

Thank you very much for cheering me!
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 » Sat Sep 06, 2014 3:59 pm

Is there anyway to display banner ads by LeadBolt using sdk rather than going the html route and using iframe?
ImageImage
Mr. Green - Platform/puzzle game out now!
B
25
S
7
G
1
Posts: 222
Reputation: 3,350

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 5 guests