[Plugins] Construct2 Cordova Plugins

Post your completed addons to share with the community

Post » Wed Oct 22, 2014 6:27 pm

cranberrygame wrote:@jay333

1.

I know that you have 4 other Construct 2 Demo Projects. Does it matter which one I use?
==> no matter Thanks :)

2.

Did you create new xdk projec with "Start with a Blank Project" ? Yes, and then imported from Construct 2 'Android' Export .

3.

Did you do exactly this url?

Code: Select all
https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.iap#592f332aee5c88909992b36ccc33a1c15bbdd014
Yep :)
4.

Edit:

If not solved by these, try to update xdk to recent version. Just upgraded from ver 1332 to 1494, and received the same Build Error: 'Unable to build. Please verify that you are connected to the internet and try again. Object reference not set to an instance of an object.'. It shouldn't be an internet error since I am still able to build another project right after.


To not take up your time much longer, perhaps is there a 'working' XDK project folder (zipped) that I can look at to compare 'xdk' files, etc?

I assume I'm the only one with this build problem using the IAP-Plugin with Crosswalk for Android?

Btw, I just came back from the HTML5 Dev Conference at San Francisco, and I just met the Intel XDK Management/Engineers at their booth. They were impressed by my students' project on Google Play: https://play.google.com/store/apps/details?id=org.EncourageAndEmpower.IttyBittyJrAtMutantMadness (resending the link since it failed last time). Looking forward to any constructive feedback for our game-app as well as this IAP troubleshooting. :)

Again thanks for your time and patience. :) Jason
B
12
S
1
Posts: 22
Reputation: 678

Post » Thu Oct 23, 2014 12:15 am

@jay333

I imported your project you provided.

And removed iap plugin in the Third-Party Plugins.

Sitll got error message (Internet connection...)

Your project's html directory structure is weired.

htmls must exist in www folder as below.

https://dl.dropboxusercontent.com/u/186 ... 091140.png

Please when create xdk project, only copy c2 expoerted htmls to www folder.

Cheer up and Try it

Thanks
Last edited by cranberrygame on Thu Oct 23, 2014 3:22 am, 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 » Thu Oct 23, 2014 1:12 am

@cranberrygame

For the dialog plugin. I think there is a problem. If the dialog is displayed(Confirm type "Yes" "No") and I press the back button, the dialog will be closed but nothing is triggered. Is it possible that when the dialog is displayed or shown if the user press back button, the "No" condition will be triggered ? Or at least a "dialog closed" is triggered ?
B
79
S
22
G
14
Posts: 389
Reputation: 12,324

Post » Thu Oct 23, 2014 3:20 am

@tumira

Now Dialog triggers "On confirm No clicked" event when back button.

And added Prompt action feature (get message from user)

Download the plugin again. (Native plugin url was also changed)

Thanks for your suggestion.
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 » Thu Oct 23, 2014 3:51 am

@cranberrygame

Thanks. It is working now.
B
79
S
22
G
14
Posts: 389
Reputation: 12,324

Post » Thu Oct 23, 2014 4:57 pm

@tharindutpd

Made WebSQLDatabase.

Go to this post and download: plugin-websqldatabase_p847916?#p847916

@tumira

You are welcome
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 » Thu Oct 23, 2014 6:25 pm

cranberrygame wrote:@tharindutpd

Made WebSQLDatabase.

Go to this post and download: plugin-websqldatabase_p847916?#p847916

@tumira

You are welcome



WOW!!!!. Thank you very much. :)
Image
B
23
S
2
G
1
Posts: 46
Reputation: 1,087

Post » Thu Oct 23, 2014 11:38 pm

@tharindutpd

You are welcome
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 Oct 24, 2014 4:07 am

@cranberrygame

I'm producing for iOS, but soon I will make a version for Android.
I'm using ad to monetize .
B
5
Posts: 20
Reputation: 263

Post » Fri Oct 24, 2014 4:40 am

@cranberrygame

Hi, can you make a phonegap Paypal plugin for construct2? It will be really helpful.
Thank you.
B
4
Posts: 18
Reputation: 286

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 8 guests