[Plugins] Construct2 Cordova Plugins

Post your completed addons to share with the community

Post » Sun Oct 18, 2015 11:53 am

roteam wrote:Hey I use your phonegap game plugin for google leaderboards and I get this error while exporting with Intel XDK.
Error: Plugin "cordova-plugin-game" failed to install.
@cranberrygame

I've got the same problem. I've also added the plugin to my intel XDK project and still nothing. For me it's the C2 plugin not building correctly. As the plugin to the Intel XDK project seems to work fine, but it's the plugin in my additions.xml that's not installing
Website Twitter Indie Developer
B
20
S
6
G
4
Posts: 206
Reputation: 2,954

Post » Sun Oct 18, 2015 2:20 pm

GSE wrote:@SamRock just updated my previous post. making some progress but actually a little bit dissapointed with all this

One of my other friend here told me that PhoneGap plugins have issues with new Crosswalk and might need upgraded to Cordova to be compatible with CW15.

Have you tried building with the push plugin? May be something else is the issue.

I had same problem.. it never told me what the issue was. I finally found the Google Anlytics plugin was the culprit :D
Create your own Isometric Runner Game using C2:

Image

Check out my game "Last of the Survivors":
Play Store
App Store
B
58
S
12
G
2
Posts: 419
Reputation: 5,341

Post » Mon Oct 19, 2015 6:40 am

@condolent try manually removing it form the additions.xml this worked for me with the push plugin but still can't make it work properlly )))
@SamRock i still can't win here ))) the push i'm using is cordova plugin, not phonegap.
all i've changed in the cranberrys example capx is keys taken from parse.
B
13
S
2
G
1
Posts: 25
Reputation: 961

Post » Mon Oct 19, 2015 8:00 am

@GSE Yeah, I noticed that if you have a plugin from cranberry in C2 and export it to intel XDK and implement the cordova plugin fitting, you don't need any code for the C2 plugins in additions.xml! For the push; you don't even need the C2 plugin, you only need the cordova plugin from cranberry and insert the script into your index.html file. Here's my script:
Code: Select all
<script>

var applicationId = "YOUR_PARSE_APPLICATIONID";
var clientKey = "YOUR_PARSE_CLIENTKEY";

document.addEventListener("deviceready", function(){

   window.parsepushnotification.setUp(applicationId, clientKey);
   
   //registerAsPushNotificationClient callback (called after setUp)
   window.parsepushnotification.onRegisterAsPushNotificationClientSucceeded = function() {
      //alert('onRegisterAsPushNotificationClientSucceeded');
   };
   window.parsepushnotification.onRegisterAsPushNotificationClientFailed = function() {
      alert('Push notification registration failed.');
   };   
}, false);
</script>

Make sure you insert that code into your index.html file and replace YOUR_PARSE_APPLICATIONID and YOUR_PARSE_CLIENTKEY with your own keys. Make sure it's inside the <body> tags!
Hope this everyone with installation issues with the parse plugin :)

If the build fails; make sure there's no other plugin interfering with the parse one!
Website Twitter Indie Developer
B
20
S
6
G
4
Posts: 206
Reputation: 2,954

Post » Mon Oct 19, 2015 10:05 am

@condolent your solution works... almost )))) removed plugin from c2, added your script with my keys in it, and....
i've come back to what i've had - builds made with cli 4.1.2 (tried all crosswalk versoins) fail to start and builds with 5.1.1 run but crash when i tap recived push or when app is not active.
if you have it running properly could you give me some more detailed info? guess i'm just missing something
B
13
S
2
G
1
Posts: 25
Reputation: 961

Post » Mon Oct 19, 2015 10:53 am

@GSE just realized that by putting the code in the index file, it will try to register the device each time it launches. Which is baaad, gave me alot of crash reports. Still in the process of finding a better solution, will come back to you when I do! If you got any ideas, I'll gladly read them!
Website Twitter Indie Developer
B
20
S
6
G
4
Posts: 206
Reputation: 2,954

Post » Wed Oct 28, 2015 7:13 am

Are you still supporting the plugin that allows the mobile phone to remain awake indefinitely while the app is running?
I'm seeking Narnia. Who wants to come with me! Aslan is on the move!
B
139
S
22
G
8
Posts: 777
Reputation: 14,830

Post » Sun Nov 01, 2015 1:12 pm

@cranberrygame

Hi, I tried to use Cranberry's plugins such as the Cordova Unity Ads, Cordova Vungle and Cordova Chartboost with Ludei Cordova Cloud. Every time Ludei Cordova Cloud goes to error. It's possible use Cranberry's video plugins with Ludei Cordova? Can you test for example Cordova Unity Ads + Ludei Cordova Cloud? Can you get it to work?
B
4
S
1
Posts: 49
Reputation: 452

Post » Wed Nov 04, 2015 8:20 am

@irina

no google places plugin
but have inappbrowser plugin.

@roteam

Tested
No error cordova-plugin-game xdk build

@irina

I am active still.

But can slow in plugin dev because I need to make games too.

@condolent

I tested xdk build.

But no build error.

Check this again: https://plus.google.com/102658703990850 ... S5jjEApJYV

@SamRock

All plugins work with xdk cordova 5.1.1 now.

And you say Google Anlytics plugin make error?
If so, you can request paid update.

@megapowerskills
@condolent
@GSE

Some one requested push plugin update.
So wait some time for fixing crashing bug.

@Rhindon

Yes, still support cordova plugins.

And you can use cranberrygame_CordovaPowerManagement_1.0.5 plugin to make your app remain awake.

@FMFM

do like following:

https://github.com/cranberrygame/cordov ... ads#cocoon
https://github.com/cranberrygame/cordov ... gle#cocoon
https://github.com/cranberrygame/cordov ... chartboost
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 Nov 10, 2015 6:45 am

something i dont understand, his website is down, his google play store is down, and WE have TO pay FOR EVERY PLUGIN???
here i see http://cranberrygame.github.io/?referrer=c2forum
"request_construct2_cordova_pluginsrequest_construct2_cordova_plugins
$5.00"

IF you click HERE

http://cranberrygame.github.io/request_cordova_plugin_paid_update/

its 10$ MORE FOR THE UPDATES???

wtf.... pay for a plugin AND THEN PAY for UPDATES???

Please can someone EXPLAIN this, because i don't get it, its the first time i see something like this...........
B
37
S
15
G
7
Posts: 1,680
Reputation: 9,612

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 3 guests