[Plugins] Construct2 Cordova Plugins

Post your completed addons to share with the community

Post » Sun Nov 23, 2014 3:30 pm

stctr wrote:Nice no more adding plugins permissions in crosswalk. It's all automatic, so much better now. : )

Yea this is awesome
B
17
S
7
Posts: 360
Reputation: 2,202

Post » Sun Nov 23, 2014 4:46 pm

I made a short step by step guide to make Cranberry's IAP to work in Crosswalk for Android that solves the problem with google play saying: "To add in-app products, you need to add the BILLING permission to your APK."

I have struggled with this for days and this is how I got it to work:

https://www.scirra.com/tutorials/1286/how-to-get-iap-to-work-with-crosswalk-xdk
B
54
S
23
G
12
Posts: 747
Reputation: 11,910

Post » Sun Nov 23, 2014 6:39 pm

@stctr

Thanks

@fongka2

I got you aonther donation.
I'll check your php.
Sorry for late reply.

Thanks

@Anonnymitet

Thank you very much for your tutorial.

You are early bird.

This plugin is Updated much: see version number 2.0.x and now supports ios too.

So you need to update your tutorial after automatical installation (including BILLING permission, minify is now no matter) test.

Now all the plugins (including Phonegap IAP plugin) are automatically installed since c2 185 if you only create xdk project by "Xdk - +New Project - Import an Existing HTML5 Project"
as @stctr says

See more details about creating and building xdk project: https://dl.dropboxusercontent.com/u/186681453/howto/how_to_build_crosswalk_and_fix_build_error/index.html

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 » Wed Nov 26, 2014 11:52 am

fongka2 wrote:Updated your paypal.php
Now it will return payment price or payment failed message


Hi, fongka2

Updated Phonegap Paypal plugin.

see updated example (example_phonegappaypal_advanced_verify_payment id_requires client id.capx)
and your can use PhonegapPaypal.PaymentId, PhonegapPaypal.PaymentAmount, PhonegapPaypal.PaymentCurrency, PhonegapPaypal.PaymentShortDescription, PhonegapPaypal.PaymentCreateTime in both c2 and php

And you can use "HKD" instead of "USD" in c2 event sheet, so you probably need not get_rate_cache function in php.

Thanks for your patience and kind donation.
Sang Ki Kwon
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 » Wed Nov 26, 2014 12:12 pm

cranberrygame wrote:
fongka2 wrote:Updated your paypal.php
Now it will return payment price or payment failed message


Hi, fongka2

Updated Phonegap Paypal plugin.

see updated example (example_phonegappaypal_advanced_verify_payment id_requires client id.capx)
and your can use PhonegapPaypal.PaymentId, PhonegapPaypal.PaymentAmount, PhonegapPaypal.PaymentCurrency, PhonegapPaypal.PaymentShortDescription, PhonegapPaypal.PaymentCreateTime in both c2 and php

And you can use "HKD" instead of "USD" in c2 event sheet, so you probably need not get_rate_cache function in php.

Thanks for your patience and kind donation.
Sang Ki Kwon

Very niceee
THankyou!!
B
17
S
7
Posts: 360
Reputation: 2,202

Post » Wed Nov 26, 2014 12:22 pm

Anyway...Your camera plugin is still unstable
Always make the app crash etc..
(Like Galaxy S3 3G never can use camera plguin)
B
17
S
7
Posts: 360
Reputation: 2,202

Post » Thu Nov 27, 2014 2:40 pm

Html5: monetisation: ad plugin

LeadboltBannerJS and LeadboltFullScreenJS for html5 only work on devices and not desktop as far as i have managed to test it. Is this right or am i doing anything wrong?
B
4
S
1
Posts: 1
Reputation: 252

Post » Thu Nov 27, 2014 6:37 pm

@Dworf
Leadbolt ads only work on mobile devices
B
50
S
22
G
14
Posts: 174
Reputation: 10,842

Post » Fri Nov 28, 2014 3:56 am

@fongka2

Updated Phonegap Camera plugin.

Try it.
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 Nov 28, 2014 7:31 am

@Dworf
@Darth Crusher

For simplicity, integrated two plugins into one plugin as follows.

LeadboltBannerJS, Phonegap LeadboltBannerJS was deprecated ==> use LeadboltBanner (supports also Html5 website(desktop))
LeadboltFullScreenJS, Phonegap LeadboltFullScreenJS was deprecated ==> use LeadboltFullScreen (supports also Html5 website(desktop))

Phonegap Leadbolt: only works on mobile (android, ios)
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 0 guests