Can I use third-party cordova plugins with C3 CloudCompiler?

Post » Fri Sep 15, 2017 12:07 am

I use C2C3AddonConverter by @blackhornet
on @cranberrygame 's cordova-plugin-game
https://www.npmjs.com/package/cordova-plugin-game
https://github.com/cranberrygame/cordova-plugin-game

Then I succesfully instal it to Construct 3 like addon.

Then I exported project like Cordova for Android in C3 exporter.
And in config.xml there are just default plugins (for iap and browser plugin).
<plugin name="construct-mobile-purchase" />
<plugin name="cordova-plugin-inappbrowser" />
<plugin name="cordova-plugin-whitelist" />
<plugin name="cordova-plugin-statusbar" />
<plugin name="cordova-custom-config" />

I expected one more line like:
<plugin name="cordova-plugin-game" />

If I add this and Compile game to apk by Construct Cloud Compiler, plugin didn't work.

So is there any way, how to use other Cordova plugins than defaults with Construct Compiler?
Or I am doing something wrong? @Ashley
B
20
S
4
G
1
Posts: 30
Reputation: 1,245

Post » Fri Sep 15, 2017 10:58 am

Third-party cordova plugins can be supported in the build service, but we maintain a whitelist of allowed plugins for security reasons. If you want a third-party cordova plugin to be considered for whitelisting, please file an issue.
Scirra Founder
B
402
S
238
G
89
Posts: 24,613
Reputation: 195,993

Post » Fri Sep 15, 2017 11:24 am

Ashley wrote:Third-party cordova plugins can be supported in the build service, but we maintain a whitelist of allowed plugins for security reasons. If you want a third-party cordova plugin to be considered for whitelisting, please file an issue.


I'm interested about that as well so few questions.

Is there a list of currently allowed plugins/whitelist avalable somewhere?

Do we have to provide the NPM name or is it possible with Github URL?

Can we code Github library dependency in the C3 plugin directly?
ImageImageImage
B
31
S
19
G
82
Posts: 1,037
Reputation: 46,203

Post » Fri Sep 15, 2017 11:44 am

It has to be available on npm. We don't have a list yet, but it's early days yet.
Scirra Founder
B
402
S
238
G
89
Posts: 24,613
Reputation: 195,993

Post » Fri Sep 15, 2017 1:32 pm

Ok :) thanks for response
B
20
S
4
G
1
Posts: 30
Reputation: 1,245


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests