Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use env vars to customize build #9

Open
kendallroth opened this issue Feb 6, 2023 · 0 comments
Open

Use env vars to customize build #9

kendallroth opened this issue Feb 6, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@kendallroth
Copy link
Owner

kendallroth commented Feb 6, 2023

Description

Support using environment variables to customize the app's behaviour, as documented by Expo. Environment variables must be set in various locations depending on the workflow: development must run as part of expo npm command, builds must be present in appropriate channels in eas.json, and updates must be present as env variables. Variables can be accessed either in app.config.ts or from the expo-constants library (can use optional env.config.ts file wrapper).

Changes

  • Pass environment variables to builds in eas.json
  • Investigate passing environment variables in development
  • Access environment variables in env.config.ts (with defaults)
  • Investigate and document how to support env vars in updates
@kendallroth kendallroth added the enhancement New feature or request label Feb 6, 2023
@kendallroth kendallroth self-assigned this Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant