config.xml with Cordova CLI

Discussion and feedback on Construct 2

Post » Fri Apr 22, 2016 10:18 am

Hi,

C2 > Export project > Cordova

We get config.xml in folder export.

Cordova CLI > cordova create idproject

We get config.xml at root folder.

cordova folder project
-- hooks
-- platforms
-- plugins
-- www
-- config.xml

If we replace Cordova/config.xml by the C2/config.xml, when we build the android app, we have Error.

I'm wondering if we must edit manually the config.xml each time, or it's possible to use the config.xml made by the export in C2 ?
B
18
S
4
Posts: 84
Reputation: 2,085

Post » Fri Apr 22, 2016 11:40 am

The config.xml file C2 exports is designed for PhoneGap Build. The Cordova CLI is not an officially supported option - you can use it, but you need to configure it yourself, C2 does not provide anything for that.
Scirra Founder
B
398
S
236
G
88
Posts: 24,428
Reputation: 194,600

Post » Fri Apr 22, 2016 11:49 am

Ok, I understand.
It's possible you take a look on viewtopic.php?f=146&t=171674&p=1031249#p1031249 ?
Thanks Ashley
B
18
S
4
Posts: 84
Reputation: 2,085


Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 22 guests