We'd benefit for having more information in the dynamic configuration. As it is now, for build steps, eas.json allows to setup environmental variables, but e.g. submit does not allow that.
This means that all required values need to be passed over env vars while calling the cli in every but the build step (which as mentioned, can be coded into eas.json).
We end up doing something like this:
EAS_BUILD_PROFILE=production npx eas submit -p android --profile production
so we can evaluate the profile in the dynamic configuration. But we are replicating the same info twice (error prone).
It would be preferably if either:
  • the cli already set up those values, if not set (EAS_CLI_PROFILE=prodcution, EAS_CLI_ACTION=submit, EAS_CLI_PROFILE=android, etc), so they can be evaluated in app.config.js as required)
  • the config passed to app.config.js is extended by those values:
    module.exports = (config) => {..., extra: {cli: { profile: android, profile: production, action: submit, ... }}}
Thank!