MCPcopy
hub / github.com/ionic-team/capacitor / editPlatforms

Function editPlatforms

cli/src/tasks/add.ts:135–141  ·  view source on GitHub ↗
(config: Config, platformName: string)

Source from the content-addressed store, hash-verified

133}
134
135async function editPlatforms(config: Config, platformName: string) {
136 if (platformName === config.ios.name) {
137 await editProjectSettingsIOS(config);
138 } else if (platformName === config.android.name) {
139 await editProjectSettingsAndroid(config);
140 }
141}
142
143function webWarning() {
144 logger.error(

Callers 1

addCommandFunction · 0.85

Calls 2

editProjectSettingsIOSFunction · 0.90

Tested by

no test coverage detected