peitschie commented on issue #613:
URL: https://github.com/apache/cordova-ios/issues/613#issuecomment-1165156843
Adding to the above, the following snippet can be used inside the context to
get the `projectName` dynamically:
```
const { ConfigParser } = context.requireCordovaModule("cordova-common");
const appConfig = new ConfigParser(path.resolve(context.opts.projectRoot,
"config.xml"));
const projectName = appConfig.name();
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]