Fix #11005 by first installing plugins, and then adding the cordova platform android/ios, it will avoid errors due to plugins options declared in the config.xml.

This commit is contained in:
Renan Castro
2021-05-03 18:13:29 -03:00
parent 8c458636f1
commit cdb42dcf2c

View File

@@ -266,9 +266,9 @@ outdated platforms`);
builder.writeConfigXmlAndCopyResources();
builder.copyWWW(bundlePath);
this.ensurePlatformsAreSynchronized();
this.ensurePluginsAreSynchronized(pluginVersions,
builder.pluginsConfiguration);
builder.pluginsConfiguration);
this.ensurePlatformsAreSynchronized();
// Temporary workaround for Cordova iOS bug until
// https://issues.apache.org/jira/browse/CB-10885 is fixed